Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test case
  • Loading branch information
gengliangwang committed Jan 25, 2019
commit deb84ea88a3a94bd86ca25dcfa5123b878c4286c
Original file line number Diff line number Diff line change
Expand Up @@ -2189,7 +2189,7 @@ class SQLQuerySuite extends QueryTest with SQLTestUtils with TestHiveSingleton {
Seq(true, false).foreach { enableOptimizeMetadataOnlyQuery =>
withSQLConf(SQLConf.OPTIMIZER_METADATA_ONLY.key -> enableOptimizeMetadataOnlyQuery.toString) {
withTable("t") {
sql("CREATE TABLE t (col1 INT, p1 INT) USING PARQUET PARTITIONED BY (p1)")
sql("CREATE TABLE t (col1 INT) PARTITIONED BY (p1 INT)")
sql("INSERT INTO TABLE t PARTITION (p1 = 5) SELECT ID FROM range(1, 1)")
if (enableOptimizeMetadataOnlyQuery) {
// The result is wrong if we enable the configuration.
Expand Down