diff --git a/tests/integration/test_odbc_interaction/test.py b/tests/integration/test_odbc_interaction/test.py index 0ec89be9413fa536c3cbdac074347fe61e048d6b..084fc407f39950ce2a35b6624e62034ef5923804 100644 --- a/tests/integration/test_odbc_interaction/test.py +++ b/tests/integration/test_odbc_interaction/test.py @@ -262,18 +262,20 @@ def test_sqlite_odbc_cached_dictionary(started_cluster): assert_eq_with_retry(node1, "select dictGetUInt8('sqlite3_odbc_cached', 'Z', toUInt64(1))", "12") -def test_postgres_odbc_hached_dictionary_with_schema(started_cluster): +def test_postgres_odbc_hashed_dictionary_with_schema(started_cluster): conn = get_postgres_conn() cursor = conn.cursor() + cursor.execute("truncate table clickhouse.test_table") cursor.execute("insert into clickhouse.test_table values(1, 'hello'),(2, 'world')") node1.query("SYSTEM RELOAD DICTIONARY postgres_odbc_hashed") assert_eq_with_retry(node1, "select dictGetString('postgres_odbc_hashed', 'column2', toUInt64(1))", "hello") assert_eq_with_retry(node1, "select dictGetString('postgres_odbc_hashed', 'column2', toUInt64(2))", "world") -def test_postgres_odbc_hached_dictionary_no_tty_pipe_overflow(started_cluster): +def test_postgres_odbc_hashed_dictionary_no_tty_pipe_overflow(started_cluster): conn = get_postgres_conn() cursor = conn.cursor() + cursor.execute("truncate table clickhouse.test_table") cursor.execute("insert into clickhouse.test_table values(3, 'xxx')") for i in range(100): try: