spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liancheng <...@git.apache.org>
Subject [GitHub] spark pull request: [SPARK-10289] [SQL] A direct write API for tes...
Date Wed, 26 Aug 2015 08:24:39 GMT
GitHub user liancheng opened a pull request:

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

    [SPARK-10289] [SQL] A direct write API for testing Parquet

    This PR introduces a direct write API for testing Parquet. It's a DSL flavored version
of the [`writeDirect` method] [1] comes with parquet-avro testing code. With this API, it's
much easier to construct arbitrary Parquet structures. It's especially useful when adding
regression tests for various compatibility corner cases.
    
    Sample usage of this API can be found in the new test case added in `ParquetThriftCompatibilitySuite`.
    
    [1]: https://github.com/apache/parquet-mr/blob/apache-parquet-1.8.1/parquet-avro/src/test/java/org/apache/parquet/avro/TestArrayCompatibility.java#L945-L972

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

    $ git pull https://github.com/liancheng/spark spark-10289/parquet-testing-direct-write-api

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

    https://github.com/apache/spark/pull/8454.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 #8454
    
----
commit 149c23cbb8cd62dc05ce32ac551ba87ecaa85fbe
Author: Cheng Lian <lian@databricks.com>
Date:   2015-08-26T07:58:50Z

    Adds testing direct write API for Parquet

----


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


Mime
View raw message