You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/04/01 23:12:03 UTC

[GitHub] [beam] apilloud commented on issue #11259: Use attachValues in SQL

apilloud commented on issue #11259: Use attachValues in SQL
URL: https://github.com/apache/beam/pull/11259#issuecomment-607534149
 
 
   FYI, I was going through our internal test failures and found a bunch that will probably be much more difficult to debug after this change. I included a sample of the current failures below, it would be nice to have a way to turn `SchemaVerification` on for testing.
   
   ```
   Caused by: java.lang.IllegalArgumentException: FieldType{typeName=INT64, nullable=false, logicalType=null, collectionElementType=null, mapKeyType=null, mapValueType=null, rowSchema=null, metadata={}} is not nullable in Array field $arrayx
   	at org.apache.beam.sdk.values.SchemaVerification.verifyArray(SchemaVerification.java:101)
   	at org.apache.beam.sdk.values.SchemaVerification.verifyFieldValue(SchemaVerification.java:65)
   	at org.apache.beam.sdk.values.SchemaVerification.verifyRowValues(SchemaVerification.java:57)
   	at org.apache.beam.sdk.values.Row$Builder.build(Row.java:673)
   	at org.apache.beam.sdk.extensions.sql.zetasql.BeamZetaSqlCalcRel$CalcFn.processElement(BeamZetaSqlCalcRel.java:195)
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services