Skip to content
New issue

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

FORMAT JSON doesn't work with SETTING materialize_ttl_after_modify #227

Open
emfadei opened this issue Sep 24, 2024 · 0 comments
Open

FORMAT JSON doesn't work with SETTING materialize_ttl_after_modify #227

emfadei opened this issue Sep 24, 2024 · 0 comments

Comments

@emfadei
Copy link

emfadei commented Sep 24, 2024

After 190 the problem appeared

example
ALTER TABLE table
ON CLUSTER cluster
MODIFY TTL toStartOfMonth(created_at) + INTERVAL 3 MONTH
SETTINGS materialize_ttl_after_modify=0
FORMAT JSON;

return error - Syntax error: failed at position 157 ('FORMAT') (line 5, col 5): FORMAT JSON. Expected end of query.
It doesn't matter whether we add ON CLUSTER or not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant