dongjoon-hyun commented on code in PR #53047:
URL: https://github.com/apache/spark/pull/53047#discussion_r2525314755


##########
docs/sql-ref-identifier-clause.md:
##########
@@ -117,18 +145,18 @@ DECLARE mytab = 'tab1';
 -- Creation of a table using variable.
 CREATE TABLE IDENTIFIER(mytab)(c1 INT);
 
-DESCRIBE IDENTIFIER(mytab);
+EXECUTE IMMEDIATE 'DESCRIBE IDENTIFIER(:mytab)' USING mytab;

Review Comment:
   May I ask why we should use `EXECUTE IMMEDIATE` here instead of the previous 
one?



-- 
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