alamb commented on code in PR #4614:
URL: https://github.com/apache/arrow-datafusion/pull/4614#discussion_r1048337423


##########
datafusion/core/tests/sql/subqueries.rs:
##########
@@ -398,7 +398,7 @@ order by cntrycode;"#;
     \n                Projection: AVG(customer.c_acctbal) AS __value\
     \n                  Aggregate: groupBy=[[]], 
aggr=[[AVG(customer.c_acctbal)]]\
     \n                    Filter: customer.c_acctbal > 
Decimal128(Some(0),15,2) AND substr(customer.c_phone, Int64(1), Int64(2)) IN 
([Utf8(\"13\"), Utf8(\"31\"), Utf8(\"23\"), Utf8(\"29\"), Utf8(\"30\"), 
Utf8(\"18\"), Utf8(\"17\")])\
-    \n                      TableScan: customer projection=[c_phone, 
c_acctbal], partial_filters=[CAST(customer.c_acctbal AS Decimal128(30, 15)) > 
Decimal128(Some(0),30,15), substr(customer.c_phone, Int64(1), Int64(2)) IN 
([Utf8(\"13\"), Utf8(\"31\"), Utf8(\"23\"), Utf8(\"29\"), Utf8(\"30\"), 
Utf8(\"18\"), Utf8(\"17\")]), customer.c_acctbal > Decimal128(Some(0),15,2)]";
+    \n                      TableScan: customer projection=[c_phone, 
c_acctbal], partial_filters=[customer.c_acctbal > Decimal128(Some(0),15,2) AS 
customer.c_acctbal > Decimal128(Some(0),30,15), substr(customer.c_phone, 
Int64(1), Int64(2)) IN ([Utf8(\"13\"), Utf8(\"31\"), Utf8(\"23\"), 
Utf8(\"29\"), Utf8(\"30\"), Utf8(\"18\"), Utf8(\"17\")]), customer.c_acctbal > 
Decimal128(Some(0),15,2)]";

Review Comment:
   👍 



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

Reply via email to