看起来是个分段优化复用节点的bug,可以去 JIRA 开个 issue。
Best, Jark On Thu, 4 Mar 2021 at 19:37, 酷酷的浑蛋 <[email protected]> wrote: > StatementSet statementSet = tableEnvironment.createStatementSet(); > String sql1 = "insert into test select a,b,c from test_a_12342 /*+ > OPTIONS('table-name'='test_a_1')*/"; > String sql2 = "insert into test select a,b,c from test_a_12342 /*+ > OPTIONS('table-name'='test_a_2')*/"; > statementSet.addInsertSql(sql1); > statementSet.addInsertSql(sql2); > statementSet.execute(); > > > Sql代码如上,在最终insert后是将test_a_1表的数据插入了两遍,而test_a_2的数据并没有插入,请问这个是bug吗
