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

[Bug]: Dates being inserted incorrectly #1345

Open
jhendricks-elevate opened this issue Feb 27, 2024 · 1 comment
Open

[Bug]: Dates being inserted incorrectly #1345

jhendricks-elevate opened this issue Feb 27, 2024 · 1 comment
Labels
bug Something isn't working needs triage p2

Comments

@jhendricks-elevate
Copy link

Related Template(s)

Datastream to BigQuery

Template Version

2024-02-14-00_rc00

What happened?

Date fields should insert correctly from GCS into BigQuery. They have until recently.

Instead I'm seeing this in my DLQ/retry
"error_message":{"errors":[{"debugInfo":"","location":"estimated_delivery_date","message":"Invalid date: '2023-07-26Z'","reason":"invalid"}],"index":0}}

When I look at what datastream is putting into the GCS bucket, "ESTIMATED_DELIVERY_DATE":"2023-07-26T00:00:00.000Z".

This started a month ago. It keeps happening randomly to other dates. i did start a thread here: https://www.reddit.com/r/googlecloud/comments/198l343/dataflow_changing_date_format_causing/

One of the projects this is happening on is gcp-elevate-prod-us-east1

Relevant log output

No response

@jhendricks-elevate jhendricks-elevate added bug Something isn't working needs triage p2 labels Feb 27, 2024
@csoare7
Copy link

csoare7 commented Mar 12, 2024

I'm having a slightly similar but related issue.
Datastream service dumps data in GCS in format 2024-02-29T14:18:14.159Z while the Dataflow template seems to truncate the timestamp in BQ, ending up as 2024-02-29T14:18:14.

I am running Apache Beam SDK for Java 2.46.0, which is a bit old.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage p2
Projects
None yet
Development

No branches or pull requests

2 participants