-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
JDBC Sources: Consolidate putDate behavior, and potentially other methods #17068
Comments
@edgao i have made a small investigation into DATE datatype in different databases
|
if an oracle |
yes, we can do it. Do I understand you correctly that it is necessary to do what I described in paragraph 1? |
yeah, that sounds right. I.e. most DB sources would continue to discover for previously-synced data - wouldn't the time component always be |
blocked by #20634 |
Multiple sources override the default putDate implementation (
airbyte/airbyte-db/db-lib/src/main/java/io/airbyte/db/jdbc/AbstractJdbcCompatibleSourceOperations.java
Lines 126 to 128 in 0092712
YYYY-MM-DD
.Postgres and Mysql currently have the exact same implementation (https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/source-postgres/src/main/java/io/airbyte/integrations/source/postgres/PostgresSourceOperations.java#L214-L217), and we intend to add that to Snowflake as well. Would be good to just modify the base class and fix this for all JDBC sources.
We should probably also check for other methods in a similar situation, and consolidate them too.
The text was updated successfully, but these errors were encountered: