Rui Li created FLINK-20349:
------------------------------
Summary: Query fails with "A conflict is detected. This is unexpected."
Key: FLINK-20349
URL:
https://issues.apache.org/jira/browse/FLINK-20349 Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Reporter: Rui Li
Fix For: 1.13.0
The test case to reproduce:
{code}
@Test
public void test() throws Exception {
tableEnv.executeSql("create table src(key string,val string)");
tableEnv.executeSql("SELECT sum(char_length(src5.src1_value)) FROM " +
"(SELECT src3.*, src4.val as src4_value, src4.key as src4_key FROM src src4 JOIN " +
"(SELECT src2.*, src1.key as src1_key, src1.val as src1_value FROM src src1 JOIN src src2 ON src1.key = src2.key) src3 " +
"ON src3.src1_key = src4.key) src5").collect();
}
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)