-
Notifications
You must be signed in to change notification settings - Fork 43
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
🐛 Bug: Cache table missing expected columns #9
Comments
@ThaliaBarrera - Thanks for logging! |
@ThaliaBarrera - This could be caused by the case sensitivity issue - Could you try installing AirbyteLib from branch Related PR (reopening): |
Update: I don't think that PR will fix it actually, but I'd like to ask if you could still retry using that branch. I've just expanded the error message on that branch so it should give us better debug info now: raise exc.AirbyteLibCacheTableValidationError(
violation="Cache table is missing expected columns.",
context={
"stream_column_names": stream_column_names,
"table_column_names": table_column_names,
"missing_columns": missing_columns,
},
) |
@aaronsteers it indeed seems like a case sensitivity issue:
Not fixed when using branch |
@ThaliaBarrera - This should be resolve now by: Can you retest and report back? Thanks! |
@aaronsteers It think we are past the schema compatibility issue 🚀 However, I'm seeing another problem with the same stream, and others, now during the emulated merge phase if I'm correct. Here's the error I see:
And the Colab if you'd like to take a look. Happy to open another issue for this one. Let me know 🙂 |
Thanks, @ThaliaBarrera ! It thinks that hostName doesn't exist in either the final table or the stage table - but I'm not able to tell which because the error occurs on a line that references both: getattr(final_table.c, pk_column) == getattr(temp_table.c, pk_column) Could you try querying both tables in sql to see if they have a column called "hostName"? I think you can see the list of table names with something like |
@aaronsteers It's weird, but I don't see a stage table. When I run
Then, if I query the |
That's okay - I think the temp table may be cleaning itself up after failure, as designed.
Thank you thank you! Yes, this confirms, I think, the root cause. That definitely points to another case of case sensitivity issues. I can work from this... 🙏 |
@ThaliaBarrera I'm closing this issue as resolved, and will handle follow-ups on this new issue: |
Found this issue when reading from
source-google-analytics-data-api
. The error is seen in all streams I tried for this source.Here's an example error trace for the
pages
stream:The interesting thing is that all cache files do seem to have those columns:
👉 Colab for reference
The text was updated successfully, but these errors were encountered: