melin commented on PR #46665:
URL: https://github.com/apache/spark/pull/46665#issuecomment-2132652795

   Multiple statements include set statements if the next statement of the set 
statement has a syntax error. The analysis is wrong,
   ``` sql
   BEGIN
       SET hive.exec.dynamic.partition.mode = 'nonstrict';
       CREATE TABLE IF NOT EXISTS dws_spu_user_type_agg
       (
           spu_code                   STRING
           ,detail_channelSTRING
       )
       PARTITIONED BY (pt STRING)
       STORED AS ORC
   END;
   ```
   
![image](https://github.com/apache/spark/assets/1145830/d6ef8532-f314-4ec1-a763-1f58c4e664c0)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to