diff --git a/oracle-plugin/docs/Oracle-batchsink.md b/oracle-plugin/docs/Oracle-batchsink.md index ea4491a6e..44e388611 100644 --- a/oracle-plugin/docs/Oracle-batchsink.md +++ b/oracle-plugin/docs/Oracle-batchsink.md @@ -59,39 +59,33 @@ will be passed to the JDBC driver as connection arguments for JDBC drivers that Data Types Mapping ---------- - - | Oracle Data Type | CDAP Schema Data Type | Comment | - | ------------------------------ | --------------------- | -----------------------------------------------------------| - | VARCHAR2 | string | | - | NVARCHAR2 | string | | - | VARCHAR | string | | - | NUMBER | string | For NUMBER types defined without a precision and scale. | - | | | Users can manually set output schema to map it to Decimal. | - | NUMBER | decimal | For NUMBER types defined with a precision and scale. | - | FLOAT | double | | - | LONG | string | | - | DATE | timestamp | | - | BINARY_FLOAT | float | | - | BINARY_DOUBLE | double | | - | TIMESTAMP | timestamp | | - | TIMESTAMP WITH TIME ZONE | string | Timestamp string in the following format: | - | | | "2019-07-15 15:57:46.65 GMT" | - | TIMESTAMP WITH LOCAL TIME ZONE | timestamp | | - | INTERVAL YEAR TO MONTH | string | Oracle's 'INTERVAL YEAR TO MONTH' literal in the | - | | | standard format: "year[-month]" | - | INTERVAL DAY TO SECOND | string | Oracle's 'INTERVAL DAY TO SECOND' literal in the | - | | | standard format: | - | | | "[day] [hour][:minutes][:seconds[.milliseconds]" | - | RAW | bytes | | - | LONG RAW | bytes | | - | ROWID | string | | - | UROWID | string | | - | CHAR | string | | - | NCHAR | string | | - | CLOB | string | | - | NCLOB | string | | - | BLOB | bytes | | - | BFILE | | BFILE data type is not supported for the sink | +| Oracle Data Type | CDAP Schema Data Type | Comment | +| ------------------------------ |-----------------------|--------------------------------------------------------------------------------------------------------------------| +| VARCHAR2 | string | | +| NVARCHAR2 | string | | +| VARCHAR | string | | +| NUMBER | string | For NUMBER types defined without a precision and scale. Users can manually set output schema to map it to Decimal. | +| NUMBER | decimal | For NUMBER types defined with a precision and scale. | +| FLOAT | double | | +| LONG | string | | +| DATE | timestamp | | +| BINARY_FLOAT | float | | +| BINARY_DOUBLE | double | | +| TIMESTAMP | datetime | Users can manually set output schema to map it to Timestamp. | +| TIMESTAMP WITH TIME ZONE | timestamp | Users can manually set output schema to map it to String. | +| TIMESTAMP WITH LOCAL TIME ZONE | datetime | Users can manually set output schema to map it to Timestamp. | +| INTERVAL YEAR TO MONTH | string | Oracle's 'INTERVAL YEAR TO MONTH' literal in the standard format: "year[-month]" | +| INTERVAL DAY TO SECOND | string | Oracle's 'INTERVAL DAY TO SECOND' literal in the standard format: "[day] [hour][:minutes][:seconds[.milliseconds]" | +| RAW | bytes | | +| LONG RAW | bytes | | +| ROWID | string | | +| UROWID | string | | +| CHAR | string | | +| NCHAR | string | | +| CLOB | string | | +| NCLOB | string | | +| BLOB | bytes | | +| BFILE | | BFILE data type is not supported for the sink | Example diff --git a/oracle-plugin/docs/Oracle-batchsource.md b/oracle-plugin/docs/Oracle-batchsource.md index 33a381645..860801d19 100644 --- a/oracle-plugin/docs/Oracle-batchsource.md +++ b/oracle-plugin/docs/Oracle-batchsource.md @@ -73,38 +73,33 @@ with the tradeoff of higher memory usage. Data Types Mapping ---------- - - | Oracle Data Type | CDAP Schema Data Type | Comment | - | ------------------------------ | --------------------- | -----------------------------------------------------------| - | VARCHAR2 | string | | - | NVARCHAR2 | string | | - | VARCHAR | string | | - | NUMBER | string | For NUMBER types defined without a precision and scale. | - | | | Users can manually set output schema to map it to Decimal. | - | NUMBER | decimal | For NUMBER types defined with a precision and scale. | - | FLOAT | double | | - | LONG | string | | - | DATE | timestamp | | - | BINARY_FLOAT | float | | - | BINARY_DOUBLE | double | | - | TIMESTAMP | timestamp | | - | TIMESTAMP WITH TIME ZONE | string | | - | TIMESTAMP WITH LOCAL TIME ZONE | timestamp | | - | INTERVAL YEAR TO MONTH | string | | - | INTERVAL DAY TO SECOND | string | | - | RAW | bytes | | - | LONG RAW | bytes | | - | ROWID | string | | - | UROWID | string | | - | CHAR | string | | - | NCHAR | string | | - | CLOB | string | | - | NCLOB | string | | - | BLOB | bytes | | - | BFILE | bytes | BFILE is a data type used to store a locator (link) | - | | | to an external file, which is stored outside of the | - | | | database. Only the locator will be read from an | - | | | Oracle table and not the content of the external file. | +| Oracle Data Type | CDAP Schema Data Type | Comment | +| ------------------------------ | --------------------- |----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| VARCHAR2 | string | | +| NVARCHAR2 | string | | +| VARCHAR | string | | +| NUMBER | string | For NUMBER types defined without a precision and scale. Users can manually set output schema to map it to Decimal. | +| NUMBER | decimal | For NUMBER types defined with a precision and scale. | +| FLOAT | double | | +| LONG | string | | +| DATE | timestamp | | +| BINARY_FLOAT | float | | +| BINARY_DOUBLE | double | | +| TIMESTAMP | datetime | Users can manually set output schema to map it to Timestamp. | +| TIMESTAMP WITH TIME ZONE | timestamp | Users can manually set output schema to map it to String. | +| TIMESTAMP WITH LOCAL TIME ZONE | datetime | Users can manually set output schema to map it to Timestamp. | +| INTERVAL YEAR TO MONTH | string | | +| INTERVAL DAY TO SECOND | string | | +| RAW | bytes | | +| LONG RAW | bytes | | +| ROWID | string | | +| UROWID | string | | +| CHAR | string | | +| NCHAR | string | | +| CLOB | string | | +| NCLOB | string | | +| BLOB | bytes | | +| BFILE | bytes | BFILE is a data type used to store a locator (link) to an external file, which is stored outside of the database. Only the locator will be read from an Oracle table and not the content of the external file. | Example