vlsi opened a new pull request, #5429:
URL: https://github.com/apache/calcite/pull/5429

   `PigTable` has a row type and no rows, and `PigTable.scan` returned null. 
Executing a plan that scans one, such as the plan for `A = LOAD 
'testSchema.testTable' as (a:int, b:chararray);`, failed with 
`NullPointerException: Cannot invoke 
"org.apache.calcite.linq4j.Enumerable.select(...)" because "enumerable" is 
null`.
   
   User-visible: executing such a plan fails with 
`UnsupportedOperationException: PigTable has a row type and no rows; it cannot 
be scanned`.
   
   Fixes [CALCITE-7949](https://issues.apache.org/jira/browse/CALCITE-7949).
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to