Aleksey Plekhanov created IGNITE-15808:
------------------------------------------
Summary: Calcite engine. Failed to join table with itself with
'USING' clause
Key: IGNITE-15808
URL: https://issues.apache.org/jira/browse/IGNITE-15808
Project: Ignite
Issue Type: Bug
Reporter: Aleksey Plekhanov
Statement:
{noformat}
CREATE TABLE test (t INT);
SELECT * FROM test t1 JOIN test t2 USING (t){noformat}
Failed with:
{noformat}
java.lang.ArrayIndexOutOfBoundsException: 2
{noformat}
But statement:
{noformat}
CREATE TABLE test (t INT);
CREATE TABLE test2 (t INT);
SELECT * FROM test t1 JOIN test2 t2 USING (t){noformat}
Works.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)