a-simeshin commented on code in PR #4259:
URL: https://github.com/apache/calcite/pull/4259#discussion_r2174408994


##########
core/src/test/java/org/apache/calcite/test/ReflectiveSchemaTest.java:
##########
@@ -972,4 +980,48 @@ public static class DateColumnSchema {
     assertNotNull(statistic);
     assertThat(statistic.getRowCount(), is(2D));
   }
+
+  public static final ReflectiveSchema COLLECTIONS_SCHEMA =
+      new ReflectiveSchema(new PetCollectionsSchema());
+
+  public static Stream<Arguments> collectionsSchemaFieldNames() {
+    return Stream.of(
+        Arguments.of("cats_array_list"),
+        Arguments.of("cats_linked_list"),
+        Arguments.of("cats_stack"),
+        Arguments.of("cats_vector"),
+        Arguments.of("cats_array_dequeue"),
+        Arguments.of("cats_hash_set"),
+        Arguments.of("cats_linked_hash_set"),
+        Arguments.of("cats_tree_set"));
+  }
+
+  /**
+   * Test that the Collections works as field of ReflectiveSchema.

Review Comment:
   Fixed



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