Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-13630

StreamTableEnvironment#toAppendStream without QueryConfig overrides values set on TableConfig

    XMLWordPrintableJSON

Details

    Description

      In a sequence like this:

      tEnv.getConfig().setIdleStateRetentionTime(minRetention, maxRetention);
      Table table = tEnv.fromDataStream(elements);
      tEnv.toAppendStream(table, Row.class);
      

      the call to toAppendStream will override the value set in tEnv.getConfig.setIdleStateRetentionTime. I think we should change that behavior, as we want to drop the version with explicit QueryConfig and recommend the described setup.

      Thanks hequn8128 for pointing it out.

      Attachments

        Issue Links

          Activity

            People

              dwysakowicz Dawid Wysakowicz
              dwysakowicz Dawid Wysakowicz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m