You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "yyfhust (via GitHub)" <gi...@apache.org> on 2024/04/26 14:14:17 UTC

[I] [Bug]: Beam SQL Extension raised an error when the input row contained iterable fields [beam]

yyfhust opened a new issue, #31118:
URL: https://github.com/apache/beam/issues/31118

   ### What happened?
   
   Upon utilizing the Beam SQL within our pipeline, we encountered a noteworthy exception. It appears that when the input row encompasses fields of iterable types, the process fails irrespective of whether the iterable fields are included in the SQL filter condition or not. This issue stems from the fact that the Beam SQL extension attempts to construct an output row schema based on the input schema, and unfortunately, it currently lacks support for iterable types.
   
   Consider the following example:
   
   Given an inputRow in the schema:
   
   ```
   field1: String
   field2: Integer
   field3: Array<String>
   field4: ITERABLE
   ```
   
   And a Beam SQL condition:
   
   field2 > 1
   
   
   The pipeline will invariably fail, yielding the following error: `Exception in thread "main" java.lang.UnsupportedOperationException: Unable to get ITERABLE at org.apache.beam.sdk.extensions.sql.impl.rel.BeamCalcRel$InputGetterImpl.getBeamField(BeamCalcRel.java:603).`
   
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Beam SQL Extension raised an error when the input row contained iterable fields [beam]

Posted by "Abacn (via GitHub)" <gi...@apache.org>.
Abacn closed issue #31118: [Bug]: Beam SQL Extension raised an error when the input row contained iterable fields
URL: https://github.com/apache/beam/issues/31118


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug]: Beam SQL Extension raised an error when the input row contained iterable fields [beam]

Posted by "Amar3tto (via GitHub)" <gi...@apache.org>.
Amar3tto commented on issue #31118:
URL: https://github.com/apache/beam/issues/31118#issuecomment-2165240592

   .take-issue


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org