Jefffrey commented on code in PR #20177:
URL: https://github.com/apache/datafusion/pull/20177#discussion_r2832072122


##########
datafusion/sql/src/statement.rs:
##########
@@ -1421,6 +1441,9 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
                 if on_cluster.is_some() {
                     return not_impl_err!("TRUNCATE with ON CLUSTER is not 
supported");
                 }
+                if if_exists {
+                    return not_impl_err!("TRUNCATE .. WITH EXISTS is not 
supported");

Review Comment:
   ```suggestion
                       return not_impl_err!("TRUNCATE .. with IF EXISTS is not 
supported");
   ```



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