xuefuz commented on a change in pull request #6970: [FLINK-10696][Table API &
SQL]Add APIs to ExternalCatalog, CrudExternalCatalog and
InMemoryCrudExternalCatalog for views and UDFs
URL: https://github.com/apache/flink/pull/6970#discussion_r230161785
##########
File path:
flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/InMemoryExternalCatalog.scala
##########
@@ -98,6 +101,77 @@ class InMemoryExternalCatalog(name: String) extends
CrudExternalCatalog {
}
}
+ @throws[ViewAlreadyExistException]
+ override def createView(
+ viewName: String,
+ view: String,
Review comment:
I think it might be good to define a View class following the descriptor
approach, though the only thing significant might be just a query as a string.
I will update the doc accordingly.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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