spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-4131) Support "Writing data into the filesystem from queries"
Date Wed, 29 Oct 2014 09:14:34 GMT

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message