Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

+
MS SQL Data TypeCDAP Schema Data TypeSupportComment
BIGINTSchema.Type.LONG+
BINARYSchema.Type.BYTES+
BITSchema.Type.BOOLEAN+
CHARSchema.Type.STRING+
DATESchema.LogicalType.DATE+
DATETIMESchema.LogicalType.TIMESTAMP_MICROS+
DATETIME2Schema.LogicalType.TIMESTAMP_MICROS+
DATETIMEOFFSETSchema.Type.STRING*
DECIMALSchema.LogicalType.DECIMAL+
FLOATSchema.Type.DOUBLE+
IMAGESchema.Type.BYTES+
INTSchema.Type.INT+
MONEYSchema.LogicalType.DECIMAL+
NCHARSchema.Type.STRING+
NTEXTSchema.Type.STRING+
NUMERICSchema.LogicalType.DECIMAL+
NVARCHARSchema.Type.STRING+
NVARCHAR(MAX)Schema.Type.STRING+
REALSchema.Type.FLOAT+
SMALLDATETIMESchema.LogicalType.TIMESTAMP_MICROS+
SMALLINTSchema.Type.INT+
SMALLMONEYSchema.LogicalType.DECIMAL+
TEXTSchema.Type.STRING+
TIMESchema.LogicalType.TIME_MICROS*TIME data type has the accuracy of 100 nanoseconds which can not be supported using TIME_MICROS logical type.
TIMESTAMPSchema.Type.BYTES*TIMESTAMP is the synonym for the ROWVERSION data type, values of which are automatically generated. Thus TIMESTAMP can not be supported by Sink plugin.
TINYINTSchema.Type.INT+
UDTDepends on basic type+UDT will be mapped as basic type if it's an alias of this type. CLR UDT mapped to Schema.Type.BYTES.
UNIQUEIDENTIFIERSchema.Type.STRING+
VARBINARYSchema.Type.BYTES+
VARBINARY(MAX)Schema.Type.BYTES+
VARCHARSchema.Type.STRING+
VARCHAR(MAX)Schema.Type.STRING+
XMLSchema.Type.STRING+
SQLVARIANTSchema.Type.STRING*
GEOMETRYSchema.Type.BYTES+
GEOGRAPHYSchema.Type.BYTES+

...