File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -147,15 +147,14 @@ class HiveCommandSuite extends QueryTest with SQLTestUtils with TestHiveSingleto
147
147
checkAnswer(sql(" SHOW TBLPROPERTIES parquet_tab2('`prop2Key`')" ), Row (" prop2Val" ))
148
148
}
149
149
150
- test(" show tblproperties for spark temporary table - empty row " ) {
150
+ test(" show tblproperties for spark temporary table - AnalysisException is thrown " ) {
151
151
withTempView(" parquet_temp" ) {
152
152
sql(
153
153
"""
154
154
|CREATE TEMPORARY VIEW parquet_temp (c1 INT, c2 STRING)
155
155
|USING org.apache.spark.sql.parquet.DefaultSource
156
156
""" .stripMargin)
157
157
158
- // An empty sequence of row is returned for session temporary table.
159
158
val message = intercept[AnalysisException ] {
160
159
sql(" SHOW TBLPROPERTIES parquet_temp" )
161
160
}.getMessage
You can’t perform that action at this time.
0 commit comments