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

Jark Wu commented on FLINK-16774:
---------------------------------

Thanks [~jackylau] for the doc. I think it's a reasonable feature to expose 
metadata information to external systems. However, I think expose public getter 
methods for HBaseUpsertSinkFunction is not a good way. Because,
1)  it's not guaranteed by any infetefaces. These methods maybe removed or 
broken after some release cycles. 
2) After FLIP-95, all the implementation of SinkFunction is an {{@Internal}} 
class. 
3) We have so many connectors, it's hard to keep track and mantain which 
methods should be exposed. 

In a word, we should propse some maintainable approach, e.g. Hive's Hook 
mechanism. However, I'm not familiar with Hive Hook, so pull in [~lirui].

Btw, is that possible to the the metainformation from Flink's Catalog? You can 
get the identifier names of source and sink from the query, and then access 
metadata via catalog. 


> expose HBaseUpsertSinkFunction hTableName and schema for other system
> ---------------------------------------------------------------------
>
>                 Key: FLINK-16774
>                 URL: https://issues.apache.org/jira/browse/FLINK-16774
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / HBase
>    Affects Versions: 1.10.0
>            Reporter: jackylau
>            Priority: Major
>             Fix For: 1.11.0
>
>
> i want to expose hTableName and schema of HBaseUpsertSinkFunction  such as 
> getTableName, getTableScheme for other system such as atlas and i think it is 
> needed



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to