rubenada commented on a change in pull request #1918:
URL: https://github.com/apache/calcite/pull/1918#discussion_r417879912
##########
File path:
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableValues.java
##########
@@ -65,9 +65,20 @@ public static EnumerableValues create(RelOptCluster cluster,
return new EnumerableValues(cluster, rowType, tuples, traitSet);
}
+ /** Creates an EnumerableValues. */
+ public static EnumerableValues create(Values input) {
+ final RelOptCluster cluster = input.getCluster();
Review comment:
I think the `copy` method should be handling that scenario
----------------------------------------------------------------
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]