Skip to content

Commit

Permalink
reuse test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
zhzhan authored and liancheng committed May 16, 2015
1 parent 7cc2c64 commit f95abfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 497 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,25 +254,5 @@ class OrcPartitionDiscoverySuite extends QueryTest with FunSuiteLike with Before
}
}
}

ignore("read partitioned table - merging compatible schemas: not supported yet") {
withTempDir { base =>
makeOrcFile(
(1 to 10).map(i => Tuple1(i)).toDF("intField"),
makePartitionDir(base, defaultPartitionName, "pi" -> 1))

makeOrcFile(
(1 to 10).map(i => (i, i.toString)).toDF("intField", "stringField"),
makePartitionDir(base, defaultPartitionName, "pi" -> 2))

load(base.getCanonicalPath, "org.apache.spark.sql.hive.orc").registerTempTable("t")

withTempTable("t") {
checkAnswer(
sql("SELECT * FROM t"),
(1 to 10).map(i => Row(i, null, 1)) ++ (1 to 10).map(i => Row(i, i.toString, 2)))
}
}
}
}

Loading

0 comments on commit f95abfd

Please sign in to comment.