Skip to content

Commit

Permalink
add a line
Browse files Browse the repository at this point in the history
  • Loading branch information
xubo245 committed Jan 8, 2018
1 parent 1cfa72f commit cc4dd13
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,15 @@ class HiveOrcSourceSuite extends OrcSuite with TestHiveSingleton {
test("SPARK-22972: hive orc source") {
val tableName = "normal_orc_as_source_hive"
withTable(tableName) {

sql(
s"""CREATE TABLE $tableName
|USING org.apache.spark.sql.hive.orc
|OPTIONS (
| PATH '${new File(orcTableAsDir.getAbsolutePath).toURI}'
|)
""".stripMargin)

val tableMetadata = spark.sessionState.catalog.getTableMetadata(
TableIdentifier(tableName))
assert(tableMetadata.storage.inputFormat ==
Expand Down

0 comments on commit cc4dd13

Please sign in to comment.