Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Please see the Cloudera blog for information on the Cloudera Response to CVE-2021-4428

How to use preprepared statements correctly in PutCassandraQL

New Contributor

Hi,

I use putCassandraQL for my ingestion. I've started to use cql.args.N.values&types. Data is being ingested to DB but:

2017-06-27 12:36:16,388 WARN [cluster52-worker-434] com.datastax.driver.core.Cluster Re-preparing already prepared query INSERT INTO mykeyspace.mytable JSON ?;. Please note that prepa
ring the same query more than once is generally an anti-pattern and will likely affect performance. Consider preparing the statement only once.

How to avoid above WARN?

How to combine batch and prepare statements with this processor?

thanks in advance

Michal

0 REPLIES 0