Wrangler: set-type directive should support decimal type
Description
Release Notes
None
Activity
Show:

Robin Rielley May 24, 2021 at 11:50 PM
This was implemented
Fixed
Pinned fields
Click on the next to a field label to start pinning.
Details
Details
Assignee

Reporter

Labels
Affects versions
Components
Fix versions
Priority
Created June 10, 2020 at 8:09 PM
Updated May 24, 2021 at 11:50 PM
Resolved May 24, 2021 at 11:50 PM
The directive set-type doesn't support type "decimal". For example, set-type :col1 decimal, results in an error:
Error encountered while executing 'set-type' : Column 'hrlywage' is of unsupported type 'DECIMAL'. Supported types are: int, short, long, double, boolean, string, bytes
Also, the supported types should appear in the CLI description text to avoid customer frustration.
The current CLI description should read:
Converts the data type of a column. Supported types are: int, short, long, double, boolean, string, and bytes.
The text currently reads:
Converting data type of a column.
The other directives start with Sets, Converts, etc...