julianhyde commented on a change in pull request #138:
URL: https://github.com/apache/calcite-avatica/pull/138#discussion_r578030177



##########
File path: core/src/main/java/org/apache/calcite/avatica/Meta.java
##########
@@ -647,11 +648,12 @@ public static CursorFactory create(@JsonProperty("style") 
Style style,
     public static final CursorFactory LIST =
         new CursorFactory(Style.LIST, null, null, null);
 
-    public static CursorFactory record(Class resultClazz) {
-      return new CursorFactory(Style.RECORD, resultClazz, null, null);
+    public static CursorFactory record(Class resultClass, List<Field> fields,
+                                       List<String> fieldNames) {
+      return record(Style.RECORD_PROJECTION, resultClass, fields, fieldNames);

Review comment:
       Fix the indentation of line 652, `List<String> fieldNames) {`. Then it 
will be clear in the diff that this method's signature has not changed.




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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to