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

   When a Pig Latin statement referred to a relation that no earlier statement 
defined, `FILTER X BY DEPTNO` (and FOREACH, ORDER, LIMIT, DISTINCT, GROUP, 
DESCRIBE) failed with `NullPointerException: Cannot invoke 
"org.apache.calcite.rel.RelNode.getRowType()" because "rel" is null`, and `DUMP 
X` silently did nothing.
   
   `Handler` now looks every relation up through one method that throws when 
the name is not registered.
   
   User-visible: a statement that refers to an undefined relation throws 
`IllegalArgumentException: unknown relation 'X'`.
   
   Fixes [CALCITE-7948](https://issues.apache.org/jira/browse/CALCITE-7948).
   
   🤖 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