Bin Wang created FLINK-7740:
-------------------------------

             Summary: Add parameter support in CassandraInputFormat
                 Key: FLINK-7740
                 URL: https://issues.apache.org/jira/browse/FLINK-7740
             Project: Flink
          Issue Type: Improvement
            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)

Reply via email to