Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/16422#discussion_r138524974 --- Diff: sql/core/src/test/resources/sql-tests/inputs/describe-table-column.sql --- @@ -0,0 +1,35 @@ +-- Test temp table +CREATE TEMPORARY VIEW desc_col_temp_table (key int COMMENT 'column_comment') USING PARQUET; + +DESC desc_col_temp_table key; + +DESC EXTENDED desc_col_temp_table key; + +DESC FORMATTED desc_col_temp_table key; + +-- Describe a column with qualified name +DESC FORMATTED desc_col_temp_table desc_col_temp_table.key; + +-- Describe a non-existent column +DESC desc_col_temp_table key1; + +-- Test persistent table +CREATE TABLE desc_col_table (key int COMMENT 'column_comment') USING PARQUET; --- End diff -- shall we drop these testing tables at the end?
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org