spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cloud-fan <...@git.apache.org>
Subject [GitHub] spark pull request #19148: [SPARK-21936][SQL][WIP] backward compatibility te...
Date Wed, 06 Sep 2017 16:51:53 GMT
GitHub user cloud-fan opened a pull request:

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

    [SPARK-21936][SQL][WIP] backward compatibility test framework for HiveExternalCatalog

    ## What changes were proposed in this pull request?
    
    `HiveExternalCatalog` is a semi-public interface. When creating tables, `HiveExternalCatalog`
converts the table metadata to hive table format and save into hive metastore. It's very import
to guarantee backward compatibility here, i.e., tables created by previous Spark versions
should still be readable in newer Spark versions.
    
    Previously we find backward compatibility issues manually, which is really easy to miss
bugs. This PR introduces a test framework to automatically test `HiveExternalCatalog` backward
compatibility, by downloading Spark binaries with different versions, and create tables with
these Spark versions, and read these tables with current Spark version.
    
    TODO:
    add more test cases
    make sure it works on jenkins
    
    ## How was this patch tested?
    
    test-only change

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

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

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

    https://github.com/apache/spark/pull/19148.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 #19148
    
----
commit 283bc45d5b8ae63ba00d74c0322469c10b4f88eb
Author: Wenchen Fan <wenchen@databricks.com>
Date:   2017-09-06T05:39:53Z

    backward compatibility test framework for HiveExternalCatalog

----


---

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


Mime
View raw message