Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Andersson007 committed Jan 28, 2025
1 parent 3b98b1c commit a5bc8d2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/integration/targets/clickhouse_grants/tasks/initial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

- name: Create a test dabase
community.clickhouse.clickhouse_client:
execute: CREATE DATABASE foo
execute: CREATE DATABASE IF NOT EXISTS foo

- name: Create a test table
register: result
Expand All @@ -14,15 +14,15 @@
client_kwargs:
connect_timeout: 20
execute: >
CREATE TABLE IF NOT EXISTS foo.test_table_1
(id UInt64, x String) ENGINE = Memory
CREATE TABLE IF NOT EXISTS foo.test_table1
(a String, b String, c String) ENGINE = Memory
execute_kwargs:
types_check: false

- name: Insert into test table using named args
register: result
community.clickhouse.clickhouse_client:
execute: "INSERT INTO test_table_1 (x) VALUES (%(a)s), (%(b)s), (%(c)s)"
execute: "INSERT INTO test_table1 (x) VALUES (%(a)s), (%(b)s), (%(c)s)"
execute_kwargs:
params:
a: one
Expand Down

0 comments on commit a5bc8d2

Please sign in to comment.