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-15715) Altering partition storage information doesn't work in Hive
Date Wed, 01 Jun 2016 21:54:59 GMT

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

Apache Spark commented on SPARK-15715:
--------------------------------------

User 'andrewor14' has created a pull request for this issue:
https://github.com/apache/spark/pull/13453

> Altering partition storage information doesn't work in Hive
> -----------------------------------------------------------
>
>                 Key: SPARK-15715
>                 URL: https://issues.apache.org/jira/browse/SPARK-15715
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Andrew Or
>            Assignee: Andrew Or
>
> In HiveClientImpl
> {code}
>   private def toHivePartition(
>       p: CatalogTablePartition,
>       ht: HiveTable): HivePartition = {
>     new HivePartition(ht, p.spec.asJava, p.storage.locationUri.map { l => new Path(l)
}.orNull)
>   }
> {code}
> Other than the location, we don't even store any of the storage information in the metastore:
output format, input format, serde, serde props. The result is that doing something like the
following doesn't actually do anything:
> {code}
> ALTER TABLE boxes PARTITION (width=3)
>     SET SERDE 'com.sparkbricks.serde.ColumnarSerDe'
>     WITH SERDEPROPERTIES ('compress'='true')
> {code}



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