-
Couldn't load subscription status.
- Fork 34
[PLUGIN-1932] Add hidden treatTimestampLTZAsTimestamp flag to map Oracle TIMESTAMP WITH LOCAL TIME ZONE to TIMESTAMP #627
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PLUGIN-1932] Add hidden treatTimestampLTZAsTimestamp flag to map Oracle TIMESTAMP WITH LOCAL TIME ZONE to TIMESTAMP #627
Conversation
2938742 to
d9af2d2
Compare
| String role, Boolean useSSL, @Nullable Boolean treatAsOldTimestamp, | ||
| @Nullable Boolean treatPrecisionlessNumAsDeci) { | ||
| @Nullable Boolean treatPrecisionlessNumAsDeci, | ||
| @Nullable Boolean treatAsTimestampForLocalTimeZone) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can rename it to treatTimestampWithTzAsTimestamp as we want timestamp type for both Timestamp_LTZ and Timestamp_TZ
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please add details in the description: Jira ticket, testing etc.
- Do not use any internal naming like UCS.
- Please check the e2e tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added JIra and testing Snapshot, removed UCS and for e2e we are checking, not related to our change.
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleSourceSchemaReader.java
Show resolved
Hide resolved
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConstants.java
Outdated
Show resolved
Hide resolved
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java
Outdated
Show resolved
Hide resolved
oracle-plugin/src/main/java/io/cdap/plugin/oracle/OracleConnectorConfig.java
Outdated
Show resolved
Hide resolved
0356be8 to
d75d92e
Compare
d75d92e to
c756ce9
Compare
91dd191
into
data-integrations:develop
PLUGIN-1932 Add hidden treatTimestampLTZAsTimestamp flag to map Oracle TIMESTAMP WITH LOCAL TIME ZONE to TIMESTAMP.
This issue requests the addition of a new, hidden configuration flag to the Oracle Database Source plugin. This flag will allow users to override the default type mapping for Oracle's TIMESTAMP WITH LOCAL TIME ZONE (TIMESTAMP_LTZ) data type.
By default, the Oracle Source plugin currently maps the Oracle data type TIMESTAMP WITH LOCAL TIME ZONE (TIMESTAMP_LTZ) to a DATETIME/STRING type.
For certain users, the intended target type in BigQuery for a local-time-aware timestamp is the BQ TIMESTAMP type, which includes time zone information