georgecma opened a new issue, #31622:
URL: https://github.com/apache/beam/issues/31622

   ### What happened?
   
   Check my PR for tests that check for this condition failing. 
   
   Steps to reproduce:
   1. Create a ValueProvider<String> that provides a String query into 
CassandraIO.read.withQuery(new someQueryValueProvider()); The ValueProvider 
query can be a passthrough query e.g. "SELECT * FROM KEYSPACE.TABLE";
   2. Run CassandraIO Read 
   3. Note that CassandraIO fails. 
   
   The exact reason it fails is because CassandraIO read naively appends "AND" 
to all spec.query() values. In the reproduced steps, "SELECT * FROM 
KEYSPACE.TABLE" will change to "SELECT * FROM KEYSPACE.TABLE **AND** ..." which 
is invalid CQL syntax. 
   
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam YAML
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to