Add test codec don't changes

This commit is contained in:
alesapin 2019-01-14 19:00:56 +03:00
parent 24b7214611
commit 84e3dbc2eb
2 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,7 @@ CODEC(ZSTD,LZ4HC,LZ4,LZ4,NONE)
2018-01-01 6 6
2018-01-01 7 7
2018-01-01 8 8
CODEC(ZSTD,LZ4HC,LZ4,LZ4,NONE)
CODEC(NONE,LZ4,LZ4HC,ZSTD)
2
1

View File

@ -36,6 +36,10 @@ INSERT INTO test.alter_compression_codec VALUES('2018-01-01', 8, '8');
OPTIMIZE TABLE test.alter_compression_codec FINAL;
SELECT * FROM test.alter_compression_codec ORDER BY id;
ALTER TABLE test.alter_compression_codec MODIFY COLUMN alter_column FixedString(100);
SELECT compression_codec FROM system.columns WHERE database = 'test' AND table = 'alter_compression_codec' AND name = 'alter_column';
DROP TABLE IF EXISTS test.alter_compression_codec;
DROP TABLE IF EXISTS test.alter_bad_codec;