This commit is contained in:
János Benjamin Antal 2024-11-19 14:10:55 +00:00
parent 144fd4082b
commit 7f493c81d0

View File

@ -47,6 +47,6 @@ ALTER TABLE a\\n (DROP COLUMN b),\\n (DROP COLUMN c)
def test_move_partition_to_table_command():
INPUT = "SELECT formatQuery('ALTER TABLE a MOVE PARTITION tuple() TO TABLE b')"
EXPECTED_OUTPUT = "ALTER TABLE a\\n (MOVE PARTITION tuple() TO TABLE b)"
EXPECTED_OUTPUT = "ALTER TABLE a\\n (MOVE PARTITION tuple() TO TABLE b)\n"
result = node.query(INPUT)
assert result == EXPECTED_OUTPUT