[
https://issues.apache.org/jira/browse/CASSANDRA-1759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jon Hermes updated CASSANDRA-1759:
----------------------------------
Attachment: 1759.txt
Similar to the patch for CASSANDRA-1527, this validates the creation of
ColumnDefs from YAML and then from thrift/avro.
For simplicity, both name and index need to be set or unset at the same time. I
don't think anyone is complaining that it's too hard to introduce non-obvious
bugs, so I'm being explicit here.
> Column MetaData: Index_name should not be allowed if index_type is not set.
> ---------------------------------------------------------------------------
>
> Key: CASSANDRA-1759
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1759
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 0.7 beta 3
> Reporter: Jon Hermes
> Assignee: Jon Hermes
> Fix For: 0.7.0
>
> Attachments: 1759.txt
>
>
> Giving an indexName starts the automatic index creation process.
> If indexType is not also set, then that process barfs.
> If a name is present, a type must be also (but the reverse is not necessarily
> true).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.