[ 
https://issues.apache.org/jira/browse/FLINK-10064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16569867#comment-16569867
 ] 

ASF GitHub Bot commented on FLINK-10064:
----------------------------------------

asfgit closed pull request #6497: [FLINK-10064] [table] Fix a typo in 
ExternalCatalogTable
URL: https://github.com/apache/flink/pull/6497
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogTable.scala
 
b/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogTable.scala
index 79da852f7b5..9576f346003 100644
--- 
a/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogTable.scala
+++ 
b/flink-libraries/flink-table/src/main/scala/org/apache/flink/table/catalog/ExternalCatalogTable.scala
@@ -88,7 +88,7 @@ class ExternalCatalogTable(
     * Returns whether this external table is declared as table sink.
     */
   def isTableSink: Boolean = {
-    isSource
+    isSink
   }
 
   /**


 

----------------------------------------------------------------
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:
us...@infra.apache.org


> Fix a typo in ExternalCatalogTable
> ----------------------------------
>
>                 Key: FLINK-10064
>                 URL: https://issues.apache.org/jira/browse/FLINK-10064
>             Project: Flink
>          Issue Type: Bug
>          Components: Table API & SQL
>    Affects Versions: 1.6.0
>            Reporter: Jun Zhang
>            Assignee: Jun Zhang
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.6.0
>
>
> Function *ExternalCatalogTable.IsTableSink* should return *isSink* not 
> *isSource*, I guess it was a small typo:
> {code:java}
> def isTableSink: Boolean = {
>  isSource
> }{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to