Use ColumnDataType instead
Enums | |
---|---|
CSV_COLUMN_DATA_TYPE_UNSPECIFIED |
Default enum value, no effect on types. Do not use. |
CSV_COLUMN_DATA_TYPE_STRING |
The associated column should be treated as a string in the same encoding as the CSV file (useful if the column is auto-detected as numeric). |
CSV_COLUMN_DATA_TYPE_NUMERIC |
The associated column should be treated as a numeric (useful for columns with no data, which become strings by default). |
CSV_COLUMN_DATA_TYPE_LONG |
The associated column should be treated as a long. |