wugeer commented on code in PR #1616:
URL: 
https://github.com/apache/datafusion-sqlparser-rs/pull/1616#discussion_r1898573245


##########
src/dialect/mod.rs:
##########
@@ -715,6 +715,11 @@ pub trait Dialect: Debug + Any {
         true
     }
 
+    // Returns true if the dialect supports the `RENAME TABLE` statement
+    fn supports_rename_table(&self) -> bool {
+        false
+    }

Review Comment:
   Although many dialects support the syntax for rename table, they mainly use 
` ALTER TABLE .... RENAME ...`. The method here refers to the switch of the 
`RENAME TABLE` statement. Therefore, I think it is necessary to keep this 
function.
   



-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to