You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by cloud-fan <gi...@git.apache.org> on 2015/10/22 18:01:56 UTC

[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

GitHub user cloud-fan opened a pull request:

    https://github.com/apache/spark/pull/9226

    [SPARK-10562][SQL] support mixed case partitionBy column names for tables stored in metastore

    https://issues.apache.org/jira/browse/SPARK-10562

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloud-fan/spark par

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/9226.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #9226
    
----
commit 9bfcbe64dbf63e99bdf3a85178ffe1d2d738e601
Author: Wenchen Fan <we...@databricks.com>
Date:   2015-10-22T16:00:46Z

    support mixed case partitionBy column names for tables stored in metastore

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151020208
  
     Merged build triggered.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151370582
  
    LGTM. Merging to master.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150927603
  
    Merged build started.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151028410
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44333/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151028409
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151017266
  
    Had a discussion with @liancheng and @cloud-fan. We think this fix is better than #9251. When a data source table is partitioned, we will not save data in a Hive-compatible way. So, let's make sure we can read data back. Later, when we want to save partitioned data in a hive compatible way, we can discuss the right way for that in that JIRA (we may want to add a flag for it since the saved metadata may be quite different).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150310693
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44158/
    Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by liancheng <gi...@git.apache.org>.
Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150941297
  
    I'd also vote for the 2nd approach. PR #9251 doesn't exactly fix "mix case" `partitionBy`, but simply lowercases all partition columns. Two drawbacks of this approaches are:
    
    1. Usually Spark SQL always tries to be case preserving, so that we can adapt to either case sensitive or case insensitive environments. But PR #9251 erases case information
    2. This can be confusing, because even when users are working under case sensitive configuration, partition column names are still erased.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9226#discussion_r54846913
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -218,25 +233,19 @@ private[hive] class HiveMetastoreCatalog(val client: ClientInterface, hive: Hive
           }
         }
     
    -    val metastorePartitionColumns = userSpecifiedSchema.map { schema =>
    -      val fields = partitionColumns.map(col => schema(col))
    -      fields.map { field =>
    -        HiveColumn(
    -          name = field.name,
    -          hiveType = HiveMetastoreTypes.toMetastoreType(field.dataType),
    -          comment = "")
    -      }.toSeq
    -    }.getOrElse {
    -      if (partitionColumns.length > 0) {
    -        // The table does not have a specified schema, which means that the schema will be inferred
    -        // when we load the table. So, we are not expecting partition columns and we will discover
    -        // partitions when we load the table. However, if there are specified partition columns,
    -        // we simply ignore them and provide a warning message.
    -        logWarning(
    -          s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    -            s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    +    if (userSpecifiedSchema.isDefined && partitionColumns.length > 0) {
    +      tableProperties.put("spark.sql.sources.schema.numPartCols", partitionColumns.length.toString)
    +      partitionColumns.zipWithIndex.foreach { case (partCol, index) =>
    +        tableProperties.put(s"spark.sql.sources.schema.partCol.$index", partCol)
           }
    -      Seq.empty[HiveColumn]
    +    } else {
    +      // The table does not have a specified schema, which means that the schema will be inferred
    +      // when we load the table. So, we are not expecting partition columns and we will discover
    +      // partitions when we load the table. However, if there are specified partition columns,
    +      // we simply ignore them and provide a warning message.
    +      logWarning(
    +        s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    +          s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    --- End diff --
    
    line 293 "partitionColumns = Nil" is after an asset: `assert(partitionColumns.isEmpty)`.
    We can not write out partitioned table in a hive compatible way, so I think this PR is not the root cause that break your code.
    But it's surprising that the written table is partitioned at hive side in 1.5.2, can you double check it?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150272837
  
    The root case is: hive metastore is case insensitive and also not case preserving.
    
    We can lower case the field name that is used as partitioned column, to make it consistent with hive metastore.
    Or we can use table properties to store the partitioned column names, do not trust hive metastore.
    
    I choose the second approach in this PR, what do you think? @marmbrus @yhuai 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150928094
  
    **[Test build #44318 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44318/consoleFull)** for PR 9226 at commit [`4c6dbdb`](https://github.com/apache/spark/commit/4c6dbdb621636d0a444bb5cec3b4417b263290c1).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150274011
  
    **[Test build #44158 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44158/consoleFull)** for PR 9226 at commit [`9bfcbe6`](https://github.com/apache/spark/commit/9bfcbe64dbf63e99bdf3a85178ffe1d2d738e601).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150310599
  
    **[Test build #44158 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44158/consoleFull)** for PR 9226 at commit [`9bfcbe6`](https://github.com/apache/spark/commit/9bfcbe64dbf63e99bdf3a85178ffe1d2d738e601).
     * This patch **fails SparkR unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151013530
  
     Merged build triggered.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9226#discussion_r43035743
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -218,25 +233,19 @@ private[hive] class HiveMetastoreCatalog(val client: ClientInterface, hive: Hive
           }
         }
     
    -    val metastorePartitionColumns = userSpecifiedSchema.map { schema =>
    -      val fields = partitionColumns.map(col => schema(col))
    -      fields.map { field =>
    -        HiveColumn(
    -          name = field.name,
    -          hiveType = HiveMetastoreTypes.toMetastoreType(field.dataType),
    -          comment = "")
    -      }.toSeq
    -    }.getOrElse {
    -      if (partitionColumns.length > 0) {
    -        // The table does not have a specified schema, which means that the schema will be inferred
    -        // when we load the table. So, we are not expecting partition columns and we will discover
    -        // partitions when we load the table. However, if there are specified partition columns,
    -        // we simply ignore them and provide a warning message.
    -        logWarning(
    -          s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    -            s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    +    if (userSpecifiedSchema.isDefined && partitionColumns.length > 0) {
    +      tableProperties.put("spark.sql.sources.schema.numPartCols", partitionColumns.length.toString)
    +      partitionColumns.zipWithIndex.foreach { case (partCol, index) =>
    +        tableProperties.put(s"spark.sql.sources.schema.partCol.$index", partCol)
           }
    -      Seq.empty[HiveColumn]
    +    } else {
    +      // The table does not have a specified schema, which means that the schema will be inferred
    +      // when we load the table. So, we are not expecting partition columns and we will discover
    +      // partitions when we load the table. However, if there are specified partition columns,
    +      // we simply ignore them and provide a warning message.
    +      logWarning(
    +        s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    +          s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    --- End diff --
    
    Seems the condition of this branch is not equivalent to the original one? We may hit this branch if the table is not partitioned and there is a user-defined schema. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150927585
  
     Merged build triggered.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/spark/pull/9226


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151024055
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44336/
    Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150927960
  
    When we write hive table in non-Hive-compatible mode, we [ignore the schema info](https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala#L254-L263).
    It looks to me that there is no workaround to read spark sql partitioned table at hive side anyway. So I think we don't need to care about Hive compablity when fix 10562, and makes the second approach a better choice.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150938245
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44318/
    Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150271798
  
     Merged build triggered.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150310691
  
    Merged build finished. Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yang0228 <gi...@git.apache.org>.
Github user yang0228 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9226#discussion_r54844658
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -218,25 +233,19 @@ private[hive] class HiveMetastoreCatalog(val client: ClientInterface, hive: Hive
           }
         }
     
    -    val metastorePartitionColumns = userSpecifiedSchema.map { schema =>
    -      val fields = partitionColumns.map(col => schema(col))
    -      fields.map { field =>
    -        HiveColumn(
    -          name = field.name,
    -          hiveType = HiveMetastoreTypes.toMetastoreType(field.dataType),
    -          comment = "")
    -      }.toSeq
    -    }.getOrElse {
    -      if (partitionColumns.length > 0) {
    -        // The table does not have a specified schema, which means that the schema will be inferred
    -        // when we load the table. So, we are not expecting partition columns and we will discover
    -        // partitions when we load the table. However, if there are specified partition columns,
    -        // we simply ignore them and provide a warning message.
    -        logWarning(
    -          s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    -            s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    +    if (userSpecifiedSchema.isDefined && partitionColumns.length > 0) {
    +      tableProperties.put("spark.sql.sources.schema.numPartCols", partitionColumns.length.toString)
    +      partitionColumns.zipWithIndex.foreach { case (partCol, index) =>
    +        tableProperties.put(s"spark.sql.sources.schema.partCol.$index", partCol)
           }
    -      Seq.empty[HiveColumn]
    +    } else {
    +      // The table does not have a specified schema, which means that the schema will be inferred
    +      // when we load the table. So, we are not expecting partition columns and we will discover
    +      // partitions when we load the table. However, if there are specified partition columns,
    +      // we simply ignore them and provide a warning message.
    +      logWarning(
    +        s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    +          s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    --- End diff --
    
    Can you explain the change at line 293 "partitionColumns = Nil"? 
    When running "df.write.partitionBy("X").mode(SaveMode.Overwrite).saveAsTable(tableName) "(df generated with HiveContext) in spark 1.6, what I get in hive is a not-partitioned table. I've seen this line was "partitionColumns = partitionColumns" in spark1.5.2, which assigns the partition column. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151024054
  
    Merged build finished. Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151338242
  
    Merged build started.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by liancheng <gi...@git.apache.org>.
Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150926541
  
    Did the following experiments against Hive 0.13.1, seems that Hive doesn't accept partition directory with uppercase letters in partition column names.
    
    First create a simple partitioned table (the `src` table is the one we commonly used in Hive tests):
    
    ```sql
    DROP TABLE IF EXISTS t;
    CREATE TABLE t (key INT, value STRING) PARTITIONED BY (part INT);
    INSERT OVERWRITE TABLE t PARTITION (part = 0) SELECT * FROM src;
    INSERT OVERWRITE TABLE t PARTITION (part = 1) SELECT * FROM src;
    ```
    
    Then manually rename the `part=0` partition directory to `ParT=0`. It turned out that Hive doesn't recognize this partition anymore, and `SELECT * FROM part = 0` gave empty result. `MSCK REPAIR TABLE t` doesn't work either.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9226#discussion_r43036472
  
    --- Diff: sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala ---
    @@ -744,32 +744,6 @@ class MetastoreDataSourcesSuite extends QueryTest with SQLTestUtils with TestHiv
         }
       }
     
    -  test("Saving partition columns information") {
    -    val df = (1 to 10).map(i => (i, i + 1, s"str$i", s"str${i + 1}")).toDF("a", "b", "c", "d")
    -    val tableName = s"partitionInfo_${System.currentTimeMillis()}"
    -
    -    withTable(tableName) {
    -      df.write.format("parquet").partitionBy("d", "b").saveAsTable(tableName)
    -      invalidateTable(tableName)
    -      val metastoreTable = catalog.client.getTable("default", tableName)
    -      val expectedPartitionColumns = StructType(df.schema("d") :: df.schema("b") :: Nil)
    -      val actualPartitionColumns =
    -        StructType(
    -          metastoreTable.partitionColumns.map(c =>
    -            StructField(c.name, HiveMetastoreTypes.toDataType(c.hiveType))))
    -      // Make sure partition columns are correctly stored in metastore.
    -      assert(
    -        expectedPartitionColumns.sameType(actualPartitionColumns),
    -        s"Partitions columns stored in metastore $actualPartitionColumns is not the " +
    -          s"partition columns defined by the saveAsTable operation $expectedPartitionColumns.")
    -
    -      // Check the content of the saved table.
    -      checkAnswer(
    -        table(tableName).select("c", "b", "d", "a"),
    -        df.select("c", "b", "d", "a"))
    -    }
    -  }
    -
    --- End diff --
    
    Can we have a test to check the text contents of partition columns in the table properties?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150938242
  
    Merged build finished. Test FAILed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151365717
  
    Merged build finished. Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by cloud-fan <gi...@git.apache.org>.
Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/9226#discussion_r54847179
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveMetastoreCatalog.scala ---
    @@ -218,25 +233,19 @@ private[hive] class HiveMetastoreCatalog(val client: ClientInterface, hive: Hive
           }
         }
     
    -    val metastorePartitionColumns = userSpecifiedSchema.map { schema =>
    -      val fields = partitionColumns.map(col => schema(col))
    -      fields.map { field =>
    -        HiveColumn(
    -          name = field.name,
    -          hiveType = HiveMetastoreTypes.toMetastoreType(field.dataType),
    -          comment = "")
    -      }.toSeq
    -    }.getOrElse {
    -      if (partitionColumns.length > 0) {
    -        // The table does not have a specified schema, which means that the schema will be inferred
    -        // when we load the table. So, we are not expecting partition columns and we will discover
    -        // partitions when we load the table. However, if there are specified partition columns,
    -        // we simply ignore them and provide a warning message.
    -        logWarning(
    -          s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    -            s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    +    if (userSpecifiedSchema.isDefined && partitionColumns.length > 0) {
    +      tableProperties.put("spark.sql.sources.schema.numPartCols", partitionColumns.length.toString)
    +      partitionColumns.zipWithIndex.foreach { case (partCol, index) =>
    +        tableProperties.put(s"spark.sql.sources.schema.partCol.$index", partCol)
           }
    -      Seq.empty[HiveColumn]
    +    } else {
    +      // The table does not have a specified schema, which means that the schema will be inferred
    +      // when we load the table. So, we are not expecting partition columns and we will discover
    +      // partitions when we load the table. However, if there are specified partition columns,
    +      // we simply ignore them and provide a warning message.
    +      logWarning(
    +        s"The schema and partitions of table $tableIdent will be inferred when it is loaded. " +
    +          s"Specified partition columns (${partitionColumns.mkString(",")}) will be ignored.")
    --- End diff --
    
    The root cause is line 270. Even in non-hive compatible mode, we still keep partition info in hive metadata before. This PR changed it and store partition info as properties.
    
    We can't write out partitioned table in a hive-compatible way, so I think it's a safe change, you can't query that table at hive side anyway.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151013538
  
    Merged build started.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150938141
  
    **[Test build #44318 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44318/consoleFull)** for PR 9226 at commit [`4c6dbdb`](https://github.com/apache/spark/commit/4c6dbdb621636d0a444bb5cec3b4417b263290c1).
     * This patch **fails Spark unit tests**.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151019164
  
    Can we add an `assert` in `newHiveCompatibleMetastoreTable` to make it clear that we do not expect to pass a partitioned table to `newHiveCompatibleMetastoreTable`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151020213
  
    Merged build started.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151365368
  
    **[Test build #44389 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44389/consoleFull)** for PR 9226 at commit [`b7d842a`](https://github.com/apache/spark/commit/b7d842a39f2af845e0f920fd6a8ac7bd77da7d28).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds no public classes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150271828
  
    Merged build started.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151340845
  
    **[Test build #44389 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44389/consoleFull)** for PR 9226 at commit [`b7d842a`](https://github.com/apache/spark/commit/b7d842a39f2af845e0f920fd6a8ac7bd77da7d28).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151014488
  
    **[Test build #44333 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44333/consoleFull)** for PR 9226 at commit [`362d74e`](https://github.com/apache/spark/commit/362d74ecdb9af733a29fc55f9df10e11473e2797).


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151365720
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44389/
    Test PASSed.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150980439
  
    @liancheng My concern is that if we do not lowercase those partition names, Hive will not be able to read those partition dirs.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by AmplabJenkins <gi...@git.apache.org>.
Github user AmplabJenkins commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151338163
  
     Merged build triggered.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by liancheng <gi...@git.apache.org>.
Github user liancheng commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150926923
  
    Another issue I noticed while experimenting was that, if field names containing uppercase letters in a Parquet file, Hive doesn't recognize it either. First create a Parquet table from Spark SQL side and save it as a Hive table:
    
    ```scala
    val df = sqlContext.range(3).coalesce(1).selectExpr("id AS VaLuE")
    df.write.mode("overwrite").saveAsTable("parq")
    ```
    
    Although `SHOW TABLES` and `DESC parq` shows that Hive does recognize table `parq`, `SELECT * FROM parq` returns only `NULL` because the field name contains uppercase letters. Changing `VaLuE` to `value`, then everything is fine.
    
    Maybe we should lowercase all field names when persisting a DataFrame to metastore in Hive compatible mode.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-150306326
  
    If we use the second approach, can user query this table from hive side? Let's assume that the user can use msck command to recover partitions (https://cwiki.apache.org/confluence/display/Hive/LanguageManual+DDL#LanguageManualDDL-RecoverPartitions(MSCKREPAIRTABLE)). My main question is that if we preserve the partition column names' case sensitivity in fs paths, will hive be able to read the data? Or Hive will use all lower-case paths and then fails to read those partitions?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by yhuai <gi...@git.apache.org>.
Github user yhuai commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151247022
  
    Overall loos good! Left two minor comments.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


[GitHub] spark pull request: [SPARK-10562][SQL] support mixed case partitio...

Posted by SparkQA <gi...@git.apache.org>.
Github user SparkQA commented on the pull request:

    https://github.com/apache/spark/pull/9226#issuecomment-151028260
  
    **[Test build #44333 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/44333/consoleFull)** for PR 9226 at commit [`362d74e`](https://github.com/apache/spark/commit/362d74ecdb9af733a29fc55f9df10e11473e2797).
     * This patch passes all tests.
     * This patch merges cleanly.
     * This patch adds the following public classes _(experimental)_:\n  * `            logError(\"Sink class \" + classPath + \" cannot be instantiated\")`\n  * `    // to its own URLs over the parent class loader (see Executor's createClassLoader method).`\n


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org