-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
🐛 Source BigQuery: preserve TIMESTAMP microseconds #20002
🐛 Source BigQuery: preserve TIMESTAMP microseconds #20002
Conversation
a2e642b
to
42ea56b
Compare
/test connector=connectors/source-bigquery
|
Hello 👋:skin-tone-2: and thank you for your contribution! Airbyte has instituted a code freeze between 19 and 30 December, to make sure there are no disruptions during the holidays. If you have any questions or need further clarification, please don't hesitate to ping via Slack. |
Was this resolved in #13166? |
/test connector=connectors/source-bigquery
|
/test connector=connectors/source-bigquery
Build FailedTest summary info:
|
@markandrus can you please add a test case for this change? |
I don't know how to test these changes, but my team has also moved on from Airbyte, so I don't think I'd have time to work on this again. I believe this PR may still address a real issue with timestamp resolution in BigQuery, but I also no longer require the functionality. So if y'all want to run with this yourselves, or close the PR, either is fine with me. |
Closed because Source Bigquery was moved to Java CDK. |
What
I believe I am seeing an issue with the BigQuery source which is very similar to this one for the Postgres source: #9157
Specifically,
How
In order to solve this, I have tried to preserve microseconds for TIMESTAMP columns. I did it in a very simple way (converting to Instant and reusing
DataTypeUtils.toISO8601StringWithMicroseconds
). I didn't want to do anything more involved, just demonstrate the idea. Open to suggestions or — even better ― perhaps a core Airbyte contributor could run with this?I don't actually know how to test this (or even how to iterate on the BigQuery source in isolation). Can you please provide me some pointers?
🚨 User Impact 🚨
IDK
Pre-merge Checklist
IDK
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampledocs/integrations/README.md
airbyte-integrations/builds.md
Airbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereUpdating a connector
Community member or Airbyter
airbyte_secret
./gradlew :airbyte-integrations:connectors:<name>:integrationTest
.README.md
bootstrap.md
. See description and examplesdocs/integrations/<source or destination>/<name>.md
including changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>
command is passing/publish
command described hereConnector Generator
-scaffold
in their name) have been updated with the latest scaffold by running./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates
then checking in your changesTests
Unit
Put your unit tests output here.
Integration
Put your integration tests output here.
Acceptance
Put your acceptance tests output here.