zhuqi-lucas commented on PR #14766:
URL: https://github.com/apache/datafusion/pull/14766#issuecomment-2668905606
Testing result:
```rust
/usr/bin/time -l cargo run --release -- --mem-pool-type fair -m 5G
--maxrows 1 -f '/Users/zhuqi/arrow-datafusion/benchmarks/data/external_sort.sql'
Finished `release` profile [optimized] target(s) in 0.26s
Running `/Users/zhuqi/arrow-datafusion/target/release/datafusion-cli
--mem-pool-type fair -m 5G --maxrows 1 -f
/Users/zhuqi/arrow-datafusion/benchmarks/data/external_sort.sql`
DataFusion CLI v45.0.0
0 row(s) fetched.
Elapsed 0.006 seconds.
+------------+-----------+-----------+--------------+------------+-----------------+------------+-------+------------+--------------+---------------+
| l_orderkey | l_partkey | l_suppkey | l_linenumber | l_quantity |
l_extendedprice | l_discount | l_tax | l_shipdate | l_commitdate |
l_receiptdate |
+------------+-----------+-----------+--------------+------------+-----------------+------------+-------+------------+--------------+---------------+
| 1 | 1551894 | 76910 | 1 | 17.00 | 33078.94
| 0.04 | 0.02 | 1996-03-13 | 1996-02-12 | 1996-03-22 |
| .
|
| .
|
| .
|
+------------+-----------+-----------+--------------+------------+-----------------+------------+-------+------------+--------------+---------------+
8192 row(s) fetched. (First 1 displayed. Use --maxrows to adjust)
Elapsed 4.129 seconds.
8.16 real 12.72 user 7.25 sys
5292523520 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
1334371 page reclaims
0 page faults
0 swaps
0 block input operations
0 block output operations
0 messages sent
0 messages received
0 signals received
1830 voluntary context switches
107473 involuntary context switches
296497285174 instructions retired
74662056546 cycles elapsed
5291681480 peak memory footprint
```
--
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]