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] [Assigned] (SPARK-16825) Replace hive.default.fileformat by spark.sql.default.fileformat
Date Sun, 31 Jul 2016 21:09:21 GMT

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

Apache Spark reassigned SPARK-16825:
------------------------------------

    Assignee: Apache Spark

> Replace hive.default.fileformat by spark.sql.default.fileformat
> ---------------------------------------------------------------
>
>                 Key: SPARK-16825
>                 URL: https://issues.apache.org/jira/browse/SPARK-16825
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>            Assignee: Apache Spark
>
> Currently, we are using `hive.default.fileformat`, if users do not specify the format
in the CREATE TABLE SQL statement. Multiple issues exist:
> - This parameter value is not from `hive-site.xml`. Thus, even if users change the hive.default.fileformat
in `hive-site.xml`, Spark will ignore it. To change the parameter values, users have to use
Spark interface, (e.g., by a SET command or API). 
> - This parameter is not documented. 
> - This parameter value will not be sent to Hive metastore. It is being used by Spark
internals when processing CREATE TABLE statement. 
> - This parameter is case sensitive. 
> Since this is being used by Spark only, it does not make sense to use a parameter starting
from `hive`. we might follow the other Hive-related parameters and introduce a new Spark parameter
here. It should be public. Thus, how about replacing `hive.default.fileformat` by `spark.sql.default.fileformat`.
we also should make it case insensitive.



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