thomasrebele commented on code in PR #5093:
URL: https://github.com/apache/calcite/pull/5093#discussion_r3571619714


##########
file/src/main/java/org/apache/calcite/adapter/file/JsonScannableTable.java:
##########
@@ -46,11 +46,20 @@ public JsonScannableTable(Source source) {
   }
 
   @Override public Enumerable<@Nullable Object[]> scan(DataContext root) {
-    return new AbstractEnumerable<@Nullable Object[]>() {
-      @Override public Enumerator<@Nullable Object[]> enumerator() {
-        JavaTypeFactory typeFactory = root.getTypeFactory();
-        return new JsonEnumerator(getDataList(typeFactory));
-      }
-    };
+    return new JsconScannableTableEnumerable(root);
+  }
+
+  /** Enumerable for {@link JsonScannableTable}. */
+  private class JsconScannableTableEnumerable extends 
AbstractEnumerable<@Nullable Object[]> {

Review Comment:
   Sorry for the typo, 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