We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using the ReadFromJdbc transform in Beam YAML, I encountered a ValueError with the following stack trace:
ValueError: Error apply transform "ReadFromJdbc" at line 4: Failed to decode schema due to an issue with Field proto: 2024-12-23 16:03:49.144 ∅∅∅ name: "day" 2024-12-23 16:03:49.144 ∅∅∅ type { 2024-12-23 16:03:49.144 ∅∅∅ logical_type { 2024-12-23 16:03:49.144 ∅∅∅ urn: "beam:logical_type:javasdk_date:v1" 2024-12-23 16:03:49.144 ∅∅∅ payload: "\202SNAPPY\000\000\000\000\001\000\000\000..." 2024-12-23 16:03:49.145 ∅∅∅ representation { 2024-12-23 16:03:49.145 ∅∅∅ logical_type {
The error seems to be related to decoding a schema field of type logical_type with the URN beam:logical_type:javasdk_date:v1
Steps to reproduce:
1 - Create a YAML to read from JDBC:
pipeline: type: chain transforms: - type: ReadFromJdbc config: url: trino_connection driver_class_name: io.trino.jdbc.TrinoDriver query: SELECT day FROM test_table driver_jars: gs://trino_jdbc.jar username: xxxxx password: xxxxxx
day is type DATE (91) in Trino
2 - Run the pipeline.
Priority: 2 (default / most bugs should be filed as P2)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
When using the ReadFromJdbc transform in Beam YAML, I encountered a ValueError with the following stack trace:
The error seems to be related to decoding a schema field of type logical_type with the URN beam:logical_type:javasdk_date:v1
Steps to reproduce:
1 - Create a YAML to read from JDBC:
day is type DATE (91) in Trino
2 - Run the pipeline.
Issue Priority
Priority: 2 (default / most bugs should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: