Uh oh!
There was an error while loading. Please reload this page.
[SPARK-18482][SQL] make sure Spark can access the table metadata created by older version of spark - #16003
[SPARK-18482][SQL] make sure Spark can access the table metadata created by older version of spark#16003cloud-fan wants to merge 4 commits into
Conversation
| } | ||
| } | ||
| test("SPARK-17470: support old table that stores table location in storage properties") { |
| } | ||
| } | ||
| test("SPARK-18464: support old table which doesn't store schema in table properties") { |
There was a problem hiding this comment.
it's covered by the new test suite
cloud-fan
commented
Nov 24, 2016
SparkQA
commented
Nov 24, 2016
Test build #69134 has finished for PR 16003 at commit
|
| import org.apache.spark.util.Utils | ||
| class HiveExternalCatalogCompatibilitySuite extends QueryTest with TestHiveSingleton { |
There was a problem hiding this comment.
To make the name super long...
HiveExternalCatalogBackwardCompatibilitySuite
SparkQA
commented
Nov 25, 2016
Test build #69145 has finished for PR 16003 at commit
|
rxin
commented
Nov 25, 2016
The main thing I'd add is to add comment explaining what version of Spark would generate those table props. |
gatorsmile
commented
Nov 26, 2016
How about Spark 2.1 altering the table metadata created by Spark 2.0? |
SparkQA
commented
Nov 27, 2016
Test build #69200 has started for PR 16003 at commit |
SparkQA
commented
Nov 27, 2016
Test build #3440 has finished for PR 16003 at commit
|
| // Raw table metadata that are dumped from tables created by Spark 2.0. Note that, all spark | ||
| // versions prior to 2.1 would generate same raw table metadata for a specific table. |
There was a problem hiding this comment.
I briefly checked 1.6. Most of them are the same, but some changes are only available in 2.0. For example, locationUri = Some(defaultTablePath("tbl7") + "-__PLACEHOLDER__"), was added in #13270
gatorsmile
commented
Nov 27, 2016
LGTM except a minor comment. We can address it in a separate PR for checking 1.6. |
SparkQA
commented
Nov 28, 2016
Test build #69217 has finished for PR 16003 at commit
|
rxin
commented
Nov 28, 2016
Merging in master/branch-2.1. |
…ted by older version of spark ## What changes were proposed in this pull request? In Spark 2.1, we did a lot of refactor for `HiveExternalCatalog` and related code path. These refactor may introduce external behavior changes and break backward compatibility. e.g. http://issues.apache.org/jira/browse/SPARK-18464 To avoid future compatibility problems of `HiveExternalCatalog`, this PR dumps some typical table metadata from tables created by 2.0, and test if they can recognized by current version of Spark. ## How was this patch tested? test only change Author: Wenchen Fan <wenchen@databricks.com> Closes#16003 from cloud-fan/test. (cherry picked from commit fc2c13b) Signed-off-by: Reynold Xin <rxin@databricks.com>
…ted by older version of spark ## What changes were proposed in this pull request? In Spark 2.1, we did a lot of refactor for `HiveExternalCatalog` and related code path. These refactor may introduce external behavior changes and break backward compatibility. e.g. http://issues.apache.org/jira/browse/SPARK-18464 To avoid future compatibility problems of `HiveExternalCatalog`, this PR dumps some typical table metadata from tables created by 2.0, and test if they can recognized by current version of Spark. ## How was this patch tested? test only change Author: Wenchen Fan <wenchen@databricks.com> Closesapache#16003 from cloud-fan/test.
…ted by older version of spark ## What changes were proposed in this pull request? In Spark 2.1, we did a lot of refactor for `HiveExternalCatalog` and related code path. These refactor may introduce external behavior changes and break backward compatibility. e.g. http://issues.apache.org/jira/browse/SPARK-18464 To avoid future compatibility problems of `HiveExternalCatalog`, this PR dumps some typical table metadata from tables created by 2.0, and test if they can recognized by current version of Spark. ## How was this patch tested? test only change Author: Wenchen Fan <wenchen@databricks.com> Closesapache#16003 from cloud-fan/test.
What changes were proposed in this pull request?
In Spark 2.1, we did a lot of refactor for
HiveExternalCatalogand related code path. These refactor may introduce external behavior changes and break backward compatibility. e.g. http://issues.apache.org/jira/browse/SPARK-18464To avoid future compatibility problems of
HiveExternalCatalog, this PR dumps some typical table metadata from tables created by 2.0, and test if they can recognized by current version of Spark.How was this patch tested?
test only change