Ted-Jiang opened a new issue, #3805:
URL: https://github.com/apache/arrow-datafusion/issues/3805
**Describe the bug**
A clear and concise description of what the bug is.
```
Finished dev [unoptimized + debuginfo] target(s) in 0.57s
Running `target/debug/datafusion-cli`
DataFusion CLI v13.0.0
❯ create external table test stored as parquet location
'/Users/yangjiang/test-data/tpch-1g/orders';
0 rows in set. Query took 0.015 seconds.
❯ select median(o_totalprice) from test;
ArrowError(InvalidArgumentError("number of columns(10) must match number of
fields(1) in schema"))
❯ select max(o_totalprice) from test;
+------------------------+
| MAX(test.o_totalprice) |
+------------------------+
| 555285.16 |
+------------------------+
1 row in set. Query took 0.181 seconds.
❯
````
**To Reproduce**
Steps to reproduce the behavior:
**Expected behavior**
A clear and concise description of what you expected to happen.
**Additional context**
Add any other context about the problem here.
--
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]