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

SYSTEM DROP FORMAT SCHEMA CACHE does not work #61347

Closed
electrachong opened this issue Mar 13, 2024 · 2 comments
Closed

SYSTEM DROP FORMAT SCHEMA CACHE does not work #61347

electrachong opened this issue Mar 13, 2024 · 2 comments
Labels
potential bug To be reviewed by developers and confirmed/rejected.

Comments

@electrachong
Copy link

electrachong commented Mar 13, 2024

Describe what's wrong

Expected:
Able to run SYSTEM DROP FORMAT SCHEMA CACHE

Actual:

ch :) EXPLAIN SYNTAX SYSTEM DROP FORMAT SCHEMA CACHE;

Syntax error: failed at position 28 ('FORMAT'):

EXPLAIN SYNTAX SYSTEM DROP FORMAT SCHEMA CACHE;

Expected one of: DNS CACHE, MARK CACHE, UNCOMPRESSED CACHE, INDEX MARK CACHE, INDEX UNCOMPRESSED CACHE, MMAP CACHE, QUERY CACHE, COMPILED EXPRESSION CACHE, FILESYSTEM CACHE, SCHEMA CACHE, S3 CLIENT CACHE, REPLICA, DATABASE REPLICA

ch :) SYSTEM DROP FORMAT SCHEMA CACHE;

Syntax error: failed at position 13 ('FORMAT'):

SYSTEM DROP FORMAT SCHEMA CACHE;

Expected one of: DNS CACHE, MARK CACHE, UNCOMPRESSED CACHE, INDEX MARK CACHE, INDEX UNCOMPRESSED CACHE, MMAP CACHE, QUERY CACHE, COMPILED EXPRESSION CACHE, FILESYSTEM CACHE, SCHEMA CACHE, S3 CLIENT CACHE, REPLICA, DATABASE REPLICA

ch :) 

Does it reproduce on the most recent release?

The list of releases
Not sure

How to reproduce

  • Which ClickHouse server version to use: ClickHouse server version 23.5.3 revision 54462.
  • Which interface to use, if it matters: clickhouse-client

Additional context

May be related to: ClickHouse/clickhouse-java#1549

@electrachong electrachong added the potential bug To be reviewed by developers and confirmed/rejected. label Mar 13, 2024
@den-crane
Copy link
Contributor

den-crane commented Mar 13, 2024

23.5.3 is obsolete

DROP FORMAT SCHEMA was implemented with 23.10

v23.10.1.1976-stable.md:* Allow to drop cache for Protobuf format with SYSTEM DROP SCHEMA FORMAT CACHE [FOR Protobuf]. #55064 (Aleksandr Musorin).

@electrachong
Copy link
Author

I see, thanks for pointing out the version for which it got implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
potential bug To be reviewed by developers and confirmed/rejected.
Projects
None yet
Development

No branches or pull requests

2 participants