Nachiket-Roy commented on code in PR #19633:
URL: https://github.com/apache/datafusion/pull/19633#discussion_r2702165184
##########
datafusion/sql/src/statement.rs:
##########
@@ -1390,6 +1390,56 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
exec_err!("Function name not provided")
}
}
+ Statement::Truncate(ast::Truncate {
+ table_names,
+ partitions,
+ identity,
+ cascade,
+ on_cluster,
+ table,
+ }) => {
+ let _ = table; // explicitly handled to satisfy full
destructuring
Review Comment:
Should I update the comment to:
> // ignored because the table field does not influence planning or
execution. `TRUNCATE` currently only supports a single resolved table.
--
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]