You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "hongyu guo (Jira)" <ji...@apache.org> on 2023/10/26 11:39:00 UTC
[jira] [Created] (CALCITE-6076) Table function can not refer other table columns
hongyu guo created CALCITE-6076:
-----------------------------------
Summary: Table function can not refer other table columns
Key: CALCITE-6076
URL: https://issues.apache.org/jira/browse/CALCITE-6076
Project: Calcite
Issue Type: Bug
Components: core
Affects Versions: 1.35.0
Reporter: hongyu guo
SQL:
{code:java}
select rmp.i from emp, table(ramp(emp.deptno)) as rmp {code}
will throw an error:
{code:java}
Table 'EMP' not found {code}
during the validation.
this SQL fails because the scope of the table function during the verification is CatalogScope, not JoinScope.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)