You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Jiajun Xie (Jira)" <ji...@apache.org> on 2022/10/16 04:42:00 UTC
[jira] [Comment Edited] (CALCITE-5333) Query with "WITH" clause is failing after calcite upgrade
[ https://issues.apache.org/jira/browse/CALCITE-5333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617490#comment-17617490 ]
Jiajun Xie edited comment on CALCITE-5333 at 10/16/22 4:41 AM:
---------------------------------------------------------------
The error from [CALCITE-4217]https://issues.apache.org/jira/browse/CALCITE-4217].
What does the mean when fieldList is null? In my opinion, feeling meaningless.
was (Author: jiajunbernoulli):
The error from https://issues.apache.org/jira/browse/CALCITE-4217.
What does the mean when fieldList is null? In my opinion, feeling meaningless.
> 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)