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


##########
datafusion/core/tests/sql/aggregates.rs:
##########
@@ -99,11 +99,11 @@ async fn aggregate_timestamps_count() -> Result<()> {
     .await;
 
     let expected = vec![
-        "+--------------+---------------+---------------+-------------+",
-        "| COUNT(nanos) | COUNT(micros) | COUNT(millis) | COUNT(secs) |",
-        "+--------------+---------------+---------------+-------------+",
-        "| 3            | 3             | 3             | 3           |",
-        "+--------------+---------------+---------------+-------------+",
+        
"+----------------+-----------------+-----------------+---------------+",
+        "| COUNT(t.nanos) | COUNT(t.micros) | COUNT(t.millis) | COUNT(t.secs) 
|",
+        
"+----------------+-----------------+-----------------+---------------+",
+        "| 3              | 3               | 3               | 3             
|",
+        
"+----------------+-----------------+-----------------+---------------+",

Review Comment:
   I double checked that the query plan shows `t.col` if there are no 
statistics by using datafusion-cli not from this branch 👍 
   
   ```sql
   ❯ select count(a) from './datafusion/core/tests/data/example.csv' as t limit 
1;
   +------------+
   | COUNT(t.a) |
   +------------+
   | 1          |
   +------------+
   ```



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