Commit Graph

5436 Commits

Author SHA1 Message Date
李扬
748cd13fc3
Merge branch 'master' into improve_geohash 2023-06-28 15:02:05 +08:00
Alexey Milovidov
b5635887c3 Merge remote-tracking branch 'origin/refactor-subqueries-for-in' into many-fixes 2023-06-27 05:39:44 +02:00
Alexey Milovidov
a686833f8e Merge branch 'fix-logical-error-address-to-line-with-inlines' into many-fixes 2023-06-27 05:26:05 +02:00
Alexey Milovidov
4615aaacb6 Merge branch 'revert-50951' into many-fixes 2023-06-27 05:23:46 +02:00
Alexey Milovidov
d996dba7c3 Merge branch 'fix-msan-lower-upper' into many-fixes 2023-06-27 05:20:45 +02:00
Alexey Milovidov
1d55be0bdc Merge branch 'replace-trycatch' of github.com:rschu1ze/ClickHouse into many-fixes 2023-06-27 05:19:06 +02:00
Alexey Milovidov
e81b418137 Merge branch 'remove-siphash64-reference-keyed' into many-fixes 2023-06-27 05:16:37 +02:00
Alexey Milovidov
93884f4d34 Merge branch 'generic-transform' into many-fixes 2023-06-27 05:16:16 +02:00
Robert Schulze
45c263cbb5
Replace try/catch logic in hasTokenOrNull() by sth more lightweight 2023-06-26 15:06:58 +00:00
李扬
0e15266170
Merge branch 'master' into improve_geohash 2023-06-26 14:54:44 +08:00
Alexey Milovidov
8e6f665585 Fix build 2023-06-26 05:57:38 +02:00
Alexey Milovidov
b8e6bd3299
Merge branch 'master' into refactor-subqueries-for-in 2023-06-26 06:05:12 +03:00
Alexey Milovidov
477b707ff1 Revert "Merge pull request #50951 from ZhiguoZh/20230607-toyear-fix"
This reverts commit 6bbd0d144d, reversing
changes made to 74cb79769b.
2023-06-26 02:02:24 +02:00
Alexey Milovidov
071cd58be8 Fix "logical error" in addressToLineWithInlines 2023-06-25 08:31:02 +02:00
Alexey Milovidov
650e80663c Fix MSan report in lowerUTF8/upperUTF8 2023-06-25 05:59:02 +02:00
Alexey Milovidov
3ed86867f8 Remove sipHash128ReferenceKeyed 2023-06-24 23:06:13 +02:00
Alexey Milovidov
a7febd1c13 Backward compatibility 2023-06-24 08:28:23 +02:00
Alexey Milovidov
ed3ead3493 Add support for Nullable 2023-06-24 07:23:17 +02:00
Alexey Milovidov
3746e274b8 Support empty arrays 2023-06-24 07:23:15 +02:00
Alexey Milovidov
cb2d395410 Add generic implementation of function transform 2023-06-24 06:52:28 +02:00
Alexey Milovidov
396eb70426 Remove garbage from function transform 2023-06-24 05:49:12 +02:00
Alexey Milovidov
786987a29a Remove garbage from function transform 2023-06-24 05:49:12 +02:00
Yakov Olkhovskiy
09806bc363
Merge branch 'master' into cast-ipv6-to-ipv4 2023-06-23 10:53:46 -04:00
Andrey Zvonov
d4316c7189
Merge branch 'master' into zvonand-implicit-tz 2023-06-22 17:23:20 +02:00
Nikolai Kochetov
22e49748b5 Cleanup. 2023-06-22 14:23:04 +00:00
Nikolai Kochetov
a940031878 Merge branch 'master' into refactor-subqueries-for-in 2023-06-22 12:18:48 +02:00
Sema Checherinda
01de36f1fa
Merge pull request #50395 from CheSema/better-log
require `finalize()` call before d-tor for all writes buffers
2023-06-21 21:12:02 +02:00
Alexey Milovidov
f0d93d5b60
Merge pull request #51199 from ClickHouse/empty_array_get_name
Avoid initializing DateLUT from emptyArray function registration
2023-06-21 20:29:28 +03:00
Alexander Gololobov
a708adecee Pass element type as param to ctor 2023-06-21 14:04:45 +02:00
Andrey Zvonov
b4f2e4020d
Merge branch 'master' into zvonand-implicit-tz 2023-06-21 13:41:35 +02:00
Sema Checherinda
9b0c3359cf
Merge branch 'master' into better-log 2023-06-20 20:37:36 +02:00
Alexey Milovidov
ced1ae7287
Update emptyArray.cpp 2023-06-20 21:20:25 +03:00
Alexander Gololobov
29f6ce871d Avoid initializing DateLUT from emptyArray function registration 2023-06-20 19:00:41 +02:00
Maksim Kita
7e5017dd31 Fixed tests 2023-06-20 11:42:22 +03:00
Maksim Kita
aa28a1f259 Fixed tests 2023-06-20 11:42:22 +03:00
Maksim Kita
6e26fde707 Updated tests 2023-06-20 11:42:22 +03:00
Maksim Kita
129b97c727 JIT infrastructure refactoring 2023-06-20 11:42:22 +03:00
Andrey Zvonov
07191ce10d
Merge branch 'master' into zvonand-implicit-tz 2023-06-20 00:24:53 +02:00
Sergei Trifonov
5867f39fc7
Merge pull request #50675 from ClickHouse/unify-priorities-pools
Unify priorities for connection pools
2023-06-19 17:16:15 +02:00
Nikolai Kochetov
8e7d06e0a4 Remove isReady from FutureSet iface. 2023-06-19 12:56:24 +00:00
Sema Checherinda
cf31fdb4d5 no finalize at d-tor in compression 2023-06-16 16:38:18 +02:00
Sema Checherinda
1cb02e2710 do call finalize for all buffers 2023-06-16 16:38:18 +02:00
zvonand
4155d13d69 merge master and resolve conflict 2023-06-16 02:20:32 +02:00
zvonand
e60506f41b changes requested in review 2023-06-16 02:16:04 +02:00
Zhiguo Zhou
d780d0bab1 fix style
Move error throws in Transform to FunctionDateOrDateTimeToSomething.
2023-06-15 21:48:02 +08:00
Han Fei
9e81b2fd5d fix style 2023-06-15 21:48:02 +08:00
Zhiguo Zhou
d14299eb09 The general optimization of predicates with date/datetime converters
As is suggested in issue #15257, the function preimage is a general
solution to the optimization problem with predicates containing the
date and datetime converters. This commit implements the idea by
adding the new methods, hasInformationAboutPreimage and getPreimage,
to IFunction/IFunctionBase, and having the specific convert functions
define their own preimage. Moreover, we added a new pass in the
TreeOptimizer and a new AST visitor for in-place rewriting the AST
with the converters' preimage.

Specifically, the optimization is applied to toYear and toYYYYMM.
2023-06-15 21:48:02 +08:00
Kseniia Sumarokova
31e08635bf
Merge branch 'master' into unify-priorities-pools 2023-06-15 12:51:45 +02:00
Robert Schulze
edd29492c3
Merge pull request #50893 from rschu1ze/snowflake-crash
Fix LOGICAL_ERROR in snowflakeToDateTime*()
2023-06-14 09:42:21 +02:00
Robert Schulze
76f69f2b44
Revert overengineering 2023-06-13 15:52:06 +00:00