You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "luoyuxia (Jira)" <ji...@apache.org> on 2022/02/25 04:20:00 UTC

[jira] [Created] (FLINK-26366) Support "insert directory"

luoyuxia created FLINK-26366:
--------------------------------

             Summary: Support "insert directory"
                 Key: FLINK-26366
                 URL: https://issues.apache.org/jira/browse/FLINK-26366
             Project: Flink
          Issue Type: Sub-task
            Reporter: luoyuxia


In hive, it allow to  write data into the filesystem from queries using the following sql
"
INSERT OVERWRITE [LOCAL] DIRECTORY directory1
  [ROW FORMAT row_format] [STORED AS file_format] (Note: Only available starting with Hive 0.11.0)
  SELECT ... FROM ...
"
See more detail in https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=82903069#LanguageManualDML-Writingdataintothefilesystemfromqueries.

As it's quite often used in production environment. We also need to support such usage in hive dialect.




--
This message was sent by Atlassian Jira
(v8.20.1#820001)