yjshen commented on pull request #1487: URL: https://github.com/apache/arrow-rs/pull/1487#issuecomment-1079723267
```rust #[tokio::test] async fn csv_query_with_decimal_by_sql() -> Result<()> { let mut ctx = SessionContext::new(); register_simple_aggregate_csv_with_decimal_by_sql(&mut ctx).await; let sql = "SELECT * from aggregate_simple order by c1, c2"; let actual = execute_to_batches(&ctx, sql).await; ... } ``` ``` thread 'sql::select::csv_query_with_decimal_by_sql' panicked at 'Executing physical plan for 'SELECT * from aggregate_simple order by c1, c2': SortExec { input: CoalescePartitionsExec { input: ProjectionExec { expr: [(Column { name: "c1", index: 0 }, "c1"), (Column { name: ............ sicalSortExpr { expr: Column { name: "c2", index: 1 }, options: SortOptions { descending: false, nulls_first: false } }], metrics_set: CompositeMetricsSet { mid: ExecutionPlanMetricsSet { inner: Mutex { data: MetricsSet { metrics: [] } } }, final_: ExecutionPlanMetricsSet { inner: Mutex { data: MetricsSet { metrics: [] } } } }, preserve_partitioning: false }: ArrowError(InvalidArgumentError("The data type type Decimal(10, 6) has no natural order"))', datafusion/tests/sql/mod.rs:547:49 ``` The error message is too long, so I cut the inner info -- 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-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org