Hi everyone, I am using the snowflake connector 0....
# replication-troubleshooting
v
Hi everyone, I am using the snowflake connector 0.1.3 and whenever I try to do an incremental sync I get the following error message.
The following tables have invalid columns selected as cursor, please select a column with a well-defined ordering with no null values as a cursor... {cursorColumnName='END_TIME', cursorSqlType=TIMESTAMP_WITH_TIMEZONE, cause=Unsupported cursor type}
. I was under the impression that
TIMESTAMP_WITH_TIMEZONE
was a valid cursor type for snowflake. Is this a bug?
✅ 1
s
The cursor column should not have any null values as well.
v
We've confirmed that the count of rows with END_TIME as a null value is 0 for that table. I guess I'm just curious what
cause=Unsupported cursor type
means. Is that referring to null values or timestamp_with_timezone?
🫥 1
f
@Vicente Bobadilla Riquelme did you have any luck here with this issue ? Facing the same issue where we've confirmed that there no rows with null values
s
Can you share the logs of the sync failure. It will be helfpul for me to understand where it's failing
k
Sure @Subodh Chaturvedi (Airbyte) thanks for your help! Here's the error logs [deleted], showing the
Unsupported cursor
exception. I've stripped some unneeded table+columns, and private fields. This uses the latest Airbyte and Snowflake connectors. We have slightly better success using the older airbyte Source connector: 1.12
s
Hey everyone I just merged a PR https://github.com/airbytehq/airbyte/pull/24667 to fix this, can you try out with the latest version 0.1.33 of snowflake connector and let me know if it works Also for future if you have any such issues I would advice to create a github issue as well with relevant log files. Once we have the log files, it makes our job easier to understand what's going on.
🙏 2
f
Thanks @Subodh Chaturvedi (Airbyte) for the fix ! Its working 🚀 . Was having a look at the PR - shouldn't the version also change for other connectors that are using the JDBCType ? Basically propagating the TIMEZONE type to other connectors that inherit JDBCType ?
s
Yeah that's correct! I just published snowflake to unblock you all and get the PR in! We will eventually publish the other ones as we go.
f
Noice ! 👍
s
It was reported that this was only partially fixed in 0.1.33. I just merged and published 0.1.34 which has the complete fix. Please upgrade snowflake source to 0.1.34
👏 1