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


##########
datafusion/sqllogictest/test_files/expr.slt:
##########
@@ -2288,39 +2288,39 @@ select struct(time,load1,load2,host) from t1;
 
 # can have an aggregate function with an inner coalesce
 query TR
-select t2.info['c3'] as host, sum(coalesce(t2.info)['c1']) from (select 
struct(time,load1,load2,host) as info from t1) t2 where t2.info['c3'] IS NOT 
NULL group by t2.info['c3'] order by host;
+select t2."struct(t1.time,t1.load1,t1.load2,t1.host)"['c3'] as host, 
sum(coalesce(t2."struct(t1.time,t1.load1,t1.load2,t1.host)")['c1']) from 
(select struct(time,load1,load2,host) from t1) t2 where 
t2."struct(t1.time,t1.load1,t1.load2,t1.host)"['c3'] IS NOT NULL group by 
t2."struct(t1.time,t1.load1,t1.load2,t1.host)"['c3'] order by host;

Review Comment:
   This reverts the change from 
https://github.com/apache/arrow-datafusion/pull/9894



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