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/14 06:00:00 UTC
[jira] [Commented] (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 commented on CALCITE-5333:
-------------------------------------
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)