@@ -60,37 +60,38 @@ will be passed to the JDBC driver as connection arguments for JDBC drivers that
6060Data Types Mapping
6161----------
6262
63- | Oracle Data Type | CDAP Schema Data Type | Comment |
64- | ------------------------------ | --------------------- | ------------------------------------------------------ |
65- | VARCHAR2 | string | |
66- | NVARCHAR2 | string | |
67- | VARCHAR | string | |
68- | NUMBER | string | For NUMBER types defined without a precision and scale |
69- | NUMBER | decimal | For NUMBER types with a defined precision and scale |
70- | FLOAT | double | |
71- | LONG | string | |
72- | DATE | timestamp | |
73- | BINARY_FLOAT | float | |
74- | BINARY_DOUBLE | double | |
75- | TIMESTAMP | timestamp | |
76- | TIMESTAMP WITH TIME ZONE | string | Timestamp string in the following format: |
77- | | | "2019-07-15 15:57:46.65 GMT" |
78- | TIMESTAMP WITH LOCAL TIME ZONE | timestamp | |
79- | INTERVAL YEAR TO MONTH | string | Oracle's 'INTERVAL YEAR TO MONTH' literal in the |
80- | | | standard format: "year[-month]" |
81- | INTERVAL DAY TO SECOND | string | Oracle's 'INTERVAL DAY TO SECOND' literal in the |
82- | | | standard format: |
83- | | | "[day] [hour][:minutes][:seconds[.milliseconds]" |
84- | RAW | bytes | |
85- | LONG RAW | bytes | |
86- | ROWID | string | |
87- | UROWID | string | |
88- | CHAR | string | |
89- | NCHAR | string | |
90- | CLOB | string | |
91- | NCLOB | string | |
92- | BLOB | bytes | |
93- | BFILE | | BFILE data type is not supported for the sink |
63+ | Oracle Data Type | CDAP Schema Data Type | Comment |
64+ | ------------------------------ | --------------------- | -----------------------------------------------------------|
65+ | VARCHAR2 | string | |
66+ | NVARCHAR2 | string | |
67+ | VARCHAR | string | |
68+ | NUMBER | string | For NUMBER types defined without a precision and scale. |
69+ | | | Users can manually set output schema to map it to Decimal. |
70+ | NUMBER | decimal | For NUMBER types defined with a precision and scale. |
71+ | FLOAT | double | |
72+ | LONG | string | |
73+ | DATE | timestamp | |
74+ | BINARY_FLOAT | float | |
75+ | BINARY_DOUBLE | double | |
76+ | TIMESTAMP | timestamp | |
77+ | TIMESTAMP WITH TIME ZONE | string | Timestamp string in the following format: |
78+ | | | "2019-07-15 15:57:46.65 GMT" |
79+ | TIMESTAMP WITH LOCAL TIME ZONE | timestamp | |
80+ | INTERVAL YEAR TO MONTH | string | Oracle's 'INTERVAL YEAR TO MONTH' literal in the |
81+ | | | standard format: "year[-month]" |
82+ | INTERVAL DAY TO SECOND | string | Oracle's 'INTERVAL DAY TO SECOND' literal in the |
83+ | | | standard format: |
84+ | | | "[day] [hour][:minutes][:seconds[.milliseconds]" |
85+ | RAW | bytes | |
86+ | LONG RAW | bytes | |
87+ | ROWID | string | |
88+ | UROWID | string | |
89+ | CHAR | string | |
90+ | NCHAR | string | |
91+ | CLOB | string | |
92+ | NCLOB | string | |
93+ | BLOB | bytes | |
94+ | BFILE | | BFILE data type is not supported for the sink |
9495
9596
9697Example
0 commit comments