sunjincheng121 commented on a change in pull request #8087:
[FLINK-12029][table] Add column operations for TableApi
URL: https://github.com/apache/flink/pull/8087#discussion_r271232208
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/scala/expressionDsl.scala
##########
@@ -184,6 +190,11 @@ trait ImplicitExpressionOperations {
*/
def % (other: Expression): Expression = mod(other)
+ /**
+ * Column operation which indicates the range from left to right inclusive.
+ */
+ def to (other: Expression): Expression = call(COLUMNS_RANGE, expr, other)
Review comment:
Indicates the range from left to right, i.e. [left, right], which can be
used in columns selection, e.g.: columns(1 to 3). In future `to` can be using
other cases. what do you think?
----------------------------------------------------------------
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]
With regards,
Apache Git Services