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


##########
datafusion/core/src/dataframe.rs:
##########
@@ -1267,6 +1267,29 @@ mod tests {
         Ok(())
     }
 
+    #[tokio::test]
+    async fn cast_expr_test() -> Result<()> {
+        let df = test_table()
+            .await?
+            .select_columns(&["c2", "c3"])?
+            .limit(None, Some(1))?
+            .with_column("sum", cast(col("c2") + col("c3"), DataType::Int64))?;

Review Comment:
   Nice test 👍 



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