[ 
https://issues.apache.org/jira/browse/SPARK-4131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188158#comment-14188158
 ] 

Apache Spark commented on SPARK-4131:
-------------------------------------

User 'wangxiaojing' has created a pull request for this issue:
https://github.com/apache/spark/pull/2997

> Support "Writing data into the filesystem from queries"
> -------------------------------------------------------
>
>                 Key: SPARK-4131
>                 URL: https://issues.apache.org/jira/browse/SPARK-4131
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: XiaoJing wang
>            Priority: Critical
>             Fix For: 1.3.0
>
>   Original Estimate: 0.05h
>  Remaining Estimate: 0.05h
>
> Writing data into the filesystem from queries,SparkSql is not support .
> eg:
> <p><code>insert overwrite LOCAL DIRECTORY  '/data1/wangxj/sql_spark' select * 
> from page_views; </code></p>
> out:
> <p><code>
> java.lang.RuntimeException: 
> Unsupported language features in query: insert overwrite LOCAL DIRECTORY  
> '/data1/wangxj/sql_spark' select * from page_views
> TOK_QUERY
>   TOK_FROM
>     TOK_TABREF
>       TOK_TABNAME
>         page_views
>   TOK_INSERT
>     TOK_DESTINATION
>       TOK_LOCAL_DIR
>         '/data1/wangxj/sql_spark'
>     TOK_SELECT
>       TOK_SELEXPR
>         TOK_ALLCOLREF
> </code></p>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to