You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2017/10/06 18:41:00 UTC

[jira] [Updated] (FLINK-7740) Add parameter support in CassandraInputFormat

     [ https://issues.apache.org/jira/browse/FLINK-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Metzger updated FLINK-7740:
----------------------------------
    Component/s: Cassandra Connector

> Add parameter support in CassandraInputFormat
> ---------------------------------------------
>
>                 Key: FLINK-7740
>                 URL: https://issues.apache.org/jira/browse/FLINK-7740
>             Project: Flink
>          Issue Type: Improvement
>          Components: Cassandra Connector
>            Reporter: Bin Wang
>            Priority: Minor
>
> I suggest to add a small improvement of CassandraInputFormat. It support CQL string as input only. I think adding parameter support is good for both security and make the CQL string simpler when there is a IN clause or the parameter value is very long.
> e.g. "SELECT col0, col1, col2 from keyspace.table0 where col0 in ? and col1>?"
> vs "SELECT col0, col1, col2 from keyspace.table0 where col0 in ('v0', 'v1','v2',...,'vn') and col > 12345678901234"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)