rename_col
Aliases: colrename (deprecated).
rename_col [columnbinding: expression]+
Renames a column.
rename_col will include all existing columns in the dataset 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.
Categories
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
Updated 8 days ago