Skip to content

Commit 1ff1dcd

Browse files
committed
fix comments
1 parent fb47ea9 commit 1ff1dcd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,14 @@ class HiveCommandSuite extends QueryTest with SQLTestUtils with TestHiveSingleto
147147
checkAnswer(sql("SHOW TBLPROPERTIES parquet_tab2('`prop2Key`')"), Row("prop2Val"))
148148
}
149149

150-
test("show tblproperties for spark temporary table - empty row") {
150+
test("show tblproperties for spark temporary table - AnalysisException is thrown") {
151151
withTempView("parquet_temp") {
152152
sql(
153153
"""
154154
|CREATE TEMPORARY VIEW parquet_temp (c1 INT, c2 STRING)
155155
|USING org.apache.spark.sql.parquet.DefaultSource
156156
""".stripMargin)
157157

158-
// An empty sequence of row is returned for session temporary table.
159158
val message = intercept[AnalysisException] {
160159
sql("SHOW TBLPROPERTIES parquet_temp")
161160
}.getMessage

0 commit comments

Comments
 (0)