Skip to content

Conversation

@dkropachev
Copy link
Collaborator

Summary

  • Fix CQL engine not wrapping indexed collection columns (List, Set, Map) in frozen<...>
  • Without this fix, creating a table with indexed collection columns produces invalid CQL
  • Adds unit tests for indexed collection column freezing

Test plan

  • Unit tests added for List, Set, and Map columns with and without indices
  • Manual verification that column definitions now include frozen<...> wrapper

Fixes #162

When creating a model with indexed collection columns (List, Set, Map),
the CQL engine now properly wraps the collection type in frozen<...>.

This fixes the issue where creating a table with indexed collection
columns would produce invalid CQL without the frozen wrapper, leading
to errors when trying to create the index.

Fixes #162

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@dkropachev dkropachev self-assigned this Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CQL engine doesn't support indices on collection types

3 participants