mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
Fix next batch of tests
This commit is contained in:
parent
880780c7a8
commit
8f6ca035d9
@ -333,7 +333,6 @@ std::string LocalServer::getInitialCreateTableQuery()
|
||||
/// Use regular file
|
||||
auto file_name = config().getString("table-file");
|
||||
table_file = quoteString(file_name);
|
||||
std::cerr << file_name << "\n";
|
||||
format_from_file_name = FormatFactory::instance().getFormatFromFileName(file_name, false);
|
||||
}
|
||||
|
||||
|
@ -176,7 +176,7 @@
|
||||
- users without password have readonly access.
|
||||
See also: https://www.shodan.io/search?query=clickhouse
|
||||
-->
|
||||
<listen_host>::</listen_host>
|
||||
<!-- <listen_host>::</listen_host> -->
|
||||
|
||||
|
||||
<!-- Same for hosts without support for IPv6: -->
|
||||
|
@ -118,8 +118,6 @@ String getObjectDefinitionFromCreateQuery(const ASTPtr & query)
|
||||
if (!create->is_dictionary)
|
||||
create->attach = true;
|
||||
|
||||
// create->columns_list->c
|
||||
|
||||
/// We remove everything that is not needed for ATTACH from the query.
|
||||
assert(!create->temporary);
|
||||
create->database.reset();
|
||||
|
@ -1,3 +1,5 @@
|
||||
SET convert_query_to_cnf = 0;
|
||||
|
||||
DROP TABLE IF EXISTS t0;
|
||||
|
||||
CREATE TABLE t0
|
||||
|
@ -1,5 +1,6 @@
|
||||
set log_queries = 1;
|
||||
set max_threads = 16;
|
||||
set prefer_localhost_replica = 1;
|
||||
|
||||
select sum(number) from remote('127.0.0.{1|2}', numbers_mt(1000000)) group by number % 2 order by number % 2;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
SET optimize_move_to_prewhere = 1;
|
||||
SET convert_query_to_cnf = 1;
|
||||
SET convert_query_to_cnf = 0;
|
||||
|
||||
DROP TABLE IF EXISTS prewhere_move_select_final;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
-- Tags: distributed
|
||||
|
||||
SET prefer_localhost_replica = 0;
|
||||
SET prefer_localhost_replica = 1;
|
||||
|
||||
DROP TABLE IF EXISTS tt6;
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
set short_circuit_function_evaluation = 'enable';
|
||||
set convert_query_to_cnf = 0;
|
||||
|
||||
select if(number > 0, intDiv(number + 100, number), throwIf(number)) from numbers(10);
|
||||
select multiIf(number == 0, 0, number == 1, intDiv(1, number), number == 2, intDiv(1, number - 1), number == 3, intDiv(1, number - 2), intDiv(1, number - 3)) from numbers(10);
|
||||
|
@ -1,3 +1,5 @@
|
||||
SET optimize_move_to_prewhere = 1;
|
||||
|
||||
DROP TABLE IF EXISTS t1;
|
||||
|
||||
CREATE TABLE t1 ( s String, f Float32, e UInt16 ) ENGINE = MergeTree ORDER BY tuple() SETTINGS min_bytes_for_wide_part = '100G';
|
||||
|
Loading…
Reference in New Issue
Block a user