Skip to content
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

feat: automatically convert date/datetime/timestamps #422

Merged
merged 8 commits into from
Mar 20, 2024

Conversation

alvarowolfx
Copy link
Contributor

Automatically converts DATE/DATETIME/TIMESTAMP accordingly to BigQuery Write API Docs. For doing this, we clone deep objects passed by the user, inspect each attribute to see if a Javascript Date exists, then convert to the appropriate format expect by the service side.

Still TDB if this is going to be an opt-in feature or enabled by default.

Fixes #419 #344 🦕

@product-auto-label product-auto-label bot added size: l Pull request size is large. api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. labels Feb 28, 2024
@alvarowolfx alvarowolfx marked this pull request as ready for review March 15, 2024 21:05
@alvarowolfx alvarowolfx requested a review from a team as a code owner March 15, 2024 21:05
@alvarowolfx alvarowolfx added the owlbot:run Add this label to trigger the Owlbot post processor. label Mar 15, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Mar 15, 2024
@alvarowolfx alvarowolfx added the owlbot:run Add this label to trigger the Owlbot post processor. label Mar 19, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquerystorage Issues related to the googleapis/nodejs-bigquery-storage API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Date type value in typescript as input to TIMESTAMP filed results in '1970-01-01 00:00:00 UTC'
2 participants