Fix 02680_mysql_ast_logical_err in analyzer

This commit is contained in:
vdimir 2023-05-01 16:25:35 +00:00 committed by Vladimir C
parent 59401ce93c
commit 98d5aed34a
2 changed files with 4 additions and 3 deletions

View File

@ -123,7 +123,6 @@
02713_array_low_cardinality_string
02707_skip_index_with_in
02707_complex_query_fails_analyzer
02680_mysql_ast_logical_err
02324_map_combinator_bug
02241_join_rocksdb_bs
02003_WithMergeableStateAfterAggregationAndLimit_LIMIT_BY_LIMIT_OFFSET
@ -136,4 +135,4 @@
00261_storage_aliases_and_array_join
02701_non_parametric_function
01825_type_json_multiple_files
01281_group_by_limit_memory_tracking
01281_group_by_limit_memory_tracking

View File

@ -1,2 +1,4 @@
CREATE TABLE foo (key UInt32, a String, b Int64, c String) ENGINE = TinyLog;
SELECT count() FROM mysql(mysql('127.0.0.1:9004', currentDatabase(), 'foo', 'default', ''), '127.0.0.1:9004', currentDatabase(), 'foo', '', ''); -- { serverError UNKNOWN_FUNCTION }
-- SELECT count() FROM mysql(mysql('127.0.0.1:9004', currentDatabase(), 'foo', 'default', '', SETTINGS connection_pool_size = 1), '127.0.0.1:9004', currentDatabase(), 'foo', '', ''); -- { serverError UNKNOWN_FUNCTION }
SELECT count() FROM mysql(mysql('127.0.0.1:9004', currentDatabase(), 'foo', 'default', '', SETTINGS connection_pool_size = 1), '127.0.0.1:9004', currentDatabase(), 'foo', '', ''); -- { serverError UNKNOWN_FUNCTION, UNSUPPORTED_METHOD }