Commit Graph

2344 Commits

Author SHA1 Message Date
Nikita Mikhaylov
67fecc55a9 add tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
0be0fc810b fix tests 2021-07-13 10:50:39 +00:00
Nikita Mikhaylov
b92d47fcd0 fix build 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
356c11bb25 fix tests 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
c4b0d8f849 fix build 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
e0473be7d7 bump 2021-07-13 10:50:38 +00:00
Nikita Mikhaylov
6cdac2a56f link error 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
3f36a93656 better 2021-07-13 10:50:12 +00:00
Nikita Mikhaylov
246bb8b36f try gh client 2021-07-13 10:50:12 +00:00
Andr0901
f78480507e some fixes 2021-07-13 10:50:12 +00:00
Andr0901
fe075f407e add some cap and rect functions 2021-07-13 10:49:55 +00:00
Andr0901
4d75450e54 add tests 2021-07-13 10:49:55 +00:00
Andr0901
12219391d6 Initial commit 2021-07-13 10:49:54 +00:00
vdimir
a01f8c147d
Move check of null_map outside of loop in ConvertImpl::execute for toString 2021-07-13 09:52:31 +03:00
vdimir
c938a53e88
Fixes for FunctionConversion implementation for nulls 2021-07-13 09:48:05 +03:00
vdimir
b4c6a17eb2
Add ReturnType template parameter to FormatImpl::execute 2021-07-13 09:48:05 +03:00
vdimir
32b174403e
Nullable in ConvertImplGenericToString 2021-07-13 09:48:04 +03:00
vdimir
3a0a456549
Do not try catch in ConvertImpl::execute 2021-07-13 09:48:04 +03:00
vdimir
5b18480a49
Return null if value can't be converted in toString for nullable 2021-07-13 09:48:04 +03:00
vdimir
7c4c2b29c2
Do not throw exception for unexpected values in enum during to string conversion 2021-07-13 09:48:04 +03:00
huangzhaowei
c4fcdb8b91 Make toTimeZone monotonicity when timeZone is a constant value 2021-07-13 13:54:44 +08:00
alexey-milovidov
5295f7ebb2
Merge pull request #26235 from ClickHouse/check-non-deterministic-functions-in-keys
Check for non-deterministic functions in keys, including constant expressions
2021-07-13 02:46:44 +03:00
Kseniia Sumarokova
4a6b4d6c26
Merge pull request #25774 from liuneng1994/datatype-date32
Datatype Date32, support range 1925 to 2283
2021-07-12 20:33:39 +03:00
Alexey Milovidov
ff5c433f10 Check for non-deterministic functions in keys, including constant expressions 2021-07-12 08:58:19 +03:00
neng.liu
4669839fbb add comment and update ya.make 2021-07-11 04:55:42 -07:00
alexey-milovidov
757e5745f2
Merge pull request #25483 from qoega/update-h3
Update h3
2021-07-10 19:18:45 +03:00
alexey-milovidov
f95cd5b1e4
Merge pull request #26180 from ClickHouse/azat-subdomains
Merging #26041.
2021-07-10 19:16:01 +03:00
Maksim Kita
c17ab7db8e
Merge pull request #26147 from vitlibar/pad-functions-comments
Add comments for the implementations of the pad functions
2021-07-10 16:42:54 +03:00
Alexey Milovidov
d93fb6c93f Drop Arcadia 2021-07-10 11:54:43 +03:00
Alexey Milovidov
ee4b261857 Merge branch 'master' into update-h3 2021-07-10 11:52:39 +03:00
Alexey Milovidov
ba1442532b Fix build 2021-07-10 11:43:28 +03:00
Alexey Milovidov
e09467fd5a Merge with #26041 2021-07-10 11:29:54 +03:00
Alexey Milovidov
9ca38235aa Correct fix for #26041 2021-07-10 11:29:08 +03:00
alexey-milovidov
15069bf1ba
Merge pull request #21543 from hexiaoting/dev-map-bug
Add DataTypeMap support LowCardinality and FixedString type
2021-07-10 05:54:59 +03:00
Alexey Milovidov
354a57aea8 Drop Arcadia 2021-07-10 05:53:49 +03:00
alexey-milovidov
856892a817
Update geoToH3.cpp 2021-07-10 05:46:11 +03:00
Maksim Kita
f48c5af90c
Merge pull request #26118 from vdimir/issue-25993-join-get-lc
Do not use default impl for low cardinality for joinGet
2021-07-09 23:45:55 +03:00
alexey-milovidov
53f5c63e2c
Update geoToH3.cpp 2021-07-09 22:16:57 +03:00
alexey-milovidov
806bf3d99c
Merge pull request #26130 from kitaisreal/dict-get-has-complex-key-dictionary-key-argument-tuple-fix
Functions dictGet, dictHas complex key dictionary key argument tuple fix
2021-07-09 21:45:55 +03:00
Vitaly Baranov
b7cc1904cc Add comments to the implementations of the pad functions 2021-07-09 21:11:55 +03:00
Maksim Kita
03c4853451 Functions dictGet, dictHas complex key dictionary key argument tuple fix 2021-07-09 17:20:02 +03:00
Maksim Kita
59d5cff1fe
Merge pull request #26113 from ClickHouse/point-in-polygon-nan
Fix possible crash in `pointInPolygon` if the setting `validate_polygons` is turned off.
2021-07-09 16:41:43 +03:00
Maksim Kita
c73d53dda4
Merge pull request #26094 from zxc111/issue-9390
hex/bin functions support AggregateFunction states.
2021-07-09 16:41:07 +03:00
zxc111
0ec402ff64 castColumn instead of execute toString function 2021-07-09 18:35:26 +08:00
vdimir
95f8ca4e03
Do not use default impl for low cardinality for joinGet 2021-07-09 12:16:03 +03:00
alexey-milovidov
0bad945392
Update PolygonUtils.h 2021-07-09 06:49:08 +03:00
Vitaly Baranov
3fb0567887
Merge pull request #26075 from vitlibar/pad-functions
Pad functions
2021-07-09 06:46:23 +03:00
NengLiu
1d7d973dea change addWeeks delta's datatype from Int64 to Int32 2021-07-09 11:42:32 +08:00
NengLiu
e172ca240b change addQuarter delta's datatype from Int64 to Int32 2021-07-09 11:35:12 +08:00
alexey-milovidov
eafce775c9
Merge pull request #25452 from amosbird/jsonextractrawstring
JSONExtract String or Raw
2021-07-09 06:17:13 +03:00
alexey-milovidov
09c20d5d08
Update geoToH3.cpp 2021-07-09 06:15:53 +03:00
mergify[bot]
5814742656
Merge branch 'master' into update-h3 2021-07-09 03:13:19 +00:00
Alexey Milovidov
9290d6f112 Fix UBSan report in pointInPolygon 2021-07-09 06:06:21 +03:00
mergify[bot]
bbde9e2efd
Merge branch 'master' into dev-map-bug 2021-07-09 02:52:53 +00:00
Vitaly Baranov
3dfdcf4604 Improve implementation of leftPadString(), rename to leftPad(). Add new functions rightPad(), leftPadUTF8(), rightPadUTF8(). Add a test. 2021-07-08 23:39:29 +03:00
zxc111
e4b1e0619c hex/bin functions support AggregateFunction states. 2021-07-09 00:41:44 +08:00
neng.liu
e47aadfdef Merge branch 'datatype-date32' of https://github.com/liuneng1994/ClickHouse into datatype-date32 2021-07-08 00:09:48 -07:00
neng.liu
100d30a5ba fix pr comment 2021-07-08 00:06:36 -07:00
alesapin
aa86fac4e7 Fix unbundled build 2021-07-07 14:07:20 +03:00
alesapin
f0fc12d0dd Merge branch 'master' into evillique-nlp 2021-07-07 12:14:49 +03:00
Azat Khuzhin
5e120b8d37 Fix stack-buffer-overflow in custom TLDs due to StringHashTable copy 8 bytes at a time
ASan reports [1]:

    ==164==ERROR: AddressSanitizer: stack-buffer-overflow on address 0x7f0209dd4abf at pc 0x00000b75b7c5 bp 0x7f0209dd4760 sp 0x7f0209dd4758
    READ of size 8 at 0x7f0209dd4abf thread T4 (TCPHandler)
        0 0xb75b7c4 in auto StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::dispatch<StringHashTable<StringHashSetSubMaps<Allocator<true, true> > > const, StringRef const&, StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::FindCallable>(StringHashTable<StringHashSetSubMaps<Allocator<true, true> > > const&, StringRef const&, StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::FindCallable&&) obj-x86_64-linux-gnu/../src/Common/HashTable/StringHashTable.h:283:21
        1 0xb75b7c4 in StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::has(StringRef const&, unsigned long) const obj-x86_64-linux-gnu/../src/Common/HashTable/StringHashTable.h:365:16
        2 0xb75b7c4 in DB::TLDList::has(StringRef const&) const obj-x86_64-linux-gnu/../src/Common/TLDListsHolder.cpp:31:26
        3 0x1c4a6046 in void DB::ExtractFirstSignificantSubdomain<true>::executeCustom<DB::FirstSignificantSubdomainCustomLookup>(DB::FirstSignificantSubdomainCustomLookup const&, char const*, unsigned long, char const*&, unsigned long&, char const**) (/usr/bin/clickhouse+0x1c4a6046)
        4 0x1c4a3586 in DB::FunctionCutToFirstSignificantSubdomainCustomImpl<DB::CutToFirstSignificantSubdomainCustom<true>, DB::NameCutToFirstSignificantSubdomainCustom>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/usr/bin/clickhouse+0x1c4a3586)
        5 0x10d96e34 in DB::IFunction::executeImplDryRun(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/usr/bin/clickhouse+0x10d96e34)
        6 0x10d9648b in DB::FunctionToExecutableFunctionAdaptor::executeDryRunImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/usr/bin/clickhouse+0x10d9648b)
        7 0x200ed79b in DB::IExecutableFunction::executeWithoutLowCardinalityColumns(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const obj-x86_64-linux-gnu/../src/Functions/IFunction.cpp:212:15
        8 0x200ee436 in DB::IExecutableFunction::execute(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long, bool) const obj-x86_64-linux-gnu/../src/Functions/IFunction.cpp:257:22
        9 0x20cd6f6f in DB::ActionsDAG::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<DB::ActionsDAG::Node const*, std::__1::allocator<DB::ActionsDAG::Node const*> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) obj-x86_64-linux-gnu/../src/Interpreters/ActionsDAG.cpp:214:37
        10 0x2124c8a7 in DB::ScopeStack::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:570:51
        11 0x2125c80d in DB::ActionsMatcher::Data::addFunction(std::__1::shared_ptr<DB::IFunctionOverloadResolver> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.h:169:27
        12 0x2125c80d in DB::ActionsMatcher::visit(DB::ASTFunction const&, std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:1061:14
        13 0x212522fb in DB::ActionsMatcher::visit(DB::ASTFunction const&, std::__1::shared_ptr<DB::IAST> const&, DB::ActionsMatcher::Data&) obj-x86_64-linux-gnu/../src/Interpreters/ActionsVisitor.cpp:971:17
        14 0x2121354e in DB::InDepthNodeVisitor<DB::ActionsMatcher, true, std::__1::shared_ptr<DB::IAST> const>::visit(std::__1::shared_ptr<DB::IAST> const&) obj-x86_64-linux-gnu/../src/Interpreters/InDepthNodeVisitor.h:34:13
        15 0x211e17c7 in DB::ExpressionAnalyzer::getRootActions(std::__1::shared_ptr<DB::IAST> const&, bool, std::__1::shared_ptr<DB::ActionsDAG>&, bool) obj-x86_64-linux-gnu/../src/Interpreters/ExpressionAnalyzer.cpp:421:48
        16 0x21204024 in DB::ExpressionAnalyzer::getConstActions(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&) obj-x86_64-linux-gnu/../src/Interpreters/ExpressionAnalyzer.cpp:1423:5
        17 0x230f7216 in DB::KeyCondition::getBlockWithConstants(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::TreeRewriterResult const> const&, std::__1::shared_ptr<DB::Context const>) obj-x86_64-linux-gnu/../src/Storages/MergeTree/KeyCondition.cpp:385:103
        18 0x22877f9e in DB::(anonymous namespace)::replaceConstantExpressions(std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context const>, DB::NamesAndTypesList const&, std::__1::shared_ptr<DB::IStorage const>, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&) obj-x86_64-linux-gnu/../src/Storages/StorageDistributed.cpp:280:34
        19 0x22877f9e in DB::StorageDistributed::skipUnusedShards(std::__1::shared_ptr<DB::Cluster>, std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&, std::__1::shared_ptr<DB::Context const>) const obj-x86_64-linux-gnu/../src/Storages/StorageDistributed.cpp:1091:5
        20 0x2285d215 in DB::StorageDistributed::getOptimizedCluster(std::__1::shared_ptr<DB::Context const>, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&, std::__1::shared_ptr<DB::IAST> const&) const obj-x86_64-linux-gnu/../src/Storages/StorageDistributed.cpp:1015:32
        21 0x2285a9c4 in DB::StorageDistributed::getQueryProcessingStage(std::__1::shared_ptr<DB::Context const>, DB::QueryProcessingStage::Enum, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&, DB::SelectQueryInfo&) const obj-x86_64-linux-gnu/../src/Storages/StorageDistributed.cpp:500:40
        22 0x2183a4b2 in DB::InterpreterSelectQuery::getSampleBlockImpl() obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:616:31
        23 0x21828db4 in DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context const>, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&)::$_1::operator()(bool) const obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:506:25
        24 0x2181b652 in DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context const>, std::__1::shared_ptr<DB::IBlockInputStream> const&, std::__1::optional<DB::Pipe>, std::__1::shared_ptr<DB::IStorage> const&, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::shared_ptr<DB::StorageInMemoryMetadata const> const&) obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:509:5
        25 0x21817cbe in DB::InterpreterSelectQuery::InterpreterSelectQuery(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context const>, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectQuery.cpp:161:7
        26 0x21dd0eb5 in std::__1::__unique_if<DB::InterpreterSelectQuery>::__unique_single std::__1::make_unique<DB::InterpreterSelectQuery, std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context>&, DB::SelectQueryOptions&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&>(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context>&, DB::SelectQueryOptions&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2068:32
        27 0x21dd0eb5 in DB::InterpreterSelectWithUnionQuery::buildCurrentChildInterpreter(std::__1::shared_ptr<DB::IAST> const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectWithUnionQuery.cpp:212:16
        28 0x21dcd0e7 in DB::InterpreterSelectWithUnionQuery::InterpreterSelectWithUnionQuery(std::__1::shared_ptr<DB::IAST> const&, std::__1::shared_ptr<DB::Context const>, DB::SelectQueryOptions const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../src/Interpreters/InterpreterSelectWithUnionQuery.cpp:134:13
        29 0x211afe79 in std::__1::__unique_if<DB::InterpreterSelectWithUnionQuery>::__unique_single std::__1::make_unique<DB::InterpreterSelectWithUnionQuery, std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context>&, DB::SelectQueryOptions const&>(std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context>&, DB::SelectQueryOptions const&) obj-x86_64-linux-gnu/../contrib/libcxx/include/memory:2068:32
        30 0x211afe79 in DB::InterpreterFactory::get(std::__1::shared_ptr<DB::IAST>&, std::__1::shared_ptr<DB::Context>, DB::SelectQueryOptions const&) obj-x86_64-linux-gnu/../src/Interpreters/InterpreterFactory.cpp:110:16
        31 0x22273f97 in DB::executeQueryImpl(char const*, char const*, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, bool, DB::ReadBuffer*) obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:524:28
        32 0x22270ce2 in DB::executeQuery(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, bool, DB::QueryProcessingStage::Enum, bool) obj-x86_64-linux-gnu/../src/Interpreters/executeQuery.cpp:913:30
        33 0x23905879 in DB::TCPHandler::runImpl() obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:312:24
        34 0x2392b81c in DB::TCPHandler::run() obj-x86_64-linux-gnu/../src/Server/TCPHandler.cpp:1622:9
        35 0x2ab1fd8e in Poco::Net::TCPServerConnection::start() obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerConnection.cpp:43:3
        36 0x2ab20952 in Poco::Net::TCPServerDispatcher::run() obj-x86_64-linux-gnu/../contrib/poco/Net/src/TCPServerDispatcher.cpp:115:20
        37 0x2adfa3f4 in Poco::PooledThread::run() obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/ThreadPool.cpp:199:14
        38 0x2adf4716 in Poco::ThreadImpl::runnableEntry(void*) obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread_POSIX.cpp:345:27
        39 0x7f02e66f2608 in start_thread (/lib/x86_64-linux-gnu/libpthread.so.0+0x9608)
        40 0x7f02e6619292 in clone (/lib/x86_64-linux-gnu/libc.so.6+0x122292)

    Address 0x7f0209dd4abf is located in stack of thread T4 (TCPHandler) at offset 447 in frame
        0 0x1c4a2c6f in DB::FunctionCutToFirstSignificantSubdomainCustomImpl<DB::CutToFirstSignificantSubdomainCustom<true>, DB::NameCutToFirstSignificantSubdomainCustom>::executeImpl(std::__1::vector<DB::ColumnWithTypeAndName, std::__1::allocator<DB::ColumnWithTypeAndName> > const&, std::__1::shared_ptr<DB::IDataType const> const&, unsigned long) const (/usr/bin/clickhouse+0x1c4a2c6f)

      This frame has 16 object(s):
        [32, 40) 'ref.tmp.i168'
        [64, 72) 'tmp_data.i.i'
        [96, 104) 'tmp_length.i.i'
        [128, 136) 'domain_end.i.i'
        [160, 216) 'ref.tmp.i132'
        [256, 312) 'ref.tmp.i'
        [352, 360) 'tld_lookup'
        [384, 408) 'ref.tmp'
        [448, 472) 'ref.tmp11' <== Memory access at offset 447 partially underflows this variable
        [512, 536) 'ref.tmp14'
        [576, 632) 'ref.tmp20'
        [672, 696) 'ref.tmp65'
        [736, 760) 'ref.tmp66'
        [800, 824) 'ref.tmp67'
        [864, 888) 'ref.tmp68'
        [928, 952) 'ref.tmp78'
    HINT: this may be a false positive if your program uses some custom stack unwind mechanism, swapcontext or vfork
          (longjmp and C++ exceptions *are* supported)
    Thread T4 (TCPHandler) created by T0 here:
        0 0xb51940a in pthread_create (/usr/bin/clickhouse+0xb51940a)
        1 0x2adf3a9f in Poco::ThreadImpl::startImpl(Poco::SharedPtr<Poco::Runnable, Poco::ReferenceCounter, Poco::ReleasePolicy<Poco::Runnable> >) obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread_POSIX.cpp:202:6
        2 0x2adf699a in Poco::Thread::start(Poco::Runnable&) obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/Thread.cpp:128:2
        3 0x2adfa998 in Poco::PooledThread::start() obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/ThreadPool.cpp:85:10
        4 0x2adfa998 in Poco::ThreadPool::ThreadPool(int, int, int, int) obj-x86_64-linux-gnu/../contrib/poco/Foundation/src/ThreadPool.cpp:252:12
        5 0xb582c25 in DB::Server::main(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) obj-x86_64-linux-gnu/../programs/server/Server.cpp:915:22
        6 0x2ab511a5 in Poco::Util::Application::run() obj-x86_64-linux-gnu/../contrib/poco/Util/src/Application.cpp:334:8
        7 0xb56a89c in DB::Server::run() obj-x86_64-linux-gnu/../programs/server/Server.cpp:392:25
        8 0x2ab956f7 in Poco::Util::ServerApplication::run(int, char**) obj-x86_64-linux-gnu/../contrib/poco/Util/src/ServerApplication.cpp:611:9
        9 0xb566519 in mainEntryClickHouseServer(int, char**) obj-x86_64-linux-gnu/../programs/server/Server.cpp:171:20
        10 0xb56224a in main obj-x86_64-linux-gnu/../programs/main.cpp:366:12
        11 0x7f02e651e0b2 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x270b2)

    SUMMARY: AddressSanitizer: stack-buffer-overflow obj-x86_64-linux-gnu/../src/Common/HashTable/StringHashTable.h:283:21 in auto StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::dispatch<StringHashTable<StringHashSetSubMaps<Allocator<true, true> > > const, StringRef const&, StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::FindCallable>(StringHashTable<StringHashSetSubMaps<Allocator<true, true> > > const&, StringRef const&, StringHashTable<StringHashSetSubMaps<Allocator<true, true> > >::FindCallable&&)
    Shadow bytes around the buggy address:
      0x0fe0c13b2900: 00 00 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00
      0x0fe0c13b2910: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      0x0fe0c13b2920: f1 f1 f1 f1 f8 f2 f2 f2 00 f2 f2 f2 00 f2 f2 f2
      0x0fe0c13b2930: 00 f2 f2 f2 f8 f8 f8 f8 f8 f8 f8 f2 f2 f2 f2 f2
      0x0fe0c13b2940: f8 f8 f8 f8 f8 f8 f8 f2 f2 f2 f2 f2 00 f2 f2 f2
    =>0x0fe0c13b2950: f8 f8 f8 f2 f2 f2 f2[f2]00 00 00 f2 f2 f2 f2 f2
      0x0fe0c13b2960: 00 00 00 f2 f2 f2 f2 f2 f8 f8 f8 f8 f8 f8 f8 f2
      0x0fe0c13b2970: f2 f2 f2 f2 f8 f8 f8 f2 f2 f2 f2 f2 f8 f8 f8 f2
      0x0fe0c13b2980: f2 f2 f2 f2 f8 f8 f8 f2 f2 f2 f2 f2 f8 f8 f8 f2
      0x0fe0c13b2990: f2 f2 f2 f2 f8 f8 f8 f3 f3 f3 f3 f3 00 00 00 00
      0x0fe0c13b29a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    Shadow byte legend (one shadow byte represents 8 application bytes):
      Addressable:           00
      Partially addressable: 01 02 03 04 05 06 07
      Heap left redzone:       fa
      Freed heap region:       fd
      Stack left redzone:      f1
      Stack mid redzone:       f2
      Stack right redzone:     f3
      Stack after return:      f5
      Stack use after scope:   f8
      Global redzone:          f9
      Global init order:       f6
      Poisoned by user:        f7
      Container overflow:      fc
      Array cookie:            ac
      Intra object redzone:    bb
      ASan internal:           fe
      Left alloca redzone:     ca
      Right alloca redzone:    cb
      Shadow gap:              cc
    ==164==ABORTING

  [1]: https://clickhouse-test-reports.s3.yandex.net/26041/42a844546229e56c51a3ec986467ced52e4ed972/functional_stateless_tests_flaky_check_(address)/stderr.log

v2: Replace String with string_view in custom TLD for scalar
v3: use ColumnString::getDataAt()
2021-07-07 10:38:45 +03:00
Vladimir
b46ac3dfd1
Merge pull request #25609 from zxc111/master 2021-07-07 09:36:55 +03:00
Azat Khuzhin
42a8445462 Fix constness of custom TLDs
Before this patch the functions below returns incorrect type for consts,
and hence optimize_skip_unused_shards does not work:

- cutToFirstSignificantSubdomainCustom()
- cutToFirstSignificantSubdomainCustomWithWWW()
- firstSignificantSubdomainCustom()
2021-07-07 01:27:31 +03:00
vdimir
c6e13e6e2e
Add leading zeros in function bin 2021-07-06 15:19:42 +03:00
dankondr
869a41ffb9 Add leftPadString() function 2021-07-06 14:40:34 +03:00
Maksim Kita
cd89138d3e FunctionsLogical const result for non const arguments fix 2021-07-06 13:49:16 +03:00
Maksim Kita
4812116929 FunctionSQLJSON ContextPtr build fix 2021-07-06 13:08:09 +03:00
Kseniia Sumarokova
d2141ff53b
Merge pull request #24148 from l1tsolaiki/jsonpath
Jsonpath
2021-07-06 10:43:29 +03:00
alexey-milovidov
b724138541
Merge pull request #25786 from kssenii/inconsisteny
Fix inconsistent behaviour of GROUP BY constant on empty set
2021-07-06 03:36:50 +03:00
l1tsolaiki
1bbfbff003 Regenerate ya.make 2021-07-06 01:04:09 +03:00
Maksim Kita
f3d74c84fe
Merge pull request #25982 from CurtizJ/fix-map-json-format
Fix formatting of type `Map` with integer keys to `JSON`
2021-07-05 21:54:31 +03:00
vdimir
dd06866fa8
Fix unbin for corner cases 2021-07-05 14:56:39 +03:00
vdimir
231740f2d6
Function bin for uint uses writeBinByte, correct for single zero 2021-07-05 14:44:50 +03:00
Anton Popov
237b834629 fix clang-tidy 2021-07-05 13:29:36 +03:00
vdimir
cc13787888
Minor style changes for (un)bin/hex 2021-07-05 13:22:44 +03:00
Maksim Kita
cef9baf597
Merge pull request #25974 from zxc111/issue-3446
Add empty/notEmpty support UUID
2021-07-05 12:21:36 +03:00
l1tsolaiki
5b50fbde87 Also link jsonpath to functions 😨 2021-07-05 12:04:45 +03:00
l1tsolaiki
3b186d03f5 Change cmake lists 2021-07-05 11:56:09 +03:00
NengLiu
8b88988618 Merge branch 'master' into datatype-date32
# Conflicts:
#	src/DataStreams/PostgreSQLBlockInputStream.cpp
2021-07-05 10:18:38 +08:00
NengLiu
dc0c65ef4f Merge remote-tracking branch 'origin/master' into datatype-date32 2021-07-05 10:15:08 +08:00
Anton Popov
139482b5c9 fix formatting to json of Map type with integer keys 2021-07-05 03:35:27 +03:00
alexey-milovidov
fef7c557f6
Merge pull request #24789 from kitaisreal/compile-aggregation-functions
Compile aggregate functions
2021-07-05 02:57:49 +03:00
l1tsolaiki
7bcb57afe1 Fix failing special builds (probably) 2021-07-04 22:10:01 +03:00
zxc111
faac204a1f fix style 2021-07-05 00:01:49 +08:00
zxc111
15a36af4d6 Add empty/notEmpty support UUID #3446 2021-07-04 22:26:09 +08:00
kssenii
c060963875 Better 2021-07-04 13:33:10 +03:00
l1tsolaiki
520c4a8f8a Fix according to review 2021-07-04 12:10:16 +03:00
kssenii
92eed10f10 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-extract 2021-07-04 02:24:22 +03:00
alexey-milovidov
916177a197
Merge branch 'master' into dev-map-bug 2021-07-04 02:03:43 +03:00
kssenii
1776b06ef8 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into inconsisteny 2021-07-03 08:43:35 +00:00
mergify[bot]
7aaed42035
Merge branch 'master' into jsonextractrawstring 2021-07-02 23:13:00 +00:00
Maksim Kita
9f52e64805 FunctionInitializeAggregation build fix 2021-07-03 01:22:04 +03:00
Kseniia Sumarokova
fb6fc028bd
Update FunctionsJSON.h 2021-07-02 22:37:09 +03:00
zxc111
ace487278f refactory hex/unhex/bin/unbin 2021-07-03 02:08:17 +08:00
zxc111
12aea188b0 add bin/unbin support 2021-07-02 23:13:47 +08:00
Maksim Kita
3ae1278391 Fixed tests 2021-07-02 11:22:30 +03:00
Alexey Milovidov
0e621788c7 Allow constexpr parameters for aggregate functions 2021-07-02 03:53:08 +03:00
Maksim Kita
507d9405e2 Compile AggregateFunctionAvgWeighted 2021-07-01 22:56:36 +03:00
Kruglov Pavel
e23cf79338
Merge pull request #25596 from ildus/map_add_for_maps
Support Map type in mapAdd and mapSubtract
2021-07-01 21:08:07 +03:00
kssenii
9977629c89 Fix 2021-07-01 17:26:15 +00:00
kssenii
4d4ba4b5b1 More types for json functions 2021-07-01 16:46:34 +00:00
neng.liu
17bbfd7722 fix some test error 2021-07-01 08:13:43 -07:00
Ildus Kurbangaliev
c86739794f Change error code in mapAdd 2021-07-01 13:41:12 +02:00
Ildus Kurbangaliev
f56ae8f9cd
Apply suggestions from code review
Co-authored-by: Kruglov Pavel <48961922+Avogar@users.noreply.github.com>
2021-07-01 13:38:13 +02:00
Maksim Kita
567f6a2b6f
Merge pull request #25819 from egatov/master
METR-41529
2021-06-29 21:35:16 +03:00
kssenii
6816e8c5aa Revert change, fix injectiveness 2021-06-29 14:55:29 +00:00
Evgeniy Gatov
739966dc99 METR-41529 2021-06-29 17:51:53 +03:00
Ildus Kurbangaliev
5d89907ae9 Fix style errors 2021-06-29 00:34:45 +02:00
Maksim Kita
764380f701 Updated tests 2021-06-28 19:56:15 +03:00
neng.liu
ec7604b013 add parquet test and fix add interval error when type is date32 2021-06-28 16:36:54 +08:00
Maksim Kita
61b116332d Fixed tests 2021-06-27 20:53:02 +03:00
Maksim Kita
e6adc405d8 DateTime timezone fix 2021-06-27 20:53:02 +03:00
l1tsolaiki
7892e44467 Fix style yet again 😎 2021-06-25 21:14:08 +03:00
l1tsolaiki
6981eb64ac Fixes 2021-06-25 19:24:22 +03:00
l1tsolaiki
f8b1a6d185 WriteBuffer is canceled 😳 2021-06-25 18:33:31 +03:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
Nikita Mikhaylov
06bad99720
Update src/Functions/geoToH3.cpp
Co-authored-by: Bharat Nallan <bharatnc@gmail.com>
2021-06-25 17:07:46 +03:00
Yuriy Chernyshov
9dcd37b94d Enable MurmurHash in ArcadiaBuild 2021-06-24 12:04:40 +03:00
alexey-milovidov
6adf0955c2
Merge pull request #25400 from georgthegreat/murmurhash
Rename & reimport murmurhash sources from smhasher repo
2021-06-23 22:48:29 +03:00
Ildus Kurbangaliev
541c09d7b3 Fix tests errors 2021-06-23 15:03:58 +02:00
l1tsolaiki
abe7e4195e . 2021-06-23 15:02:47 +03:00
l1tsolaiki
ec7ec63a40 Fix style 2021-06-23 13:22:38 +03:00
l1tsolaiki
a5d3600f20 Fix compile errors with WriteBuffer 2021-06-23 12:41:38 +03:00
Ildus Kurbangaliev
0a937e7377 Support Map type in mapAdd and mapSubtract 2021-06-22 17:02:42 +02:00
Yatsishin Ilya
3578a79e08 fix style 2021-06-22 17:41:20 +03:00
tavplubix
a6a43ce3ee
Revert "Implement h3ToGeo function" 2021-06-22 17:25:21 +03:00
Nikita Mikhaylov
19b3659517
Merge pull request #24867 from bharatnc/ncb/h3-indexing-funcs
Implement h3ToGeo function
2021-06-22 15:59:09 +03:00
Neng Liu
aadc2af5cb add some functional test 2021-06-22 19:10:56 +08:00
Yatsishin Ilya
f2486ac8e9 changes 2021-06-22 12:23:27 +03:00
Neng Liu
7ed1728a37 Merge branch 'master' into datatype-date32
# Conflicts:
#	src/DataTypes/IDataType.h
#	src/Functions/CustomWeekTransforms.h
2021-06-22 10:00:18 +08:00
Amos Bird
0adad2425a
json extract string or raw 2021-06-21 21:36:42 +08:00
Nikolay Degterinsky
00154d3163 Minor fixes 2021-06-20 12:31:07 +00:00
Nikolay Degterinsky
491ddc859d Fixed spelling and code style, added generated ya.make files 2021-06-19 18:52:09 +00:00
Nikolay Degterinsky
014dbcbf49 Moved Lemmatizers & SynonymExtensions to Interpreters 2021-06-19 17:57:46 +00:00
Nikolay Degterinsky
076d666c8d Removed src and docs for tokenize & tokenizeWhitespace functions (old tokenize functions) 2021-06-19 13:03:27 +00:00
Nikolay Degterinsky
4fb23c25fb Added SplitByWhitespace & SplitByNonAlpha functions (new tokenize functions) 2021-06-19 12:33:36 +00:00
Vladimir
fab7c9c7f6
Merge pull request #24061 from vdimir/issue-23351 2021-06-18 11:07:28 +03:00
l1tsolaiki
1863a9beb0 Change stringstream to WriteBuffer 2021-06-18 02:15:15 +03:00
l1tsolaiki
e2765991b0 Separate star from ranges for better code 2021-06-18 01:53:10 +03:00
Alexey Milovidov
3e71181451 Whitespaces 2021-06-18 01:42:33 +03:00
Maksim Kita
b34b66c55d
Merge pull request #25394 from ClickHouse/function-bit-position-to-array-merge
Merging #23843
2021-06-18 01:31:33 +03:00
Maksim Kita
ca672b0a0d Function bitPositionsToArray added support for big integers 2021-06-17 22:32:39 +03:00
alesapin
9e77ca7182
Merge branch 'master' into nlp 2021-06-17 21:47:41 +03:00
l1tsolaiki
0c2d0b55a4 Merge branch 'jsonpath' of github.com:l1tsolaiki/ClickHouse into jsonpath 2021-06-17 18:26:14 +03:00
l1tsolaiki
f2d451e0ec
Merge branch 'ClickHouse:master' into jsonpath 2021-06-17 18:25:26 +03:00
neng.liu
45e9e9f8bb fix some compile problem 2021-06-17 08:08:29 -07:00
vdimir
23fb229dec
Merge branch 'update_01049_join_low_card_bug' into issue-23351 2021-06-17 15:38:40 +03:00
l1tsolaiki
f44d6792b0 Fix ext::range 2021-06-17 14:48:05 +03:00
Maksim Kita
6d44aa3034 Fixed style check 2021-06-17 13:26:40 +03:00
l1tsolaiki
8bac279cb8 Merge branch 'jsonpath' of github.com:l1tsolaiki/ClickHouse into jsonpath 2021-06-17 13:21:13 +03:00
l1tsolaiki
ff3857fbe7 Add root parsing 2021-06-17 13:18:43 +03:00
Maksim Kita
bc86b2b738 Updated function bitPositionsToArray before merge 2021-06-17 12:20:53 +03:00
Neng Liu
b6eab5fd2f add datetype32 function support 2021-06-17 16:05:30 +08:00
Yuriy Chernyshov
2bb1c75fb5 Rename & reimport murmurhash sources from smhasher repo 2021-06-17 10:58:42 +03:00
Maksim Kita
5b2380d541
Merge branch 'function-bit-position-to-array-merge' into feature-function-bitpositionToArray 2021-06-17 10:23:41 +03:00
Maksim Kita
37770f20fc
Merge pull request #25372 from ClickHouse/add-date-name-function-merge
Merging #23085
2021-06-17 10:16:32 +03:00
Alexey Milovidov
0f1a94bdef Merge branch 'master' into if-support-int-decimal 2021-06-17 01:53:58 +03:00
Maksim Kita
67e9b85951 Merge ext into common 2021-06-16 23:28:41 +03:00
Maksim Kita
ac2f9dd15a Updated function dateName before merge 2021-06-16 21:19:05 +03:00
Maksim Kita
d2df23a959
Function formatDateTime fix code comments (#25334) 2021-06-16 17:59:58 +03:00
Maksim Kita
5191fecb09
Merge pull request #23085 from dankondr/add-datename-function
[WIP] Add dateName function
2021-06-16 16:13:50 +03:00
Nikolai Kochetov
16675a4f4e
Merge pull request #25290 from ClickHouse/fix-lc-in-tuple-header
Fix invalid header for (LowCardinality IN (tuple)).
2021-06-16 15:37:25 +03:00
Nikolai Kochetov
d94b9c592d
Update in.cpp 2021-06-15 18:51:06 +03:00
Nikolai Kochetov
36e8c82161 Add comment. 2021-06-15 12:59:02 +03:00
Nikolai Kochetov
b6fc471270 Fix invalid header for (LowCardinality IN (tuple)). 2021-06-15 12:52:34 +03:00
vdimir
05115dcd32
Merge branch 'master' into issue-23351 2021-06-15 12:06:42 +03:00
Alexey Milovidov
0f9eb979aa Remove code and fix #20549 2021-06-15 06:54:24 +03:00
bharatnc
d073161455 h3ToGeo - try fix msan fuzzer errors 2021-06-14 17:13:53 -07:00
bharatnc
cabd4144da h3ToGeo - fixes to code 2021-06-14 11:38:38 -07:00
bharatnc
99ae863055 h3ToGeo - few fixes 2021-06-14 11:38:38 -07:00
bharatnc
e96f23d46b H3 - add function h3ToGeo 2021-06-14 11:38:38 -07:00
Kseniia Sumarokova
b9c77d9628
Merge branch 'master' into jsonpath 2021-06-14 11:43:31 +03:00
Alexey Milovidov
447d7bb8cd Minor changes 2021-06-14 07:13:35 +03:00
Maksim Kita
ca785c5a6f Add function toJSONString to ya.make 2021-06-13 18:17:07 +03:00
Maksim Kita
43a0c730ba
Merge pull request #25203 from kitaisreal/dictionaries-attribute-support-default-nullable-type
Dictionaries attribute support default nullable type
2021-06-13 11:46:53 +03:00
Maksim Kita
084bcb389c Fixed tests 2021-06-12 23:44:59 +03:00
Maksim Kita
2a016f52e9 Added tests 2021-06-12 13:53:03 +03:00
alexey-milovidov
05d1af153c
Merge branch 'master' into rename-const-context-ptr 2021-06-12 03:25:09 +03:00
Maksim Kita
0bd199eb50 Dictionaries attribute support default nullable type 2021-06-11 13:35:50 +03:00
Anton Popov
58005a30a8
Merge pull request #25164 from amosbird/tojsonstring
Add toJSONString function
2021-06-11 13:18:21 +03:00
alexey-milovidov
7616216f10
Merge pull request #25015 from ClickHouse/fix-wrong-code-in-aggregate-functions
Remove a chunk of wrong code and look what will happen
2021-06-11 00:36:35 +03:00
Amos Bird
65fe9dd461
Better serialization code 2021-06-10 19:14:20 +08:00
Amos Bird
94bfe539ac
toJSONString 2021-06-10 17:23:20 +08:00
Alexey Milovidov
b9a0817672 Fix clang-tidy 2021-06-09 14:07:21 +03:00
Azat Khuzhin
e0c1780370 Fix topLevelDomain() for IDN hosts 2021-06-09 10:59:56 +03:00
Azat Khuzhin
38ac83dff9 Update comments for getURLHost() 2021-06-09 10:59:10 +03:00
Neng Liu
88a0d0be62 add datetype32 part2 2021-06-08 20:31:41 +08:00
Pavel Kruglov
7dcbf7dbcd Fix bug function mapContains 2021-06-08 15:27:51 +03:00
Alexey Milovidov
885ce194e0 Making fundamentals correct 2021-06-07 00:49:55 +03:00
dankondr
9e83275d28 Make string arrays constexpr 2021-06-06 17:52:08 +03:00
Konstantin Rudenskii
bad7d56aaa Style again 😒 2021-06-06 16:00:46 +03:00
Konstantin Rudenskii
dfba5a479b Remove pragma once 2021-06-06 14:50:10 +03:00
Konstantin Rudenskii
582cc3daa9 Make 1st arg always be const, fix style 2021-06-06 14:13:13 +03:00
Konstantin Rudenskii
3f469fe0cd Style 2021-06-05 15:13:46 +03:00
Nikolay Degterinsky
fb217ca916 added LemmaGen lemmatizer 2021-06-05 00:52:35 +00:00
Nikolay Degterinsky
41f8c9546a merged registerFunctions 2021-06-05 00:49:13 +00:00
Konstantin Rudenskii
cdd13b5ab4 Style 2021-06-05 01:31:55 +03:00
Konstantin Rudenskii
14687eccf7 Fix dollar token for lexer 2021-06-05 01:15:47 +03:00
Nikolay Degterinsky
541669e39f code style fix 2021-06-04 21:52:44 +00:00
Nikolay Degterinsky
47611055c4 added function tokenizewhitespace() 2021-06-04 21:01:41 +00:00
mergify[bot]
d68d5e0ef1
Merge branch 'master' into rename-const-context-ptr 2021-06-04 14:41:41 +00:00
Nikolay Degterinsky
b22d5327da minor ContextPtr fix 2021-06-04 00:33:41 +00:00
Konstantin Rudenskii
bef8b4c2c6 Add 'inline' to DummyParser's << operator; don't throw exceptioin on
USE_RAPIDJSON
2021-06-04 01:50:01 +03:00
Konstantin Rudenskii
04daa9b5ed Second try to fix build 2021-06-04 00:17:51 +03:00
Nikolay Degterinsky
480da5838e merged and resolved the conflict in Context.cpp 2021-06-03 20:23:14 +00:00
Nikolay Degterinsky
ed12fb5604 added WordNet synonyms extensions 2021-06-03 19:28:12 +00:00
Konstantin Rudenskii
b00c3d8f5a Fix build (probably) 2021-06-03 21:50:16 +03:00
Kruglov Pavel
8acf031c1b
Merge pull request #24398 from Avogar/fix-deltasum
Fix logical error AggregateFunctionFactory returned nullptr
2021-06-03 19:40:06 +03:00
Nikolay Degterinsky
d12deb8128 implemented function synonyms() for plain extension type 2021-06-03 02:20:42 +00:00
Nikolay Degterinsky
79cef45351 isStopWord moved to its own branch 2021-06-02 23:41:06 +00:00
l1tsolaiki
b1177ef680
Merge pull request #2 from ClickHouse/master
Pull current master
2021-06-02 10:03:49 +03:00
Nikolai Kochetov
dbaa6ffc62 Rename ContextConstPtr to ContextPtr. 2021-06-01 15:20:52 +03:00
tavplubix
e9ff0b6d70
Merge pull request #23657 from kssenii/poco-file-to-std-fs
Poco::File to std::filesystem
2021-05-31 23:17:02 +03:00
Kruglov Pavel
51bca62ff3
Fix typo 2021-05-31 18:01:55 +03:00
Konstantin Rudenskii
819ad748a4 Fix IFunction 2021-05-29 16:53:55 +03:00
Konstantin Rudenskii
2035c0cd6a Change to IFunction 2021-05-29 16:15:58 +03:00
Konstantin Rudenskii
b9b28c3b7f Fix include 2021-05-29 15:34:39 +03:00
Konstantin Rudenskii
8199b45e95 Fix style
Fifth try v2.0

Fifth try v2.1

Fifth try v2.2

Fifth try v2.3

Fifth try v2.4

Fifth try v2.5

Fifth try v2.6

Fifth try v2.7

Fifth try v2.8

Fifth try v2.9

Fifth try v2.10

Fifth try v2.11

Fifth try v2.12

Fifth try v2.13

Fifth try v2.14

Fifth try v2.15

Fifth try v2.16

Fifth try v2.17

Fifth try v2.18

Fifth try v2.19

Fifth try v2.20

Fifth try v2.21

Fifth try v2.22

Fifth try v2.23

Fifth try v2.24

Fifth try v2.25

Fifth try v2.26

Fifth try v2.27

Fifth try v2.28

Add ranges

Add ranges try v1.1

Add ranges try v1.2

Add ranges try v1.3

Add ranges try v1.4

Add ranges try v1.5

Add ranges try v1.6

Add ranges try v1.7

Add ranges try v1.8

Add ranges try v1.9

Add ranges try v1.10

Add ranges try v1.11

Add ranges try v1.12

Add ranges try v1.13

Add ranges try v1.14

Add ranges try v1.15

Add ranges try v1.16

Add ranges try v1.17

Add ranges try v1.18

Add ranges try v1.19

Add ranges try v1.20

Add ranges try v1.21

Add ranges try v1.22

Add ranges try v1.23

Add ranges try v1.24

Add ranges try v1.25

Add ranges try v1.26

Add ranges try v1.27

Add ranges try v1.28

Add ranges try v1.29

Add ranges try v1.30

Add ranges try v1.31

Add ranges try v1.32

Add ranges try v1.33

Add ranges try v1.34

Add ranges try v1.35

Add ranges try v1.36

Add ranges try v1.37

Add ranges try v1.38

Add ranges try v1.39

Add ranges try v1.40

Add ranges try v1.41

Add ranges try v1.42

Add ranges try v1.43

Add ranges try v1.44

Add ranges try v1.45

Add ranges try v1.46

Add ranges try v1.47

Leftover comment

Try wildcard

Try wildcard v1.1

Try wildcard v1.2

Try wildcard v1.3

New functions

New functions 1.1

New functions 1.2

New functions 1.3

New functions 1.4

New functions 1.5

New functions 1.6

New functions 1.7

New functions 1.8

New functions 1.9

New functions 1.10

New functions 1.11

New functions 1.12

New functions 1.13

New functions 1.14

New functions 1.15

New functions 1.16

Final steps

Final steps v1.1

Final steps v1.2
2021-05-29 15:30:53 +03:00
kssenii
db9f4762eb Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-29 01:15:43 +03:00
Alexander Kuzmenkov
3f57fc085b remove mutable context references from functions interface
Also remove it from some visitors.
2021-05-28 19:45:37 +03:00
Nikolay Degterinsky
8369a6b302 minor include fix 2021-05-28 15:30:33 +00:00
Pavel Kruglov
d396f802c6 Fix typo 2021-05-28 15:39:36 +03:00
Pavel Kruglov
42d57138f2 replace all isDateOrDateTime invocations to explicit calls to isDate and isDateTime and isDateTime64 2021-05-28 15:34:49 +03:00
Nikolay Degterinsky
63bb8abf89 Merge branch 'master' into nlp 2021-05-28 10:26:42 +00:00
Nikolay Degterinsky
6ba997cad0 minor fix in function stem 2021-05-28 10:17:23 +00:00
Nikolay Degterinsky
30abdf3307 added isStopWord (first version) 2021-05-28 10:16:29 +00:00
alexey-milovidov
27cf84fcc7
Merge pull request #24587 from nikitamikhaylov/reopen-enable-tests-and-examples
Enable tests, utils and examples in builds with clang-tidy
2021-05-28 09:36:18 +03:00
Nikita Mikhaylov
c127c433c2 better 2021-05-27 23:43:00 +03:00
kssenii
a0d8d689d3 Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-27 15:44:12 +03:00
Anton Popov
8a71af5797
Merge pull request #24471 from CurtizJ/fix-cast-operator
Fix several cases in cast operator
2021-05-27 14:31:51 +03:00
kssenii
b28157a0df Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-27 00:01:25 +03:00
kssenii
73f16ee9ee Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-26 23:08:08 +03:00
Anton Popov
e1c86d3747
Merge pull request #24446 from amosbird/fixdate
Fix toWeek monotonicity
2021-05-26 15:32:03 +03:00
mergify[bot]
d6ada7df5c
Merge branch 'master' into fixdate 2021-05-26 02:38:10 +00:00
mergify[bot]
67e7030eae
Merge branch 'master' into modulo-partition-key 2021-05-25 15:39:17 +00:00
Anton Popov
453a1963d3
fix style 2021-05-25 16:40:55 +03:00
Anton Popov
ed180daf33
fix style 2021-05-25 16:40:03 +03:00
Anton Popov
35e2cc7b2b fix several cases in cast operator 2021-05-25 02:50:28 +03:00
kssenii
c3fc2ff04b Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into modulo-partition-key 2021-05-24 22:08:49 +00:00
Maksim Kita
ef2696bae5 Fixed IFunction then typos 2021-05-24 23:27:32 +03:00
Amos Bird
6ba29af871
Fix toWeek monotonicity 2021-05-24 23:52:02 +08:00
Maksim Kita
7af4d5b86d Fixed tests 2021-05-24 14:25:02 +03:00
Maksim Kita
af233007f6 Fixed code review issues 2021-05-24 12:30:28 +03:00
Maksim Kita
1a725d916b Upated LogicalFunctions 2021-05-24 10:16:12 +03:00
Maksim Kita
72fbb2dd54 Fixed tests 2021-05-24 10:16:12 +03:00
Maksim Kita
ed443c8941 Function constant result with nonconstant arguments 2021-05-24 10:16:12 +03:00
kssenii
b72f6ea78e Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into modulo-partition-key 2021-05-22 16:15:15 +00:00
mergify[bot]
96e22c1926
Merge branch 'master' into issue-23351 2021-05-21 10:31:40 +00:00
kssenii
3dee003f9b Merge branch 'master' of github.com:ClickHouse/ClickHouse into poco-file-to-std-fs 2021-05-20 19:20:09 +03:00
Maksim Kita
af78649e56
Merge pull request #24023 from kitaisreal/compile-expressions-comparison-function-constant-case-with-alias-fix
CompileExpressions comparison function constant case fix
2021-05-20 10:58:38 +03:00