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

Allow setting configuration in SQL CLI

    XMLWordPrintableJSON

Details

    Description

      Currently, we provide a set of configurations in blink planner to support optimization or enable some advanced feature. However, all the configurations can't be set in SQL CLI.

      It would be great to allow set configurations in SQL CLI via SET command.
      This maybe a new feature, but considering the implementation effort is rather low (pass configurations to TableConfig), I would like to add it to 1.9 too, but I won't set it as blocker.

      For example:

      SET table.exec.mini-batch.enabled = true;
      SET table.exec.mini-batch.allow-latency = 5s;
      

      Meanwhile, we may also need to add an entry in yaml file, we propose to add a config entry. However, this might be different with other entries. Because we don't need the config. prefix in SET command.

      config:
        table.exec.mini-batch.enabled: true
        table.exec.mini-batch.allow-latency: 5s
      

      Attachments

        Issue Links

          Activity

            People

              TsReaper Caizhi Weng
              jark Jark Wu
              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