1- -- Tags: no-parallel, no-fasttest
1+ -- Tags: no-parallel, no-fasttest, no-parallel-replicas
22
33DROP TABLE IF EXISTS t_parquet_03262;
44
@@ -10,15 +10,15 @@ INSERT INTO t_parquet_03262 SELECT number FROM numbers(10) SETTINGS s3_truncate_
1010
1111SELECT COUNT (* )
1212FROM s3(s3_conn, filename = ' test_03262_*' , format = Parquet)
13- SETTINGS input_format_parquet_use_metadata_cache= 1 , optimize_count_from_files= 0 ;
13+ SETTINGS input_format_parquet_use_metadata_cache= 1 , use_query_condition_cache = 0 , optimize_count_from_files= 0 ;
1414
1515SELECT COUNT (* )
1616FROM s3(s3_conn, filename = ' test_03262_*' , format = Parquet)
17- SETTINGS input_format_parquet_use_metadata_cache= 1 , optimize_count_from_files= 0 , log_comment= ' test_03262_parquet_metadata_cache' ;
17+ SETTINGS input_format_parquet_use_metadata_cache= 1 , use_query_condition_cache = 0 , optimize_count_from_files= 0 , log_comment= ' test_03262_parquet_metadata_cache' ;
1818
1919SELECT COUNT (* )
2020FROM s3(s3_conn, filename = ' test_03262_*' , format = ParquetMetadata)
21- SETTINGS input_format_parquet_use_metadata_cache= 1 , log_comment= ' test_03262_parquet_metadata_format_metadata_cache' ;
21+ SETTINGS input_format_parquet_use_metadata_cache= 1 , use_query_condition_cache = 0 , optimize_count_from_files = 0 , log_comment= ' test_03262_parquet_metadata_format_metadata_cache' ;
2222
2323SYSTEM FLUSH LOGS;
2424
@@ -27,20 +27,20 @@ FROM system.query_log
2727where log_comment = ' test_03262_parquet_metadata_cache'
2828AND type = ' QueryFinish'
2929ORDER BY event_time desc
30- LIMIT 1 ;
30+ LIMIT 1 SETTINGS use_query_condition_cache = 0 ;
3131
3232SELECT ProfileEvents[' ParquetMetaDataCacheHits' ]
3333FROM system .query_log
3434where log_comment = ' test_03262_parquet_metadata_format_metadata_cache'
3535AND type = ' QueryFinish'
3636ORDER BY event_time desc
37- LIMIT 1 ;
37+ LIMIT 1 SETTINGS use_query_condition_cache = 0 ;
3838
3939SYSTEM DROP PARQUET METADATA CACHE;
4040
4141SELECT COUNT (* )
4242FROM s3(s3_conn, filename = ' test_03262_*' , format = Parquet)
43- SETTINGS input_format_parquet_use_metadata_cache= 1 , optimize_count_from_files= 0 , log_comment= ' test_03262_parquet_metadata_cache_cache_empty' ;
43+ SETTINGS input_format_parquet_use_metadata_cache= 1 , use_query_condition_cache = 0 , optimize_count_from_files= 0 , log_comment= ' test_03262_parquet_metadata_cache_cache_empty' ;
4444
4545SYSTEM FLUSH LOGS;
4646
@@ -49,13 +49,13 @@ FROM system.query_log
4949where log_comment = ' test_03262_parquet_metadata_cache_cache_empty'
5050AND type = ' QueryFinish'
5151ORDER BY event_time desc
52- LIMIT 1 ;
52+ LIMIT 1 SETTINGS use_query_condition_cache = 0 ;
5353
5454SELECT ProfileEvents[' ParquetMetaDataCacheMisses' ]
5555FROM system .query_log
5656where log_comment = ' test_03262_parquet_metadata_cache_cache_empty'
5757AND type = ' QueryFinish'
5858ORDER BY event_time desc
59- LIMIT 1 ;
59+ LIMIT 1 SETTINGS use_query_condition_cache = 0 ;
6060
6161DROP TABLE t_parquet_03262;
0 commit comments