Vitaly Baranov
2162a19d35
Fix flaky tests.
2021-03-30 19:19:35 +03:00
Vitaly Baranov
25b88afa66
Add more tests for quota consumption by the SHOW statement.
2021-03-09 18:01:34 +03:00
Vitaly Baranov
298130402e
SYSTEM queries now consume quota.
2021-02-16 23:54:05 +03:00
Vitaly Baranov
f83be158ba
SHOW TABLES is now considered as one query in the quota calculations, not two queries.
2021-02-16 23:53:58 +03:00
JackyWoo
77c0f0a0e7
add quota type QUERY_SELECTS and QUERY_INSERTS
2021-02-07 10:57:18 +08:00
Azat Khuzhin
9cb3c743bd
Convert to python3 ( #15007 )
2020-10-02 19:54:07 +03:00
bharatnc
b75963d370
Format and optimize imports in integration test files
...
This PR formats all the `*.py` files found under the `tests/integration`
folder. It also reorders the imports and cleans up a bunch of unused
imports.
The formatting also takes care of other things like wrapping lines and
fixing spaces and indents such that the tests look more readable.
2020-09-15 23:10:54 -07:00
Yatsishin Ilya
160776f183
Add explicit main_configs, user_configs and dictionaries in integration tests.
2020-08-12 11:55:04 +03:00
Vitaly Baranov
a40885fa84
Add new command SHOW ACCESS.
2020-06-15 22:07:47 +03:00
Vitaly Baranov
9fe47df2e8
Support multiple users/roles in SHOW CREATE USER(ROLE, etc.) and SHOW GRANTS FOR commands.
...
Support syntax "SHOW CREATE USER ALL" and "SHOW GRANTS FOR ALL".
2020-06-15 22:07:47 +03:00
Vitaly Baranov
4bd00b02e2
Improve syntax of CREATE QUOTA. Now resource types and key types could be written with underscores.
...
Also rename columns key_type=>keys and source=>storage in table system.quotas.
2020-06-15 20:10:34 +03:00
Vitaly Baranov
5b84121d81
Improve system tables for quotas. Remove function currentQuota().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
d548c7e381
Simplify DCL for creating quotas.
2020-04-09 10:22:51 +03:00
Ivan
97f2a2213e
Move all folders inside /dbms one level up ( #9974 )
...
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00