@@ -291,7 +291,7 @@ def test_create_table():
291291 ),
292292 f"Kafka() SETTINGS kafka_broker_list = '127.0.0.1', kafka_topic_list = 'topic', kafka_group_name = 'group', kafka_format = 'JSONEachRow', format_avro_schema_registry_url = 'http://schema_user:{ password } @'" ,
293293 f"Kafka() SETTINGS kafka_broker_list = '127.0.0.1', kafka_topic_list = 'topic', kafka_group_name = 'group', kafka_format = 'JSONEachRow', format_avro_schema_registry_url = 'http://schema_user:{ password } @domain.com'" ,
294-
294+ f"Redis('localhost', 0, ' { password } ') PRIMARY KEY x;" ,
295295 ]
296296
297297 def make_test_case (i ):
@@ -370,6 +370,7 @@ def make_test_case(i):
370370 f"CREATE TABLE table32 (`x` int) ENGINE = AzureBlobStorage('{ masked_sas_conn_string } ', 'exampledatasets', 'example.csv')" ,
371371 "CREATE TABLE table33 (`x` int) ENGINE = Kafka SETTINGS kafka_broker_list = '127.0.0.1', kafka_topic_list = 'topic', kafka_group_name = 'group', kafka_format = 'JSONEachRow', format_avro_schema_registry_url = 'http://schema_user:[HIDDEN]@'" ,
372372 "CREATE TABLE table34 (`x` int) ENGINE = Kafka SETTINGS kafka_broker_list = '127.0.0.1', kafka_topic_list = 'topic', kafka_group_name = 'group', kafka_format = 'JSONEachRow', format_avro_schema_registry_url = 'http://schema_user:[HIDDEN]@domain.com'" ,
373+ "CREATE TABLE table35 (`x` int) ENGINE = Redis('localhost', 0, '[HIDDEN]') PRIMARY KEY x" ,
373374 ],
374375 must_not_contain = [password ],
375376 )
@@ -487,6 +488,7 @@ def test_table_functions():
487488 f"gcs('http://minio1:9001/root/data/test11.csv.gz', 'minio', '{ password } ')" ,
488489 f"icebergS3('http://minio1:9001/root/data/test11.csv.gz', 'minio', '{ password } ')" ,
489490 f"icebergAzure('{ azure_storage_account_url } ', 'cont', 'test_simple_6.csv', '{ azure_account_name } ', '{ azure_account_key } ', 'CSV', 'none', 'auto')" ,
491+ f"redis('localhost', 'key', 'key Int64', 0, '{ password } ')" ,
490492 ]
491493
492494 def make_test_case (i ):
@@ -570,6 +572,7 @@ def make_test_case(i):
570572 "CREATE TABLE tablefunc40 (`x` int) AS gcs('http://minio1:9001/root/data/test11.csv.gz', 'minio', '[HIDDEN]')" ,
571573 "CREATE TABLE tablefunc41 (`x` int) AS icebergS3('http://minio1:9001/root/data/test11.csv.gz', 'minio', '[HIDDEN]')" ,
572574 f"CREATE TABLE tablefunc42 (`x` int) AS icebergAzure('{ azure_storage_account_url } ', 'cont', 'test_simple_6.csv', '{ azure_account_name } ', '[HIDDEN]', 'CSV', 'none', 'auto')" ,
575+ "CREATE TABLE tablefunc43 (`x` int) AS redis('localhost', 'key', 'key Int64', 0, '[HIDDEN]')" ,
573576 ],
574577 must_not_contain = [password ],
575578 )
0 commit comments