Skip to content

Akzestia/test-cql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 

Repository files navigation

Test repo for github-linguist grammar | CQL

For any questions, suggestions regarding grammar contact アクゼスティア

-- ALTER_KEYSPACE
ALTER KEYSPACE cycling
WITH REPLICATION = {
    'class' : 'SimpleStrategy',
    'replication_factor' : 2,
};

ALTER KEYSPACE food_cql
WITH REPLICATION = {
    'class': 'SimpleStrategy',
    'replication_factor': 1
} AND graph_engine = 'Core';
-- ALTER_MATERIALIZED_VIEW
ALTER MATERIALIZED VIEW cycling.cyclist_by_age
WITH comment = 'A most excellent and useful view'
AND bloom_filter_fp_chance = 0.02;

ALTER MATERIALIZED VIEW cycling.cyclist_by_age
WITH compression = {
    'sstable_compression' : 'DeflateCompressor',
    'chunk_length_kb' : 64
}
AND compaction = {
    'class' : 'SizeTieredCompactionStrategy',
    'max_threshold' : 64
};

ALTER MATERIALIZED VIEW cycling.cyclist_by_age
WITH caching = {
    'keys' : 'NONE',
    'rows_per_partition' : '15'
};

About

Test repo for github-linguist | CQL

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages