dongjoon-hyun commented on a change in pull request #23883: [SPARK-26982][SQL] 
Enhance describe framework to describe the output of a query.
URL: https://github.com/apache/spark/pull/23883#discussion_r261491475
 
 

 ##########
 File path: sql/core/src/test/resources/sql-tests/inputs/describe-query.sql
 ##########
 @@ -0,0 +1,28 @@
+-- Test tables
+CREATE table  desc_temp1 (key int COMMENT 'column_comment', val string) USING 
PARQUET;
+CREATE table  desc_temp2 (key int, val string) USING PARQUET;
+CREATE table  desc_temp3 (key int, val string) USING PARQUET;
 
 Review comment:
   Shall we remove this 3rd `CREATE table desc_temp3`? That is only used at 
multi-insert test case, `FROM ... INSERT ... INSERT`. And, we can use like the 
following.
   ```
   FROM desc_temp1 a
   INSERT INTO desc_temp1 SELECT *
   INSERT INTO desc_temp2 SELECT *;
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to