AMashenkov commented on code in PR #3433:
URL: https://github.com/apache/ignite-3/pull/3433#discussion_r1584418710


##########
modules/sql-engine/src/main/java/org/apache/ignite/internal/sql/engine/exec/TableRowConverterImpl.java:
##########
@@ -59,7 +60,16 @@ public class TableRowConverterImpl implements 
TableRowConverter {
         this.schemaDescriptor = schemaDescriptor;
         this.fullTupleSchema = fullTupleSchema;
 
-        this.skipTrimming = requiredColumns == null;
+        tupleFactory = requiredColumns == null ? () ->

Review Comment:
   Or maybe create a child class ProjectableTableRowConverter that accepts 
`requiredColumns`.
   In this case, you could replace a factory with a protected method, which can 
be overridden in a child class.



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