Revision b8b80f6dea86d4e4a648b86e38936d3a82ffc0aa authored by Wenchen Fan on 20 June 2017, 16:15:33 UTC, committed by gatorsmile on 20 June 2017, 16:15:41 UTC
## What changes were proposed in this pull request?

This is a regression in Spark 2.2. In Spark 2.2, we introduced a new way to resolve persisted view: https://issues.apache.org/jira/browse/SPARK-18209 , but this makes the persisted view non case-preserving because we store the schema in hive metastore directly. We should follow data source table and store schema in table properties.

## How was this patch tested?

new regression test

Author: Wenchen Fan <wenchen@databricks.com>

Closes #18360 from cloud-fan/view.

(cherry picked from commit e862dc904963cf7832bafc1d3d0ea9090bbddd81)
Signed-off-by: gatorsmile <gatorsmile@gmail.com>
1 parent 514a7e6
History
File Mode Size
slaves.sh -rwxr-xr-x 2.7 KB
spark-config.sh -rwxr-xr-x 1.4 KB
spark-daemon.sh -rwxr-xr-x 5.6 KB
spark-daemons.sh -rwxr-xr-x 1.2 KB
start-all.sh -rwxr-xr-x 1.2 KB
start-history-server.sh -rwxr-xr-x 1.2 KB
start-master.sh -rwxr-xr-x 2.0 KB
start-mesos-dispatcher.sh -rwxr-xr-x 1.8 KB
start-mesos-shuffle-service.sh -rwxr-xr-x 1.4 KB
start-shuffle-service.sh -rwxr-xr-x 1.2 KB
start-slave.sh -rwxr-xr-x 3.1 KB
start-slaves.sh -rwxr-xr-x 1.5 KB
start-thriftserver.sh -rwxr-xr-x 1.8 KB
stop-all.sh -rwxr-xr-x 1.4 KB
stop-history-server.sh -rwxr-xr-x 1.0 KB
stop-master.sh -rwxr-xr-x 1.1 KB
stop-mesos-dispatcher.sh -rwxr-xr-x 1.2 KB
stop-mesos-shuffle-service.sh -rwxr-xr-x 1.1 KB
stop-shuffle-service.sh -rwxr-xr-x 1.0 KB
stop-slave.sh -rwxr-xr-x 1.5 KB
stop-slaves.sh -rwxr-xr-x 1.0 KB
stop-thriftserver.sh -rwxr-xr-x 1.0 KB

back to top