ClickHouse/tests/queries/0_stateless/01039_test_setting_parse.sql

21 lines
979 B
SQL

SET max_memory_usage = '1G';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '3Gi';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1567k';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1234ki';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1567K';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1234Ki';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '12M';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '31Mi';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1T';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';
SET max_memory_usage = '1Ti';
SELECT value FROM system.settings WHERE name = 'max_memory_usage';