velvia commented on a change in pull request #8815:
URL: https://github.com/apache/arrow/pull/8815#discussion_r534387408



##########
File path: rust/datafusion/tests/sql.rs
##########
@@ -1496,6 +1496,25 @@ async fn csv_query_sum_cast() {
     execute(&mut ctx, sql).await;
 }
 
+#[tokio::test]
+async fn query_where_neg_num() -> Result<()> {
+    let mut ctx = ExecutionContext::new();
+    register_aggregate_csv_by_sql(&mut ctx).await;
+
+    // Negative numbers do not parse correctly as of Arrow 2.0.0
+    let sql = "select c7, c8 from aggregate_test_100 where c7 >= -2 and c7 < 
10";

Review comment:
       Done




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to