Details

    Description

      We can reproduce through a UT

      Add test case in HiveDialectITCase

      @Test
      public void testInsertMultiTable() {
          tableEnv.executeSql("create table t1 (id bigint, name string)");
          tableEnv.executeSql("create table t2 (id bigint, name string)");
          tableEnv.executeSql("create table t3 (id bigint, name string, age int)");
          tableEnv.executeSql("from (select id, name, age from t3) t "
                  + "insert overwrite table t1 select id, name where age < 20 "
                  + "insert overwrite table t2 select id, name where age > 20 ");
      } 

      This is a very common case for batch.

      Attachments

        Issue Links

          Activity

            People

              luoyuxia luoyuxia
              tartarus tartarus
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: