Jing Ge created FLINK-34446:
-------------------------------
Summary: regression: alias is not in lateral join
Key: FLINK-34446
URL: https://issues.apache.org/jira/browse/FLINK-34446
Project: Flink
Issue Type: Bug
Reporter: Jing Ge
found one regression issue. Query working Flink 1.17.2, but failing with Flink
1.18.+
{code:java}
-- Query working Flink 1.17.2, but failing with Flink 1.18.+
-- -- [ERROR] Could not execute SQL statement. Reason:
-- -- org.apache.calcite.sql.validate.SqlValidatorException: Table 's' not found
SELECT
a_or_b,
id,
splits
FROM sample as s ,
LATERAL TABLE(split(s.id,'[01]')) lt(splits)
CROSS JOIN (VALUES ('A'), ('B')) AS cj(a_or_b); {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)