You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "kosiew (via GitHub)" <gi...@apache.org> on 2025/12/01 01:31:26 UTC
Re: [PR] Add Explicit Error Handling for Unsupported SQL `FETCH` Clause in Planner and CLI [datafusion]
kosiew commented on code in PR #18691:
URL: https://github.com/apache/datafusion/pull/18691#discussion_r2575393201
##########
datafusion/sql/src/query.rs:
##########
@@ -46,17 +46,31 @@ impl<S: ContextProvider> SqlToRel<'_, S> {
let mut query_plan_context = outer_planner_context.clone();
let planner_context = &mut query_plan_context;
- if let Some(with) = query.with {
+ let Query {
+ with,
+ body,
+ order_by,
+ limit_clause,
+ pipe_operators,
+ fetch,
+ ..
Review Comment:
👍
I'll add it.
--
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-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org