You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by ag...@apache.org on 2023/02/01 00:00:08 UTC

[arrow-datafusion] branch master updated: Add in-list test (#5135)

This is an automated email from the ASF dual-hosted git repository.

agrove pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c21a72c0 Add in-list test (#5135)
4c21a72c0 is described below

commit 4c21a72c075729bb8c731c551e5537c9e01d3231
Author: Nuttiiya Seekhao <37...@users.noreply.github.com>
AuthorDate: Tue Jan 31 19:00:01 2023 -0500

    Add in-list test (#5135)
---
 datafusion/substrait/tests/roundtrip.rs | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/datafusion/substrait/tests/roundtrip.rs b/datafusion/substrait/tests/roundtrip.rs
index f9bb53bd0..481e6c83e 100644
--- a/datafusion/substrait/tests/roundtrip.rs
+++ b/datafusion/substrait/tests/roundtrip.rs
@@ -186,6 +186,11 @@ mod tests {
         .await
     }
 
+    #[tokio::test]
+    async fn roundtrip_inlist() -> Result<()> {
+        roundtrip("SELECT * FROM data WHERE a IN (1, 2, 3)").await
+    }
+
     #[tokio::test]
     async fn roundtrip_inner_join() -> Result<()> {
         roundtrip("SELECT data.a FROM data JOIN data2 ON data.a = data2.a").await