jonahgao commented on code in PR #12126:
URL: https://github.com/apache/datafusion/pull/12126#discussion_r1728497112


##########
datafusion/core/src/dataframe/mod.rs:
##########
@@ -3699,4 +3699,32 @@ mod tests {
         assert!(result.is_err());
         Ok(())
     }
+
+    // Test issue: https://github.com/apache/datafusion/issues/12065
+    #[tokio::test]
+    async fn filtered_aggr_with_param_values() -> Result<()> {

Review Comment:
   This test on the main branch gave the following error
   ```
   Error: Context("type_coercion", SchemaError(FieldNotFound { field: 
       Column { relation: None, name: "count(table1.c2) FILTER (WHERE table1.c3 
> $1)" }, 
   
   valid_fields: [
       Column { relation: None, name: "count(table1.c2) FILTER (WHERE table1.c3 
> UInt64(10))" }
   ] }, Some("")))
   ```



-- 
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...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to