-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Mysterious switch of data type for <_airbyte_emitted_at> field crashes incremental jobs #5959
Comments
Thanks for reporting this @jd-sanders. Look that #5614 changes the |
@etsybaev How would this affect existing users of the bigquery destination? Would they need to reset all their data? |
@sherifnada yes. I guess new sync from scratch would be required. |
Created a PR that could fix this #5981 https://github.com/airbytehq/airbyte/runs/3567861286?check_suite_focus=true Added explicit tmp files removal. Now it passes on CI, but still failed locally (ex. testIncrementalDedupeSync) |
…s by _airbyte_emitted_at field
* [ #5959 ][ #2579 ] Add support of partitioned tables by _airbyte_emitted_at field (#7141) Co-authored-by: Andrés Bravo <[email protected]>
) * [ airbytehq#5959 ][ airbytehq#2579 ] Add support of partitioned tables by _airbyte_emitted_at field (airbytehq#7141) Co-authored-by: Andrés Bravo <[email protected]>
Enviroment
Current Behavior
This problem occurred after we attempted to upgrade Airbyte from 0.28.2 to 0.29.16, found that it wouldn't start, and took it back to 0.28.2.
Previous to the failed upgrade, the field
_airbyte_emitted_at
was copied to BigQuery (into the_airbyte_raw
tables) a TIMESTAMP. After the failed upgrade, it started coming in as a STRING, which is not backwards compatible with the existing tables that were supporting incremental updates.Expected Behavior
The change from type TIMESTAMP to STRING for the field
_airbyte_emitted_at
shouldn't have occurred, or if it did, shouldn't have caused incremental jobs to fail._airbyte_emitted_at
is more useful as a TIMESTAMP in general.logs-786-0.txt
Logs
If applicable, please upload the logs from the failing operation.
For sync jobs, you can download the full logs from the UI by going to the sync attempt page and
clicking the download logs button at the top right of the logs display window.
LOG
Steps to Reproduce
_airbyte_emitted_at
as a TIMESTAMP_airbyte_emitted_at
as a STRINGAre you willing to submit a PR?
The text was updated successfully, but these errors were encountered: