CREATE USER 'test';
CREATE SETTINGS PROFILE 'foo';
ALTER USER 'test' SETTINGS PROFILE 'foo';
DROP SETTINGS PROFILE 'foo';
SELECT * FROM system.settings_profile_elements;
Code: 49. DB::Exception: Received from localhost:9000. DB::Exception: Invalid number of rows in Chunk column UInt64 position 3: expected 28, got 27.
DROP USER 'test';
SELECT * FROM system.settings_profile_elements;
-- It works again!
20.8.9.6