[
https://issues.apache.org/jira/browse/CASSANALYTICS-120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Saranya Krishnakumar updated CASSANALYTICS-120:
-----------------------------------------------
Description: If users set TTL column name or timestamp column name to be
mixed case, they have to set quote identifiers option to true for Cassandra to
resolve the column name correctly. Sometimes users miss setting quote
identifiers option and perRowTTL setting incorrectly overrides their existing
TTL with null values when bulk write job runs. This patch fixes this, by
comparing set name against quoted name and throws early if quotes are required.
(was: If users set TTL column name or timestamp column name to be mixed case,
they have to set quote identifiers option to true for Cassandra to resolve the
column name correctly. Sometimes users miss setting quote identifiers option
and perRowTTL setting incorrectly overrides their existing TTL with null values
when bulk write job runs. This patch fixes this, by checking for mixed case
column names and setting quote identifiers option when required.)
> Quote identifiers option must be set to true if ttl has mixed case column name
> ------------------------------------------------------------------------------
>
> Key: CASSANALYTICS-120
> URL: https://issues.apache.org/jira/browse/CASSANALYTICS-120
> Project: Apache Cassandra Analytics
> Issue Type: Improvement
> Components: Writer
> Reporter: Saranya Krishnakumar
> Assignee: Saranya Krishnakumar
> Priority: Normal
> Time Spent: 1h
> Remaining Estimate: 0h
>
> If users set TTL column name or timestamp column name to be mixed case, they
> have to set quote identifiers option to true for Cassandra to resolve the
> column name correctly. Sometimes users miss setting quote identifiers option
> and perRowTTL setting incorrectly overrides their existing TTL with null
> values when bulk write job runs. This patch fixes this, by comparing set name
> against quoted name and throws early if quotes are required.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]