JDBC Sources: Consolidate putDate behavior, and potentially other methods #17068
Labels
connectors/source/mssql
connectors/source/mysql
connectors/source/postgres
team/db-dw-sources
Backlog for Database and Data Warehouse Sources team
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: