spark-issues mailing list archives

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

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

XiaoJing wang updated SPARK-4131:
---------------------------------
    Description: 
Writing data into the filesystem from queries,SparkSql is not support .
eg:
<pre><code>insert overwrite LOCAL DIRECTORY '/data1/wangxj/sql_spark' select *
from page_views;
</code></pre>

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


> 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:
> <pre><code>insert overwrite LOCAL DIRECTORY '/data1/wangxj/sql_spark' select
* from page_views;
> </code></pre>



--
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