XMLWordPrintableJSON

Details

    Description

      At present, COMPILE/EXECUTE PLAN FOR '${plan.json}' only supports writing to/reading from a local file without the scheme. We propose to extend the support for Flink's FileSystem.

      -- before
      COMPILE PLAN FOR '/tmp/foo/bar.json' <insert_query>
      EXECUTE PLAN FOR '/tmp/foo/bar.json' 
      
      -- after
      COMPILE PLAN FOR 'file:///tmp/foo/bar.json' <insert_query>
      COMPILE PLAN FOR 'hdfs:///tmp/foo/bar.json' <insert_query>
      COMPILE PLAN FOR 's3:///tmp/foo/bar.json' <insert_query>
      COMPILE PLAN FOR 'oss:///tmp/foo/bar.json' <insert_query> 
      EXECUTE PLAN FOR 'file:///tmp/foo/bar.json'
      EXECUTE PLAN FOR 'hdfs:///tmp/foo/bar.json'
      EXECUTE PLAN FOR 's3:///tmp/foo/bar.json'
      EXECUTE PLAN FOR 'oss:///tmp/foo/bar.json' 

      Attachments

        Issue Links

          Activity

            People

              xu_shuai_ Shuai Xu
              qingyue Jane Chan
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: