[ 
https://issues.apache.org/jira/browse/FLINK-26366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

luoyuxia updated FLINK-26366:
-----------------------------
    Description: 
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 
[Writingdataintothefilesystemfromqueries|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.


  was:
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.



> Support "insert directory"
> --------------------------
>
>                 Key: FLINK-26366
>                 URL: https://issues.apache.org/jira/browse/FLINK-26366
>             Project: Flink
>          Issue Type: Sub-task
>            Reporter: luoyuxia
>            Priority: Major
>
> 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 
> [Writingdataintothefilesystemfromqueries|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)

Reply via email to