-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Closed
Copy link
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI
Description
Important: This issue was automatically generated and is used by CI for matching failures. DO NOT modify the body content. DO NOT remove labels.
Test name: Logical error: 'Inconsistent AST formatting in Function_divide: the query: (STID: 1941-1bfa)
CI report: BuzzHouse (amd_debug)
CIDB statistics: cidb
Test output:
Error:
Logical error: 'Inconsistent AST formatting in Function_divide: the query:
EXPLAIN SYNTAX WITH (+-16)[3] / randomString(461) AS `a0`, cte0d0 AS (SELECT `c0`, `c1`, `c2`, `c3`, `c4` FROM (WITH indexHint(22::UInt64) AS `a1`, 0.962 AS `a2` SELECT DISTINCT intervalLengthSum(DIST...
Formatted as:
EXPLAIN SYNTAX WITH (-(16)[3]) / randomString(461) AS a0, cte0d0 AS (SELECT c0, c1, c2, c3, c4 FROM (WITH indexHint(CAST('22', 'UInt64')) AS a1, 0.962 AS a2 SELECT DISTINCT intervalLengthSumDistinct(C...
w0 AS (ROWS BETWEEN UNBOUNDED PRECEDING AND 5 FOLLOWING),
w1 AS (ORDER BY (a2, a1, a2) ASC, sumOrDefaultDistinct(CAST('959230691832896684035', 'UInt128')) OVER (PARTITION BY CAST('ddfd30b7-1ee0-53fd-1273-177357f12b57', 'UUID'), a2, a1) ASC NULLS ...
w2 AS (ORDER BY a1 ASC NULLS LAST) QUALIFY (a4 <= a3) AND (a3.^`1` = `a3.keys`) AND (NOT (((`a5.size0`[0]) < NULL) OR ((`a5.size0`[0]) > JSONSharedDataPaths(a4)))) ORDER BY 1 DESC NULLS LA...
Was parsed and formatted back as:
EXPLAIN SYNTAX WITH (-(16[3])) / randomString(461) AS a0, cte0d0 AS (SELECT c0, c1, c2, c3, c4 FROM (WITH indexHint(CAST('22', 'UInt64')) AS a1, 0.962 AS a2 SELECT DISTINCT intervalLengthSumDistinct(C...
w0 AS (ROWS BETWEEN UNBOUNDED PRECEDING AND 5 FOLLOWING),
---
Failed query:
WITH (-(16)[3]) / randomString(461) AS a0, cte0d0 AS (SELECT c0, c1, c2, c3, c4 FROM (WITH indexHint(CAST('22', 'UInt64')) AS a1, 0.962 AS a2 SELECT DISTINCT intervalLengthSumDistinct(CAST('15', 'Int1...
---
Stack trace:
pthread_kill@@GLIBC_2.34 @ 0x00000000000969fd
raise @ 0x0000000000042476
__lgamma_r_finite@GLIBC_2.15 @ 0x00000000000287f3
src/Common/Exception.cpp:54: DB::abortOnFailedAssertion(String const&, std::basic_string_view<char, std::char_traits<char>>, void* const*, unsigned long, unsigned long) @ 0x0000000015c9113c
src/Common/Exception.cpp:87: DB::handle_error_code(String const&, std::basic_string_view<char, std::char_traits<char>>, int, bool, std::vector<void*, std::allocator<void*>> const&) @ 0x0000000015c9258...
src/Common/Exception.cpp:138: DB::Exception::Exception(DB::Exception::MessageMasked&&, int, bool) @ 0x0000000015c928a5
src/Common/Exception.h:123: DB::Exception::Exception(String&&, int, String, bool) @ 0x000000000d632754
src/Common/Exception.h:58: DB::Exception::Exception(PreformattedMessage&&, int) @ 0x000000000d6322d3
src/Common/Exception.h:141: DB::Exception::Exception<String, std::basic_string_view<char, std::char_traits<char>>&, String&, String&>(int, FormatStringHelperImpl<std::type_identity<String>::type, std:...
src/Interpreters/executeQuery.cpp:1284: DB::executeQueryImpl(char const*, char const*, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum, std::unique_ptr<DB::ReadBuffer, std...
src/Interpreters/executeQuery.cpp:1959: DB::executeQuery(String const&, std::shared_ptr<DB::Context>, DB::QueryFlags, DB::QueryProcessingStage::Enum) @ 0x000000001c2865d4
src/Server/TCPHandler.cpp:776: DB::TCPHandler::runImpl() @ 0x000000001fa99f89
src/Server/TCPHandler.cpp:2866: DB::TCPHandler::run() @ 0x000000001fab5064
base/poco/Net/src/TCPServerConnection.cpp:40: Poco::Net::TCPServerConnection::start() @ 0x0000000025f912ce
base/poco/Net/src/TCPServerDispatcher.cpp:115: Poco::Net::TCPServerDispatcher::run() @ 0x0000000025f9193b
base/poco/Foundation/src/ThreadPool.cpp:205: Poco::PooledThread::run() @ 0x0000000025f31e3f
base/poco/Foundation/src/Thread_POSIX.cpp:341: Poco::ThreadImpl::runnableEntry(void*) @ 0x0000000025f2f4cf
start_thread @ 0x0000000000094ac3
__clone3 @ 0x00000000001268c0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
fuzzProblem found by one of the fuzzersProblem found by one of the fuzzerstestingSpecial issue with list of bugs found by CISpecial issue with list of bugs found by CI