vdimir
47aa33408b
Resubmit "Analyzer: compute ALIAS columns right after reading"
...
This reverts commit 8141e1c3d1
, reversing
changes made to fb099bbd62
.
2024-03-01 14:53:02 +00:00
Alexander Tokmakov
2dedfd6cf9
Revert "Analyzer: compute ALIAS columns right after reading"
2024-02-29 14:22:07 +01:00
vdimir
5dd81f38fb
Merge pull request #59595 from ClickHouse/vdimir/analyzer/comute_alias_columns
...
Analyzer: compute ALIAS columns right after reading
2024-02-29 10:28:31 +01:00
Alexey Milovidov
9d75ab2023
Fix integration tests
2024-02-27 00:54:20 +01:00
vdimir
5a9026f39b
Analyzer: compute ALIAS columns right after reading
2024-02-26 16:15:05 +00:00
Alexey Milovidov
6c9e7073c7
Fix varieties and curiosities
2024-02-22 10:06:38 +01:00
Alexey Milovidov
2436cfb8af
Fix integration tests
2024-02-21 19:52:54 +01:00
Alexey Milovidov
19ef25a7d2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into fix-grammarly
2023-08-11 01:04:33 +02:00
robot-clickhouse
5b0b5284c5
Automatic style fix
2023-08-06 12:57:48 +00:00
Alexey Milovidov
ce2fcc8f33
Fix wording
2023-08-06 14:48:20 +02:00
pufit
f42cfddee7
Update test.py
2023-07-28 20:28:56 -04:00
Vitaly Baranov
2033ea1216
Support subqueries in row policy filters.
2022-10-21 15:42:29 +02:00
Vitaly Baranov
486a11a5e2
Fix flaky test test_row_policy.
2022-05-30 18:34:28 +02:00
Vitaly Baranov
69bec2f377
Users without assigned row policies can view rows now.
2022-05-07 14:50:24 +02:00
Mikhail f. Shiryaev
e6f5a3f98b
Apply black formatter to all *.py files in the repo
2022-03-22 17:39:58 +01:00
Alexey Milovidov
0ce4696c49
Revert "[WIP] New row policies"
2022-03-21 08:41:33 +03:00
Vitaly Baranov
afe6a1003a
Add new row policy kind: simple
2022-03-20 17:34:59 +01:00
Vitaly Baranov
98e48d7b54
SHOW CREATE ROW POLICY now always shows AS permissive/restrictive if there is TO section.
2022-03-17 15:28:53 +01:00
Vitaly Baranov
470582e262
Change type of RowPolicyKind: bool -> enum.
2022-03-17 15:28:05 +01:00
Vitaly Baranov
7b97c986cb
Revert "Allow restrictive row policies without permissive"
2022-02-21 06:54:28 +03:00
Vitaly Baranov
a4ef274aa1
Improve restrictive policies without permissive ones: in this case the result filter won't be calculated as False always anymore.
2022-02-17 14:18:15 +07:00
Vitaly Baranov
4b9db33ad7
The command "SHOW CREATE ROW POLICY" now shows "AS permissive" or "AS restrictive" before "TO" clause.
2022-02-17 14:18:15 +07:00
Vitaly Baranov
f4da321dbb
SHOW CREATE ROW POLICY now always outputs "AS permissive" or "AS restrictive".
2022-02-17 14:18:15 +07:00
Vitaly Baranov
2de6e8e575
Change type of RowPolicyKind: bool -> enum.
2022-02-17 14:18:10 +07:00
Vitaly Baranov
e148b43a29
Privileges CREATE/ALTER/DROP ROW POLICY now can be granted on a table or on database.* as well as globally *.*
2022-02-11 12:35:52 +07:00
Vitaly Baranov
b4791f1431
Add test.
2021-11-10 22:21:59 +03:00
Vitaly Baranov
2162a19d35
Fix flaky tests.
2021-03-30 19:19:35 +03:00
Denis Glazachev
4f57b68563
Fix the test
2021-02-21 13:22:41 +04:00
Denis Glazachev
dda1eb1f00
Fix the test
2021-02-21 13:17:58 +04:00
Denis Glazachev
ce6d2ff724
Fix the test
2021-02-20 22:14:12 +04:00
Denis Glazachev
8361904b4d
Add cases for throwIf()
2021-02-20 10:47:29 +04:00
Denis Glazachev
2ab643170d
Add 'SETTINGS optimize_move_to_prewhere = 0' in WHERE-only SELECTs
2021-02-20 00:45:19 +04:00
Denis Glazachev
bfccfd9eec
Fix tests
...
Add tests
WIP: Failures are legit!
2021-02-19 19:32:35 +04:00
Denis Glazachev
879d9206c1
Add tests for row-level security with prewhere
2021-02-19 02:47:28 +04:00
Denis Glazachev
6aa86846ac
Removing obsoleted test
2021-01-31 05:41:28 +04:00
Alexander Tokmakov
91cbd49e85
fix tests
2020-09-22 00:09:50 +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
b8b4bb331e
Add test.
2020-08-04 20:50:29 +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
bb0045a242
Add test for row policy that policy defined in users.xml affects only the user it assigned to.
2020-05-27 20:37:43 +03:00
Vitaly Baranov
e64e2ebdf6
Improve system table for row policies. Remove function currentRowPolicies().
2020-05-13 19:40:48 +03:00
Alexander Tokmakov
fefbbd37df
Merge branch 'master' into database_atomic
2020-04-22 17:02:30 +03:00
Alexander Kuzmenkov
da7eeb31d0
Update test.py
2020-04-20 22:37:50 +03:00
Alexander Kuzmenkov
672c952d39
Update test.py
2020-04-20 17:44:21 +03:00
Alexander Tokmakov
033d7f9b32
Merge branch 'master' into database_atomic
2020-04-10 17:12:09 +03:00
Vitaly Baranov
4d93577791
PREWHERE can be used now by user without row filtering.
2020-04-09 10:22:51 +03:00
Alexander Tokmakov
dd1590830b
Merge branch 'master' into database_atomic
2020-04-08 22:00:46 +03:00
Vitaly Baranov
e5d8f05251
Rename sql command "CREATE POLICY" -> "CREATE ROW POLICY", "CREATE POLICY" is now an alias.
2020-04-07 23:20:38 +03:00