Skip to content

Commit 19a1059

Browse files
imback82dongjoon-hyun
authored andcommitted
[SPARK-30282][DOCS][FOLLOWUP] Update SQL migration guide for SHOW TBLPROPERTIES
### What changes were proposed in this pull request? This PR adds a migration guide for `SHOW TBLPROPERTIES` for Apache Spark 3.0.0. ### Why are the changes needed? The behavior of `SHOW TBLPROPERTIES` changed when the table does not exist. The migration guide reflects this user facing change. ### Does this PR introduce any user-facing change? Yes. This is a documentation change. ### How was this patch tested? No tests were added because this is a doc change. Closes #27276 from imback82/SPARK-30282-followup. Authored-by: Terry Kim <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent f14061c commit 19a1059

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/sql-migration-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ license: |
338338

339339
- Since Spark 3.0, `ADD FILE` can be used to add file directories as well. Earlier only single files can be added using this command. To restore the behaviour of earlier versions, set `spark.sql.legacy.addDirectory.recursive` to false.
340340

341-
- Since Spark 3.0, `SHOW TBLPROPERTIES` on a temporary view will cause `AnalysisException`. In Spark version 2.4 and earlier, it returned an empty result.
341+
- Since Spark 3.0, `SHOW TBLPROPERTIES` will cause `AnalysisException` if the table does not exist. In Spark version 2.4 and earlier, this scenario caused `NoSuchTableException`. Also, `SHOW TBLPROPERTIES` on a temporary view will cause `AnalysisException`. In Spark version 2.4 and earlier, it returned an empty result.
342342

343343
## Upgrading from Spark SQL 2.4.4 to 2.4.5
344344

0 commit comments

Comments
 (0)