Hi community,
SqlValidatorScope defines RelDataType resolveColumn(String name, SqlNode ctx ) to help resolve a column name in scope and return its type. However, in the implementation that is used during validation phase, which is EmptyScope, the implementation returns null directly (see [2]). Is it intentional to return null for the implementation of EmptyScope? Is there an alternative way to achieve what resolveColumn is designed for, or I have to implement that in EmptyScope to be able to use it? [1]: https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/validate/SqlValidatorScope.java#L161 [2]: https://github.com/apache/calcite/blob/master/core/src/main/java/org/apache/calcite/sql/validate/EmptyScope.java#L189 -Rui
