You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by tdas <gi...@git.apache.org> on 2016/04/15 05:50:30 UTC

[GitHub] spark pull request: [WIP, DO-NOT-MERGE][SQL][Added support for par...

GitHub user tdas opened a pull request:

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

    [WIP, DO-NOT-MERGE][SQL][Added support for partitioning in FileStreamSink

    

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

    $ git pull https://github.com/tdas/spark streaming-partitioned-parquet

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

    https://github.com/apache/spark/pull/12409.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 #12409
    
----
commit c753a710cc691adc8e4fe95dbd5219dec777f763
Author: Tathagata Das <ta...@gmail.com>
Date:   2016-04-15T03:43:53Z

    Added support for partitioning in FileStreamSink

----


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216337203
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213652717
  
    **[Test build #56763 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56763/consoleFull)** for PR 12409 at commit [`fc6a325`](https://github.com/apache/spark/commit/fc6a325b1c83ea2cb61c7728cebd8351a1389263).
     * This patch **fails PySpark 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215275857
  
    **[Test build #2897 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2897/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).
     * This patch **fails PySpark 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213652755
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216474453
  
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#discussion_r59930551
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRelation.scala ---
    @@ -371,6 +382,97 @@ private[sql] class DefaultSource
       }
     }
     
    +private[sql] class ParquetOutputWriterFactory(
    +    sqlConf: SQLConf,
    +    dataSchema: StructType,
    +    hadoopConf: Configuration,
    +    options: Map[String, String])
    +  extends OutputWriterFactory {
    +
    +  @transient private val preparedHadoopConf = {
    +
    +    val job = Job.getInstance(hadoopConf)
    +    val conf = ContextUtil.getConfiguration(job)
    +    val parquetOptions = new ParquetOptions(options, sqlConf)
    +
    +    // We're not really using `ParquetOutputFormat[Row]` for writing data here, because we override
    +    // it in `ParquetOutputWriter` to support appending and dynamic partitioning.  The reason why
    +    // we set it here is to setup the output committer class to `ParquetOutputCommitter`, which is
    +    // bundled with `ParquetOutputFormat[Row]`.
    +    job.setOutputFormatClass(classOf[ParquetOutputFormat[Row]])
    +
    +    ParquetOutputFormat.setWriteSupportClass(job, classOf[CatalystWriteSupport])
    +
    +    // We want to clear this temporary metadata from saving into Parquet file.
    +    // This metadata is only useful for detecting optional columns when pushdowning filters.
    +    val dataSchemaToWrite = StructType.removeMetadata(
    +      StructType.metadataKeyForOptionalField,
    +      dataSchema).asInstanceOf[StructType]
    +    CatalystWriteSupport.setSchema(dataSchemaToWrite, conf)
    +
    +    // Sets flags for `CatalystSchemaConverter` (which converts Catalyst schema to Parquet schema)
    +    // and `CatalystWriteSupport` (writing actual rows to Parquet files).
    +    conf.set(
    +      SQLConf.PARQUET_BINARY_AS_STRING.key,
    +      sqlConf.isParquetBinaryAsString.toString)
    +
    +    conf.set(
    +      SQLConf.PARQUET_INT96_AS_TIMESTAMP.key,
    +      sqlConf.isParquetINT96AsTimestamp.toString)
    +
    +    conf.set(
    +      SQLConf.PARQUET_WRITE_LEGACY_FORMAT.key,
    +      sqlConf.writeLegacyParquetFormat.toString)
    +
    +    // Sets compression scheme
    +    conf.set(ParquetOutputFormat.COMPRESSION, parquetOptions.compressionCodec)
    +
    +    conf
    +  }
    +
    +  private val serializableConf = new SerializableConfiguration(preparedHadoopConf)
    --- End diff --
    
    We should broadcast this.


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210273760
  
    **[Test build #55892 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55892/consoleFull)** for PR 12409 at commit [`c753a71`](https://github.com/apache/spark/commit/c753a710cc691adc8e4fe95dbd5219dec777f763).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210275749
  
    **[Test build #55894 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55894/consoleFull)** for PR 12409 at commit [`ea65d5d`](https://github.com/apache/spark/commit/ea65d5d9ead56c6742575ea949e252e0dc377cd6).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211724615
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211690238
  
    **[Test build #56177 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56177/consoleFull)** for PR 12409 at commit [`cecb83b`](https://github.com/apache/spark/commit/cecb83be379ff87754ed594efafd3662f098e5f3).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210726301
  
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274920
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211717003
  
    **[Test build #56177 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56177/consoleFull)** for PR 12409 at commit [`cecb83b`](https://github.com/apache/spark/commit/cecb83be379ff87754ed594efafd3662f098e5f3).
     * 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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210701176
  
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274327
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215592690
  
    **[Test build #2911 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2911/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211724619
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56181/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#discussion_r60322519
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala ---
    @@ -477,6 +491,20 @@ trait FileFormat {
       }
     
       /**
    +   * Returns a [[OutputWriterFactory]] for generating output writers that can write data.
    +   * This method is current used only by FileStreamSinkWriter to generate output writers that
    +   * does not use output committers to write data. The OutputWriter generated by the returned
    +   * [[OutputWriterFactory]] must implement the method `newInstance(path)`..
    --- End diff --
    
    nit: `newWriter(path)`


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216337013
  
    **[Test build #57542 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57542/consoleFull)** for PR 12409 at commit [`df6b32d`](https://github.com/apache/spark/commit/df6b32dfadc6263b24af51a473e92e829bfe3774).
     * This patch **fails PySpark 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215611801
  
    **[Test build #2923 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2923/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216316314
  
    **[Test build #2959 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2959/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#discussion_r59942518
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRelation.scala ---
    @@ -371,6 +382,97 @@ private[sql] class DefaultSource
       }
     }
     
    +private[sql] class ParquetOutputWriterFactory(
    +    sqlConf: SQLConf,
    +    dataSchema: StructType,
    +    hadoopConf: Configuration,
    +    options: Map[String, String])
    +  extends OutputWriterFactory {
    +
    +  @transient private val preparedHadoopConf = {
    +
    +    val job = Job.getInstance(hadoopConf)
    +    val conf = ContextUtil.getConfiguration(job)
    +    val parquetOptions = new ParquetOptions(options, sqlConf)
    +
    +    // We're not really using `ParquetOutputFormat[Row]` for writing data here, because we override
    +    // it in `ParquetOutputWriter` to support appending and dynamic partitioning.  The reason why
    +    // we set it here is to setup the output committer class to `ParquetOutputCommitter`, which is
    +    // bundled with `ParquetOutputFormat[Row]`.
    +    job.setOutputFormatClass(classOf[ParquetOutputFormat[Row]])
    +
    +    ParquetOutputFormat.setWriteSupportClass(job, classOf[CatalystWriteSupport])
    +
    +    // We want to clear this temporary metadata from saving into Parquet file.
    +    // This metadata is only useful for detecting optional columns when pushdowning filters.
    +    val dataSchemaToWrite = StructType.removeMetadata(
    +      StructType.metadataKeyForOptionalField,
    +      dataSchema).asInstanceOf[StructType]
    +    CatalystWriteSupport.setSchema(dataSchemaToWrite, conf)
    +
    +    // Sets flags for `CatalystSchemaConverter` (which converts Catalyst schema to Parquet schema)
    +    // and `CatalystWriteSupport` (writing actual rows to Parquet files).
    +    conf.set(
    +      SQLConf.PARQUET_BINARY_AS_STRING.key,
    +      sqlConf.isParquetBinaryAsString.toString)
    +
    +    conf.set(
    +      SQLConf.PARQUET_INT96_AS_TIMESTAMP.key,
    +      sqlConf.isParquetINT96AsTimestamp.toString)
    +
    +    conf.set(
    +      SQLConf.PARQUET_WRITE_LEGACY_FORMAT.key,
    +      sqlConf.writeLegacyParquetFormat.toString)
    +
    +    // Sets compression scheme
    +    conf.set(ParquetOutputFormat.COMPRESSION, parquetOptions.compressionCodec)
    +
    +    conf
    +  }
    +
    +  private val serializableConf = new SerializableConfiguration(preparedHadoopConf)
    --- End diff --
    
    You know, I thought that was the case but then I found an example where closure capture of the value for a broadcast slowed down the jobs by an order of magnitude.  So i'm not convinced this is safe.  I guess we should either verify or broadcast.


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213642510
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56760/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-214470777
  
    **[Test build #2871 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2871/consoleFull)** for PR 12409 at commit [`fc6a325`](https://github.com/apache/spark/commit/fc6a325b1c83ea2cb61c7728cebd8351a1389263).
     * This patch **fails to build**.
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216474270
  
    **[Test build #57611 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57611/consoleFull)** for PR 12409 at commit [`f0709fa`](https://github.com/apache/spark/commit/f0709faf9bfeb4bffa1bd692cae7fce4bfa407ab).
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213635550
  
    **[Test build #56758 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56758/consoleFull)** for PR 12409 at commit [`d82043e`](https://github.com/apache/spark/commit/d82043e2ed7dd9e2a8bf289bd1775827549101a1).
     * This patch **fails Scala style tests**.
     * This patch merges cleanly.
     * This patch adds the following public classes _(experimental)_:
      * `class FileStreamSinkWriter(`


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#discussion_r59930738
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/sources/interfaces.scala ---
    @@ -347,6 +347,14 @@ abstract class OutputWriterFactory extends Serializable {
           bucketId: Option[Int], // TODO: This doesn't belong here...
           dataSchema: StructType,
           context: TaskAttemptContext): OutputWriter
    +
    +  /**
    +   * Returns a new instance of [[OutputWriter]] that will write data to the given path.
    +   * @since 2.0.0
    +   */
    --- End diff --
    
    Can we clarify the difference between these (i.e. which one is old and which is new?).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215264157
  
    **[Test build #2897 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2897/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215203808
  
    **[Test build #57154 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57154/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).
     * This patch **fails PySpark 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215611786
  
    **[Test build #2922 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2922/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213635413
  
    **[Test build #56758 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56758/consoleFull)** for PR 12409 at commit [`d82043e`](https://github.com/apache/spark/commit/d82043e2ed7dd9e2a8bf289bd1775827549101a1).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210614034
  
    General structure looks good!


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210291102
  
    **[Test build #55894 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55894/consoleFull)** for PR 12409 at commit [`ea65d5d`](https://github.com/apache/spark/commit/ea65d5d9ead56c6742575ea949e252e0dc377cd6).
     * 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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274778
  
    **[Test build #55893 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55893/consoleFull)** for PR 12409 at commit [`f6a40fe`](https://github.com/apache/spark/commit/f6a40fed688d20ae21472aff6d993279fd1891b1).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210714466
  
    @marmbrus Updated with tests and more docs.


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#discussion_r59930604
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/FileStreamSink.scala ---
    @@ -40,17 +48,22 @@ object FileStreamSink {
     class FileStreamSink(
         sqlContext: SQLContext,
         path: String,
    -    fileFormat: FileFormat) extends Sink with Logging {
    +    fileFormat: FileFormat,
    +    partitionColumnNames: Seq[String],
    +    options: Map[String, String]
    +  ) extends Sink with Logging {
    --- End diff --
    
    Nit: we don't normally wrap the `)`


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274921
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55893/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215607184
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57293/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216318089
  
    **[Test build #57542 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57542/consoleFull)** for PR 12409 at commit [`df6b32d`](https://github.com/apache/spark/commit/df6b32dfadc6263b24af51a473e92e829bfe3774).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215181296
  
    **[Test build #57154 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57154/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210726128
  
    **[Test build #55989 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55989/consoleFull)** for PR 12409 at commit [`d6bca8d`](https://github.com/apache/spark/commit/d6bca8d1c069cb6021b5ef3f3360eac860c72093).
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211700203
  
    **[Test build #56181 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56181/consoleFull)** for PR 12409 at commit [`431bccb`](https://github.com/apache/spark/commit/431bccb3b6823e4a2a22fa48efbfa618734f1cbe).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274915
  
    **[Test build #55893 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55893/consoleFull)** for PR 12409 at commit [`f6a40fe`](https://github.com/apache/spark/commit/f6a40fed688d20ae21472aff6d993279fd1891b1).
     * This patch **fails Scala style 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215204001
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57154/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213652756
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56763/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211717172
  
    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-14716][SQL] Added support for partition...

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

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


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#discussion_r59939279
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetRelation.scala ---
    @@ -371,6 +382,97 @@ private[sql] class DefaultSource
       }
     }
     
    +private[sql] class ParquetOutputWriterFactory(
    +    sqlConf: SQLConf,
    +    dataSchema: StructType,
    +    hadoopConf: Configuration,
    +    options: Map[String, String])
    +  extends OutputWriterFactory {
    +
    +  @transient private val preparedHadoopConf = {
    +
    +    val job = Job.getInstance(hadoopConf)
    +    val conf = ContextUtil.getConfiguration(job)
    +    val parquetOptions = new ParquetOptions(options, sqlConf)
    +
    +    // We're not really using `ParquetOutputFormat[Row]` for writing data here, because we override
    +    // it in `ParquetOutputWriter` to support appending and dynamic partitioning.  The reason why
    +    // we set it here is to setup the output committer class to `ParquetOutputCommitter`, which is
    +    // bundled with `ParquetOutputFormat[Row]`.
    +    job.setOutputFormatClass(classOf[ParquetOutputFormat[Row]])
    +
    +    ParquetOutputFormat.setWriteSupportClass(job, classOf[CatalystWriteSupport])
    +
    +    // We want to clear this temporary metadata from saving into Parquet file.
    +    // This metadata is only useful for detecting optional columns when pushdowning filters.
    +    val dataSchemaToWrite = StructType.removeMetadata(
    +      StructType.metadataKeyForOptionalField,
    +      dataSchema).asInstanceOf[StructType]
    +    CatalystWriteSupport.setSchema(dataSchemaToWrite, conf)
    +
    +    // Sets flags for `CatalystSchemaConverter` (which converts Catalyst schema to Parquet schema)
    +    // and `CatalystWriteSupport` (writing actual rows to Parquet files).
    +    conf.set(
    +      SQLConf.PARQUET_BINARY_AS_STRING.key,
    +      sqlConf.isParquetBinaryAsString.toString)
    +
    +    conf.set(
    +      SQLConf.PARQUET_INT96_AS_TIMESTAMP.key,
    +      sqlConf.isParquetINT96AsTimestamp.toString)
    +
    +    conf.set(
    +      SQLConf.PARQUET_WRITE_LEGACY_FORMAT.key,
    +      sqlConf.writeLegacyParquetFormat.toString)
    +
    +    // Sets compression scheme
    +    conf.set(ParquetOutputFormat.COMPRESSION, parquetOptions.compressionCodec)
    +
    +    conf
    +  }
    +
    +  private val serializableConf = new SerializableConfiguration(preparedHadoopConf)
    --- End diff --
    
    Isnt the whole the closure broadcasted? This whole output factory will be in the closure and therefore broadcasted. 


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210701177
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55979/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-214469692
  
    **[Test build #2871 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2871/consoleFull)** for PR 12409 at commit [`fc6a325`](https://github.com/apache/spark/commit/fc6a325b1c83ea2cb61c7728cebd8351a1389263).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215607119
  
    **[Test build #57293 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57293/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216460709
  
    **[Test build #57611 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57611/consoleFull)** for PR 12409 at commit [`f0709fa`](https://github.com/apache/spark/commit/f0709faf9bfeb4bffa1bd692cae7fce4bfa407ab).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213635555
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56758/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213642071
  
    **[Test build #56760 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56760/consoleFull)** for PR 12409 at commit [`a4ddeee`](https://github.com/apache/spark/commit/a4ddeee3432059dee30060764d5358f378f51f84).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215600308
  
    **[Test build #57293 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/57293/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215616915
  
    **[Test build #2922 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2922/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215203999
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216474455
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57611/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213642508
  
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210715004
  
    **[Test build #55989 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55989/consoleFull)** for PR 12409 at commit [`d6bca8d`](https://github.com/apache/spark/commit/d6bca8d1c069cb6021b5ef3f3360eac860c72093).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274316
  
    **[Test build #55892 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55892/consoleFull)** for PR 12409 at commit [`c753a71`](https://github.com/apache/spark/commit/c753a710cc691adc8e4fe95dbd5219dec777f763).
     * This patch **fails Scala style tests**.
     * This patch **does not merge cleanly**.
     * This patch adds the following public classes _(experimental)_:
      * `class FileStreamSinkWriter(`


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213643790
  
    **[Test build #56763 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56763/consoleFull)** for PR 12409 at commit [`fc6a325`](https://github.com/apache/spark/commit/fc6a325b1c83ea2cb61c7728cebd8351a1389263).


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210291259
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213642496
  
    **[Test build #56760 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56760/consoleFull)** for PR 12409 at commit [`a4ddeee`](https://github.com/apache/spark/commit/a4ddeee3432059dee30060764d5358f378f51f84).
     * This patch **fails Scala style 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215581159
  
    **[Test build #2911 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2911/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216335032
  
    **[Test build #2959 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2959/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).
     * This patch **fails PySpark 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-213635553
  
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210726302
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55989/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215592854
  
    **[Test build #2910 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2910/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).
     * This patch **fails PySpark 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215607182
  
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211724245
  
    **[Test build #56181 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/56181/consoleFull)** for PR 12409 at commit [`431bccb`](https://github.com/apache/spark/commit/431bccb3b6823e4a2a22fa48efbfa618734f1cbe).
     * 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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-216337205
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/57542/
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210686197
  
    **[Test build #55979 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55979/consoleFull)** for PR 12409 at commit [`916ef94`](https://github.com/apache/spark/commit/916ef948961ba0321da987f4c6211dcd5db9e47b).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215612403
  
    **[Test build #2923 has finished](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2923/consoleFull)** for PR 12409 at commit [`acb8e92`](https://github.com/apache/spark/commit/acb8e92c6e4952ef6ea02d10ece79f32ba41c249).
     * This patch **fails MiMa 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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#discussion_r59824354
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/FileSourceStrategy.scala ---
    @@ -76,6 +76,8 @@ private[sql] object FileSourceStrategy extends Strategy with Logging {
     
           val partitionColumns =
             l.resolve(files.partitionSchema, files.sqlContext.sessionState.analyzer.resolver)
    +      logInfo(s"Partition columns: $partitionColumns")
    --- End diff --
    
    not needed


---
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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210291264
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55894/
    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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210700821
  
    **[Test build #55979 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/55979/consoleFull)** for PR 12409 at commit [`916ef94`](https://github.com/apache/spark/commit/916ef948961ba0321da987f4c6211dcd5db9e47b).
     * 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: [WIP, DO-NOT-MERGE][SQL][Added support for par...

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

    https://github.com/apache/spark/pull/12409#issuecomment-210274332
  
    Test FAILed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/55892/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-211717173
  
    Test PASSed.
    Refer to this link for build results (access rights to CI server needed): 
    https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/56177/
    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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-215581123
  
    **[Test build #2910 has started](https://amplab.cs.berkeley.edu/jenkins/job/NewSparkPullRequestBuilder/2910/consoleFull)** for PR 12409 at commit [`baf837f`](https://github.com/apache/spark/commit/baf837f1babcf6dae5a3fe5244ab4118363ad4fa).


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-212154746
  
    LGTM


---
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-14716][SQL] Added support for partition...

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

    https://github.com/apache/spark/pull/12409#issuecomment-212060905
  
    @marmbrus Please take a look. 


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