ColumnType#
from tmlt.analytics import ColumnType
- class tmlt.analytics.ColumnType(value)#
Bases:
Enum
The supported SQL92 column types used by Tumult Analytics.
Support for Spark data types is currently as follows.
Spark type
Corresponding Tumult Analytics type
INTEGER
INTEGER
DECIMAL
DECIMAL
VARCHAR
DATE
TIMESTAMP
Other Spark types
Not supported in Tumult Analytics
Columns with unsupported types must be removed or converted to supported ones before loading the data into a
Session
.- INTEGER = <class 'int'>#
Integer column type.
- DECIMAL = <class 'float'>#
Floating-point column type.
- VARCHAR = <class 'str'>#
String column type.
- DATE = <class 'datetime.date'>#
Date column type.
- TIMESTAMP = <class 'datetime.datetime'>#
Timestamp column type.