Appendices

Appendix A: CQL Keywords

reserved and non-reserved keywords. Reserved keywords cannot be used as identifier, they are truly reserved for the language (but one can enclose a reserved keyword by double-quotes to use it as an identifier). Non-reserved keywords however only have a specific meaning in certain context but can used as identifier otherwise. The only raison d’être of these non-reserved keywords is convenience: some keyword are non-reserved when it was always easy for the parser to decide whether they were used as keywords or not.

Appendix B: CQL Reserved Types

The following type names are not currently used by CQL, but are reserved for potential future use. User-defined types may not use reserved type names as their name.

Appendix C: Dropping Compact Storage

Starting version 4.0, Thrift and COMPACT STORAGE is no longer supported. ALTER …​ DROP COMPACT STORAGE statement makes Compact Tables CQL-compatible, exposing internal structure of Thrift/Compact Tables:

  • column1 with UTF8Type.
  • value with BytesType.
  • regular will be come static
  • EmptyType)
  • SuperColumn Tables (can only be created through Thrift) will expose a compact value map with an empty name.
  • Thrift-created Compact Tables will have types corresponding to their Thrift definition.