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

[bug] NOCACHE directive is ignored when copying schema to clipboard #354

Open
javier opened this issue Nov 6, 2024 · 0 comments
Open

[bug] NOCACHE directive is ignored when copying schema to clipboard #354

javier opened this issue Nov 6, 2024 · 0 comments
Labels
bug Something isn't working web-console Issues relevant to "web-console" package

Comments

@javier
Copy link

javier commented Nov 6, 2024

When I create a table with a NOCACHE directive such as:

CREATE TABLE 'monsterTMP' (
  time TIMESTAMP,
  system SYMBOL capacity 256 CACHE,
  address SYMBOL capacity 256 CACHE,
  value DOUBLE,
  text VARCHAR,
  status SYMBOL NOCACHE
) timestamp (time) PARTITION BY DAY WAL;

And I then refresh the table list and copy the schema into the clipboard, the schema is missing the NOCACHE bit, which is unfortunate as the default is CACHE. We should explicitly always add CACHE or NOCACHE to symbol columns depending on table schema.

@javier javier added bug Something isn't working web-console Issues relevant to "web-console" package labels Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working web-console Issues relevant to "web-console" package
Projects
None yet
Development

No branches or pull requests

1 participant