[
https://issues.apache.org/jira/browse/CALCITE-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rish K updated CALCITE-5333:
----------------------------
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"
was:q
> Query with "WITH" clause is failing after calcite upgrade
> ---------------------------------------------------------
>
> Key: CALCITE-5333
> URL: https://issues.apache.org/jira/browse/CALCITE-5333
> Project: Calcite
> Issue Type: Bug
> Components: core, extensions
> Affects Versions: 1.31.0
> Reporter: Rish K
> Priority: Major
>
> 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"
--
This message was sent by Atlassian Jira
(v8.20.10#820010)