We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi.
CREATE TABLE ahe.up_daily_data ( `device_id` String COMMENT 'device_id', `clock` DateTime('Asia/Tehran') COMMENT 'clock ', `pt_text` Nullable(String) MATERIALIZED dictGet( 'ahe.tbl_meters_dict', 'pt_text', tuple(device_id) ) ) ENGINE = AggregatingMergeTree PARTITION BY toYYYYMM(clock) ORDER BY (clock, device_id) SETTINGS index_granularity = 8192;
above code no format to this :
CREATE TABLE ahe.up_daily_data ( `device_id` String COMMENT 'device_id', `clock` DateTime('Asia/Tehran') COMMENT 'clock ', `pt_text` Nullable(String) MATERIALIZED dictGet('ahe.tbl_meters_dict','pt_text',tuple(device_id)) ) ENGINE = AggregatingMergeTree PARTITION BY toYYYYMM(clock) ORDER BY (clock, device_id) SETTINGS index_granularity = 8192;
https://vscode-sqltools.mteixeira.dev/playground/formatter
The text was updated successfully, but these errors were encountered:
Is there any movement on this feature?
Sorry, something went wrong.
Nothing at the moment, nor any work scheduled on it.
@gjsjohnmurray it would be nice to have minimal working formatting. For help there is already cli for it https://clickhouse.com/docs/en/operations/utilities/clickhouse-format But it would be nice to have vscode extension for it
No branches or pull requests
hi.
above code no format to this :
https://vscode-sqltools.mteixeira.dev/playground/formatter
The text was updated successfully, but these errors were encountered: