Details
-
Bug
-
Status: In Progress
-
Major
-
Resolution: Unresolved
-
1.31.0
-
None
-
None
Description
I have a simple query using "WITH" clause:
"WITH tempTable AS (SELECT * FROM PCOLLECTION WHERE PCOLLECTION.`user_info`.`name` = 'User1') SELECT * FROM tempTable"
and schema such as:
{ "doc":"More information on the user", "name":"user_info", "type":["null", "user_info"], "default":null }This query was running properly with Calcite 1.20. But after upgrade to Calcite 1.31, the above query is failing with the error:
"java.lang.AssertionError: fieldList must not be null, type = VARCHAR"
Attachments
Issue Links
- relates to
-
CALCITE-4217 Unlock RelCrossType#getFieldCount()
- Closed