alamb commented on code in PR #7617:
URL: https://github.com/apache/arrow-datafusion/pull/7617#discussion_r1334316107
##########
datafusion-cli/src/exec.rs:
##########
@@ -211,6 +211,15 @@ async fn exec_and_print(
let statements = DFParser::parse_sql_with_dialect(&sql, dialect.as_ref())?;
for statement in statements {
let plan = ctx.state().statement_to_plan(statement).await?;
+
+ // For plans like `Explain` ignore `MaxRows` option and always display
all rows
Review Comment:
👍
##########
datafusion-cli/src/exec.rs:
##########
@@ -211,6 +211,15 @@ async fn exec_and_print(
let statements = DFParser::parse_sql_with_dialect(&sql, dialect.as_ref())?;
for statement in statements {
let plan = ctx.state().statement_to_plan(statement).await?;
+
+ // For plans like `Explain` ignore `MaxRows` option and always display
all rows
Review Comment:
👍
--
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]