alamb opened a new pull request, #3823:
URL: https://github.com/apache/arrow-datafusion/pull/3823
# Rationale for this change
Noticed while working on https://github.com/apache/arrow-datafusion/pull/3822
The `show all` command added by @waitingkuo in
https://github.com/apache/arrow-datafusion/pull/3455 is awesome!
When I do `show all` I am trying to verify the setting of a particular
configuration option. As coded now, the output comes out in some random order
(hash value I suspect):
Before:
```shell
❯ show all;
+-------------------------------------------------+---------+
| name | setting |
+-------------------------------------------------+---------+
| datafusion.execution.coalesce_target_batch_size | 4096 |
| datafusion.optimizer.filter_null_join_keys | false |
| datafusion.explain.physical_plan_only | false |
| datafusion.explain.logical_plan_only | false |
| datafusion.execution.coalesce_batches | true |
| datafusion.execution.batch_size | 8192 |
| datafusion.optimizer.skip_failed_rules | true |
| datafusion.execution.time_zone | UTC |
+-------------------------------------------------+---------+
11 rows in set. Query took 0.005 seconds.
```
After:
```shell
❯ show all;
+-------------------------------------------------+---------+
| name | setting |
+-------------------------------------------------+---------+
| datafusion.execution.batch_size | 8192 |
| datafusion.execution.coalesce_batches | true |
| datafusion.execution.coalesce_target_batch_size | 4096 |
| datafusion.execution.time_zone | UTC |
| datafusion.explain.logical_plan_only | false |
| datafusion.explain.physical_plan_only | false |
| datafusion.optimizer.filter_null_join_keys | false |
| datafusion.optimizer.skip_failed_rules | true |
+-------------------------------------------------+---------+
```
# What changes are included in this PR?
Add `ORDER BY` clause and test
# Are there any user-facing changes?
More helpful visibility into config options
--
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]