Jyothsna Konisa created CASSANALYTICS-186:
---------------------------------------------

             Summary: AbstractSchemaBuilder.build() drops the cdc flag, 
silently disabling CDC on all tables
                 Key: CASSANALYTICS-186
                 URL: https://issues.apache.org/jira/browse/CASSANALYTICS-186
             Project: Apache Cassandra Analytics
          Issue Type: Bug
            Reporter: Jyothsna Konisa


Recent vector type commit in cassandra-analytics refactored SchemaBuilder (in 
cassandra-four-zero-types) into a shared AbstractSchemaBuilder base class so 
cassandra-four-zero-types and cassandra-five-zero-types could share common 
schema-building logic to support the new vector type. During the extraction, 
AbstractSchemaBuilder.build() dropped the trailing enableCdc argument from its 
new CqlTable(...) constructor cal and It just silently discards whatever 
enableCdc value was.

 // before (SchemaBuilder.build()):
 return new CqlTable(keyspace, metadata.name, createStmt, replicationFactor,
                     fields, new HashSet<>(udts.values()), indexCount, 
enableCdc);

 // after (AbstractSchemaBuilder.build()):
 return new CqlTable(keyspace, metadata.name, createStmt, replicationFactor,
                     fields, new HashSet<>(udts.values()), indexCount);



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to