twalthr commented on a change in pull request #11081: [FLINK-16033][table-api]
Introduced Java Table API Expression DSL
URL: https://github.com/apache/flink/pull/11081#discussion_r385004404
##########
File path:
flink-table/flink-table-api-scala/src/main/scala/org/apache/flink/table/api/expressionDsl.scala
##########
@@ -1160,6 +359,13 @@ trait ImplicitExpressionConversions {
}
}
+ implicit class FieldExpression(val sc: StringContext) {
+ def $(args: Any*): Expression = unresolvedRef(sc.s(args: _*))
+ }
+
+ implicit def apiExpressionToExpression(expr: ApiExpression): Expression =
Review comment:
Is this really necessary or just convenience? A ScalaDoc would help.
----------------------------------------------------------------
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