apilloud commented on pull request #16911: URL: https://github.com/apache/beam/pull/16911#issuecomment-1078480456
It looks like you are failing in this line of code: https://github.com/apache/beam/blob/77e924fd5a025326b50352c29598ea1eb48d385a/sdks/java/extensions/sql/zetasql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/translation/ExpressionConverter.java#L213 What this means is something in a previous step was converted from ZetaSQL to Calcite wrong. There is a ZetaSQL ResolvedProjectScan that references the forth column (index 3) but the calcite List<RelDataTypeField> only has three columns. You might be able to add some asserts earlier in the conversion to help you find the 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
