mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update test.py
This commit is contained in:
parent
c7be8c226c
commit
672c952d39
@ -101,9 +101,9 @@ def test_join():
|
||||
|
||||
|
||||
def test_cannot_trick_row_policy_with_keyword_with():
|
||||
assert instance.query("WITH 0 AS a SELECT * FROM mydb.filtered_table1") == "1\t0\n1\t1\n"
|
||||
assert instance.query("WITH 0 AS a SELECT a, b FROM mydb.filtered_table1") == "1\t0\n1\t1\n"
|
||||
assert instance.query("WITH 0 AS a SELECT a FROM mydb.filtered_table1") == "1\n1\n"
|
||||
assert instance.query("WITH 0 AS a SELECT * FROM mydb.filtered_table1") == "0\t0\n0\t1\n"
|
||||
assert instance.query("WITH 0 AS a SELECT a, b FROM mydb.filtered_table1") == "0\t0\n0\t1\n"
|
||||
assert instance.query("WITH 0 AS a SELECT a FROM mydb.filtered_table1") == "0\n0\n"
|
||||
assert instance.query("WITH 0 AS a SELECT b FROM mydb.filtered_table1") == "0\n1\n"
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user