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

Flavio Pompermaier commented on FLINK-17361:
--------------------------------------------

For the moment I can implement it without setting the read-only property of the 
table and the user will just get an exception if it tries to insert into it.
Then, when the tables will have such a mechanism to specify the read-only 
behavior it will be pretty easy to set it.

> Support creating of a JDBC table using a custom query
> -----------------------------------------------------
>
>                 Key: FLINK-17361
>                 URL: https://issues.apache.org/jira/browse/FLINK-17361
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table SQL / API
>            Reporter: Flavio Pompermaier
>            Priority: Major
>
> In a long discussion on the mailing list it has emerged how it is not 
> possible to create a JDBC table that extract data using a custom query.
> A temporary workaround could be to assign as 'connector.table' the target 
> query.
> However this is undesirable. 
> Moreover, in relation to https://issues.apache.org/jira/browse/FLINK-17360, a 
> query could be actually a statement that requires parameters to be filled by 
> the custom parameter values provider



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

Reply via email to