CsvColumnDataType

  • This item, CSVColumnDataType, is deprecated and should no longer be used.

  • Developers should utilize ColumnDataType instead of CSVColumnDataType for specifying column types.

  • CSVColumnDataType included options for treating columns as strings, numeric, or long data types.

  • Using the default CSV_COLUMN_DATA_TYPE_UNSPECIFIED enum value has no effect and should be avoided.

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.