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

Xiao Li commented on SPARK-14609:
---------------------------------

It is not hard, but we need to handle partitions and a few options.  
{noformat}
LOAD DATA [LOCAL] INPATH 'filepath' [OVERWRITE] INTO TABLE tablename [PARTITION 
(partcol1=val1, partcol2=val2 ...)]
{noformat}

I can take it. Thanks!

> LOAD DATA
> ---------
>
>                 Key: SPARK-14609
>                 URL: https://issues.apache.org/jira/browse/SPARK-14609
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Yin Huai
>
> For load command, it should be pretty easy to implement. We already call Hive 
> to load data when insert into Hive tables. So, we can follow the 
> implementation of that. For example, we load into hive table in 
> InsertIntoHiveTable command at 
> https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/execution/InsertIntoHiveTable.scala#L221-L225.



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