rename_col¶
Type of operation: Projection
Description¶
Include all columns while renaming the specified columns from the input dataset to the output dataset. Argument structure is newname:oldname. Includes necessary primary key fields and time fields needed for downstream analysis.
Usage¶
rename_col columnbinding ...
Argument |
Type |
Required |
Multiple |
---|---|---|---|
columnbinding |
expression |
Required |
Can be multiple |
Accelerable¶
rename_col is always accelerable if the input is accelerable. A dataset that only uses accelerable verbs can be accelerated, making queries on the dataset respond faster.
Examples¶
rename_col event_time:input_time, uid:sourceHost, status_code:httpStatus
Renames the input columns to ‘event_time’, ‘uid’, ‘status_code’ while still retaining the rest of the columns in the table
Aliases¶
colrename
(deprecated)