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_r271222041
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/scala/expressionDsl.scala
##########
@@ -119,9 +119,15 @@ trait ImplicitExpressionOperations {
def unary_! : Expression = call(NOT, expr)
/**
- * Returns negative numeric.
+ * Returns negative numeric or inverse selection of columns.
*/
- def unary_- : Expression = call(MINUS_PREFIX, expr)
+ def unary_- : Expression = {
Review comment:
I think we using `MINUS_PREFIX` directly. It's valuable to do this effort.
Is that makes sense to you?
----------------------------------------------------------------
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