JingsongLi commented on a change in pull request #9971: [FLINK-14490][table]
Add methods for interacting with temporary objects
URL: https://github.com/apache/flink/pull/9971#discussion_r339441722
##########
File path:
flink-table/flink-table-planner/src/main/scala/org/apache/flink/table/api/internal/TableEnvImpl.scala
##########
@@ -73,7 +74,14 @@ abstract class TableEnvImpl(
new TableReferenceLookup {
override def lookupTable(name: String):
Optional[TableReferenceExpression] = {
JavaScalaConversionUtil
- .toJava(scanInternal(Array(name)).map(t => new
TableReferenceExpression(name, t)))
+ .toJava(
+ Try({
+ val unresolvedIdentifier = UnresolvedIdentifier.of(name)
Review comment:
Got it. You can put these comments to code.
----------------------------------------------------------------
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