[
https://issues.apache.org/jira/browse/CALCITE-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17618200#comment-17618200
]
Jiajun Xie edited comment on CALCITE-5333 at 10/16/22 4:48 AM:
---------------------------------------------------------------
Of course, I added a 'related' link.
was (Author: jiajunbernoulli):
Of course, I add a 'related' link.
> 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)