You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Li Zehan (Jira)" <ji...@apache.org> on 2023/03/29 06:02:00 UTC
[jira] [Assigned] (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:all-tabpanel ]
Li Zehan reassigned CALCITE-5333:
---------------------------------
Assignee: Li Zehan
> 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
> Assignee: Li Zehan
> 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)