james-willis commented on code in PR #1065:
URL: https://github.com/apache/sedona-db/pull/1065#discussion_r3668643889


##########
rust/sedona-schema/src/matchers.rs:
##########
@@ -196,6 +196,13 @@ impl ArgMatcher {
         Arc::new(IsInteger {})
     }
 
+    /// Matches a list of integers (e.g. Spark's `Array[Int]`), covering
+    /// `List`/`LargeList`/`ListView`/`LargeListView`/`FixedSizeList` whose
+    /// element type is an integer.
+    pub fn is_integer_list() -> Arc<dyn TypeMatcher + Send + Sync> {
+        Arc::new(IsIntegerList {})
+    }

Review Comment:
   done. good idea. This will help with RS_Values as well.



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