You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xin Wu (JIRA)" <ji...@apache.org> on 2016/04/30 05:49:12 UTC

[jira] [Commented] (SPARK-15025) creating datasource table with option (PATH) results in duplicate path key in serdeProperties

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

Xin Wu commented on SPARK-15025:
--------------------------------

I am testing a fix on this . will submit a PR soon. 

> creating datasource table with option (PATH) results in duplicate path key in serdeProperties
> ---------------------------------------------------------------------------------------------
>
>                 Key: SPARK-15025
>                 URL: https://issues.apache.org/jira/browse/SPARK-15025
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xin Wu
>
> Repro:
> {code}create table t1 using parquet options (PATH "/tmp/t1") as select 1 as a, 2 as b{code}
> This will create a hive external table whose dataLocation is "/someDefaultPath", which is not the same as the provided one.  Yet, serdeInfo.parameters contain following key value pairs: 
> PATH, "/tmp/t1"
> path, "/someDefaultPath"



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