Is it possible to manually overwrite the schema cr...
# contributing-to-airbyte
s
Is it possible to manually overwrite the schema creation?
u
The schema is auto detected based on
JDBCType
. It looks like there may be an edge case here. Relevant code here: https://github.com/airbytehq/airbyte/blob/master/airbyte-integrations/connectors/s[…]ava/io/airbyte/integrations/source/jdbc/AbstractJdbcSource.java
s
If the type cannot be resolved, it defaults to
varchar
.
u
Do you see anything like this in the log?
Could not convert column: %s from table: %s.%s with type: %s. Casting to VARCHAR.
u
The exact log line will help us find out what the parsed type is.
u
Hi Liren, Thanks for your reply, I have sent the logs and schema screenshot in personal chat.
u
btw, I don’t see that error in log
s
I just see,
Copy code
Unknown keyword order - you should define your own Meta Schema. If the keyword is irrelevant for validation, just use a NonValidationKeyword
u
@Liren Tu did you got a chance to look at what might be causing such behaviour? Please can you guide me
u
This “Unknown keyword order” is not relevant. It’s strange that the “Could not convert column” warning does not exist in the log.
u
Would you mind telling us what’s the Postgres version you are running?
u
I created an issue here for tracking: https://github.com/airbytehq/airbyte/issues/7187
u
Thanks Liren
u
Postgres version 13.3 AWS RDS
Copy code
SELECT version();
"PostgreSQL 13.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 7.3.1 20180712 (Red Hat 7.3.1-12), 64-bit"