You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jark Wu (Jira)" <ji...@apache.org> on 2019/09/30 10:20:00 UTC
[jira] [Created] (FLINK-14293) Lazy execution of queries might
produce wrong results
Jark Wu created FLINK-14293:
-------------------------------
Summary: Lazy execution of queries might produce wrong results
Key: FLINK-14293
URL: https://issues.apache.org/jira/browse/FLINK-14293
Project: Flink
Issue Type: Bug
Components: Table SQL / Planner
Reporter: Jark Wu
We introduced lazy execution of queries in FLINK-13088. But maybe we should revisit it because if we have a sequence of statements like this:
{code:java}
tEnv.sqlUpdate("CREATE TABLE test (...) with (path = '/tmp1')");
tEnv.sqlUpdate("INSERT INTO test SELECT ...");
tEnv.sqlUpdate("DROP TABLE test");
tEnv.sqlUpdate("CREATE TABLE test (...) with (path = '/tmp2')");
tEnv.execute();
{code}
If we execute the create statements eagerly and the queries lazily we will end up with wrong results.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)