Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.23.0
Description
The RelBuilder#field method that creates a RexNode based on alias + fieldName throws an IllegalArgumentException if the corresponding field is not found:
public RexNode field(int inputCount, String alias, String fieldName) { ... throw new IllegalArgumentException("no aliased field found; fields are: " + fields); }
However, the exception message does not include the requested alias & fieldName, which is relevant information, definitively useful for troubleshooting.
Attachments
Issue Links
- links to