alexey-milovidov
d0d1590d0d
Merge pull request #12271 from ClickHouse/fix-logical-functions-review
...
Fix minor issues in ternary logic
2020-07-08 05:33:37 +03:00
Alexey Milovidov
34e67b521a
Fix ugly ugliness
2020-07-08 04:56:50 +03:00
Alexey Milovidov
abf1e015b3
Add documentation for arrayFill
2020-07-08 04:44:24 +03:00
Alexey Milovidov
7138ccca2b
Whitespace
2020-07-08 01:44:29 +03:00
Azat Khuzhin
6a04de61b6
Allow isInjective() with empty block (is function injective with any arguments)
...
Since most of the time function will ignore it anyway, and creating
arguments just for checking is function injective or not is overkill
2020-07-08 00:28:49 +03:00
Alexey Milovidov
5ef4e90dfb
Fix minor issues after #12196
2020-07-07 23:56:40 +03:00
alexey-milovidov
0fdc29be1e
Merge pull request #12196 from ClickHouse/akz/logical-functions-normalized-uint8
...
Fixed logical functions for UInt8 values when they are not equal to 0 or 1.
2020-07-07 23:19:35 +03:00
Alexander Kazakov
2906ae37f5
Simple (and fast) inplace fix for UInt8 -> bool
2020-07-07 13:26:11 +03:00
Alexey Milovidov
2e8ba3427a
Better assert
2020-07-06 23:40:32 +03:00
alexey-milovidov
3059be55a3
Merge branch 'master' into fix-test-under-thread-fuzzer
2020-07-06 19:49:25 +03:00
Anton Popov
66bed10ec1
Merge pull request #12109 from PerformanceVision/initialize_aggregation
...
Create initializeAggregation to initialize an aggregation function
2020-07-06 15:12:30 +03:00
Alexey Milovidov
1ca45c1b7e
Fix mutations interpreter #9088
2020-07-06 09:05:48 +03:00
Alexey Milovidov
0124eeb2d8
Added function "hasThreadFuzzer"
2020-07-06 06:21:29 +03:00
Guillaume Tassery
569a89280c
update ya.make
2020-07-06 10:06:45 +07:00
flynn
5816858403
add parseDateTimeBestEffortUS function ( #12028 )
...
* add function parseDateTimeBestEffortUS
* add test
* add doc
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 21:09:20 +03:00
alexey-milovidov
c08e24d9ab
Merge pull request #12136 from vivarum/vivarum-04659-new-ISO8601-year-modificators-for-formatDateTime
...
New ISO8601 year modificators for formatDateTime() function
2020-07-05 19:10:06 +03:00
alexey-milovidov
ab15c8d6ca
Merge pull request #12021 from ClickHouse/fix-if-fixed-string
...
Fix function if with FixedString arguments of different sizes
2020-07-05 19:02:21 +03:00
alexey-milovidov
eecf7ae3ee
Merge pull request #12140 from ClickHouse/fix-division
...
Fix potential overflow in integer division
2020-07-05 19:00:41 +03:00
myrrc
8c3417fbf7
ILIKE operator ( #12125 )
...
* Integrated CachingAllocator into MarkCache
* fixed build errors
* reset func hotfix
* upd: Fixing build
* updated submodules links
* fix 2
* updating grabber allocator proto
* updating lost work
* updating CMake to use concepts
* some other changes to get it building (integration into MarkCache)
* further integration into caches
* updated Async metrics, fixed some build errors
* and some other errors revealing
* added perfect forwarding to some functions
* fix: forward template
* fix: constexpr modifier
* fix: FakePODAllocator missing member func
* updated PODArray constructor taking alloc params
* fix: PODArray overload with n restored
* fix: FakePODAlloc duplicating alloc() func
* added constexpr variable for alloc_tag_t
* split cache values by allocators, provided updates
* fix: memcpy
* fix: constexpr modifier
* fix: noexcept modifier
* fix: alloc_tag_t for PODArray constructor
* fix: PODArray copy ctor with different alloc
* fix: resize() signature
* updating to lastest working master
* syncing with 273267
* first draft version
* fix: update Searcher to case-insensitive
* added ILIKE test
* fixed style errors, updated test, split like and ilike, added notILike
* replaced inconsistent comments
* fixed show tables ilike
* updated missing test cases
* regenerated ya.make
* Update 01355_ilike.sql
Co-authored-by: myrrc <me-clickhouse@myrrec.space>
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 18:57:59 +03:00
alexey-milovidov
ec563e54dc
Merge pull request #12138 from ClickHouse/codeql
...
Fix warnings from CodeQL
2020-07-05 18:22:49 +03:00
alexey-milovidov
32a5dcd483
Update arraySum.cpp
2020-07-05 06:48:49 +03:00
Alexey Milovidov
73a5c38398
Fix potential overflow in integer division #12119
2020-07-05 03:29:03 +03:00
Alexey Milovidov
d2e8c0df79
Minor modification
2020-07-05 02:39:27 +03:00
Alexey Milovidov
96e8e93c64
Fix warnings from CodeQL
2020-07-05 02:16:16 +03:00
alexey-milovidov
f8a43d5e07
Update formatDateTime.cpp
2020-07-05 01:00:30 +03:00
Alexey Milovidov
731d92657d
Remove harmful code from "geoDistance" #12117
2020-07-05 00:57:57 +03:00
Alexey Milovidov
918e979449
Merge branch 'master' into fix-if-fixed-string
2020-07-04 22:00:27 +03:00
vivarum
d387fa719e
New ISO8601 year modificators for formatDateTime
2020-07-04 21:54:42 +03:00
Guillaume Tassery
027c6b705f
Create initializeAggregation to initialize an aggregation function based on a value
2020-07-03 19:18:47 +07:00
alesapin
f87c3af097
Merge pull request #12055 from ClickHouse/fix-9766
...
Fix arrayMap with Tuple(LowCardinality) argument
2020-07-02 13:40:05 +03:00
alesapin
65dae99c12
Merge pull request #12056 from ClickHouse/fix-11808
...
Fix defaultValueOfArgumentType
2020-07-02 13:35:38 +03:00
Nikolai Kochetov
e8ee5176cd
Fix defaultValueOfArgumentType
2020-06-30 14:29:50 +03:00
Nikolai Kochetov
820d2c63df
Try fix labda tuple(LC) argument.
2020-06-30 13:51:17 +03:00
Nikolai Kochetov
be51741566
Try fix labda tuple(LC) argument.
2020-06-30 13:19:06 +03:00
Alexey Milovidov
1194863b3d
Fix error
2020-06-30 01:50:26 +03:00
Alexey Milovidov
0bf7a8c554
Add multiIf
2020-06-30 01:50:26 +03:00
Alexey Milovidov
6fa1204698
Fix function if with FixedString arguments of different sizes
2020-06-30 01:50:26 +03:00
alexey-milovidov
c1d2d2d7f7
Merge pull request #12039 from ClickHouse/fix-nullable-tuple-compare
...
Fix nullable tuple compare
2020-06-30 01:38:46 +03:00
Nikolai Kochetov
c97d071b4b
Fix test.
2020-06-29 19:28:14 +03:00
Nikolai Kochetov
6bf9d670be
Fix test.
2020-06-29 18:22:21 +03:00
Nikolai Kochetov
0a455fc0e1
Fix tuple nullable comparison.
2020-06-29 16:25:28 +03:00
Alexander Kuzmenkov
3223757808
Merge pull request #12019 from ClickHouse/fix-neighbor-overflow
...
Fix overflow in function "neighbor"
2020-06-29 16:06:05 +03:00
alexey-milovidov
22de79846a
Merge pull request #12017 from ClickHouse/fix-integration-test-11996
...
Fix integration test
2020-06-29 03:39:12 +03:00
Alexey Milovidov
a838f86f7c
Fix overflow in function "neighbor"
2020-06-28 23:43:26 +03:00
Alexey Milovidov
b6a57b162a
Fix error in addMonths with floating point argument
2020-06-28 23:20:49 +03:00
alexey-milovidov
aaadc8addb
Merge pull request #12006 from ClickHouse/fix-error-geohash
...
Avoid floating point error in geohashesInBox #11369
2020-06-28 23:09:39 +03:00
Alexey Milovidov
305641ad3c
Fix test
2020-06-28 17:31:57 +03:00
Alexey Milovidov
0a76ff118a
Fix build
2020-06-28 16:18:14 +03:00
alexey-milovidov
d867dd8a65
Merge pull request #12005 from ClickHouse/fix-div-nontrivial-fpe
...
Fix potential FPE.
2020-06-28 16:16:26 +03:00
Alexey Milovidov
c35841e4e1
Avoid floating point error in geohashesInBox #11369
2020-06-28 02:07:24 +03:00
Alexey Milovidov
ae67ea3ab3
Make it more correct
2020-06-28 01:37:46 +03:00
Alexey Milovidov
40e73b9134
Fix FPE, step 1
2020-06-28 01:32:43 +03:00
Alexey Milovidov
1462a66d1e
Fix typos
2020-06-27 22:05:00 +03:00
Nikita Mikhaylov
f90dfa3ef4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into merging-ssh-cache
2020-06-26 13:56:21 +03:00
Anton Popov
39fe7d6c3f
Merge pull request #11729 from CurtizJ/distinct-combinator
...
Merging #10930 . (Distinct combinator)
2020-06-26 13:40:32 +03:00
alexey-milovidov
b041479d90
Merge pull request #11949 from ClickHouse/fix-race-condition-extract-all-groups
...
Fix race condition in extractAllGroups
2020-06-26 00:52:29 +03:00
Alexander Kuzmenkov
7ee2e68f5b
better error messages
2020-06-25 23:42:31 +03:00
Alexey Milovidov
875369676f
Added a comment #11949
2020-06-25 22:46:43 +03:00
Alexey Milovidov
9dc43fc435
Fix race condition in extractAllGroups
2020-06-25 19:57:30 +03:00
alexey-milovidov
bc585c7c33
Merge pull request #11901 from BohuTANG/mysql_global_variables
...
Change MySQL global variables query to globalVariable function
2020-06-25 16:15:41 +03:00
Anton Popov
14e09e5650
Merge remote-tracking branch 'upstream/master' into HEAD
2020-06-25 14:59:15 +03:00
BohuTANG
53997f23e6
Merge remote-tracking branch 'ck/master' into mysql_global_variables
2020-06-25 14:04:10 +08:00
Alexander Tokmakov
a6b7010531
fix some logical errors
2020-06-24 23:51:17 +03:00
Nikita Mikhaylov
e55577ba65
Merge branch 'nikvas0/ssd_dict' of git://github.com/nikvas0/ClickHouse into merging-ssh-cache
2020-06-24 16:45:18 +03:00
BohuTANG
2aa92a8563
Add SELECT @@Version fake value '5.7.30' #11089
2020-06-24 21:32:33 +08:00
BohuTANG
71f1a3120e
Fix JDBC @@session.variables
2020-06-24 18:28:14 +08:00
BohuTANG
4d96a25655
Change MySQL global variables query to globalVariable function
2020-06-24 13:40:18 +08:00
Artem Zuikov
92016e8bfb
Fix if function with NULLs ( #11807 )
2020-06-24 00:06:32 +03:00
alexey-milovidov
55eee9bfa1
Merge pull request #11745 from ClickHouse/atomic_metadata5
...
Atomic metadata.
2020-06-23 22:28:40 +03:00
alexey-milovidov
be14b42fdb
Merge pull request #11878 from ucasFL/sha256
...
SHA256 add FixedString support
2020-06-23 20:15:31 +03:00
feng lv
61817b30fc
fix
2020-06-24 00:28:17 +08:00
feng lv
65ebda03ae
Merge branch 'master' of github.com:ClickHouse/ClickHouse
2020-06-23 23:41:34 +08:00
Alexander Kazakov
0510911559
Merge pull request #11071 ( #11874 )
...
* Add's hasSubstr array function
* Add's example in the english doc of hasSubStr
* Updates conditions to avoid prematurely calling isEqual
* Remove feathericons
Authored-by: Ryad ZENINE <ryad.zenine@contentsquare.com>
2020-06-23 17:42:19 +03:00
Alexander Kazakov
814d78af29
Better namings
2020-06-23 16:42:52 +03:00
feng lv
fc75032b67
SHA256 add FixedString support
2020-06-23 13:35:35 +08:00
feng lv
7b4fc7300c
update
...
fix
fix
fix
2020-06-22 23:53:51 +08:00
alesapin
1fefb86f7b
Merge branch 'master' into atomic_metadata5
2020-06-22 17:00:33 +03:00
alexey-milovidov
d6abf45a2d
Merge pull request #11847 from ClickHouse/DimasKovas-arch-chooser
...
Merging #10058
2020-06-22 14:01:10 +03:00
alexey-milovidov
281a6d6e46
Merge pull request #11824 from ClickHouse/print-build-id
...
Print build id in crash messages
2020-06-22 13:59:48 +03:00
alesapin
f262c4f652
Better comments
2020-06-22 12:49:21 +03:00
alesapin
b9e74f4e82
Merge branch 'master' into atomic_metadata5
2020-06-22 12:03:53 +03:00
Vxider
3d19d2d69d
fix bad arguments error in window_id
2020-06-22 11:39:40 +08:00
alexey-milovidov
5decc73b5d
Merge pull request #11832 from ClickHouse/mysql-vars
...
Added support for MySQL style global variables syntax
2020-06-22 03:04:04 +03:00
alexey-milovidov
dd31bcff66
Merge pull request #11846 from ClickHouse/prohibit-array-join-in-higher-order-functions
...
Don't allow arrayJoin inside higher order functions
2020-06-22 03:00:51 +03:00
Alexey Milovidov
69008521f6
Fix build
2020-06-22 00:17:19 +03:00
Alexey Milovidov
318b35cd85
generate-ya-make
2020-06-21 23:22:34 +03:00
alexey-milovidov
0135771d7f
Merge pull request #11839 from ClickHouse/tuple-compare-const-string
...
Fix comparison of tuple with constant string
2020-06-21 21:59:15 +03:00
Alexey Milovidov
3f0931ad72
Fix build
2020-06-21 21:57:20 +03:00
Alexey Milovidov
a8e739b191
Fix build
2020-06-21 21:52:58 +03:00
Alexey Milovidov
8cc411c5b5
Clarify setting
2020-06-21 21:50:02 +03:00
Alexey Milovidov
8100423b7e
Style
2020-06-21 21:47:16 +03:00
alexey-milovidov
c3a5c32a48
Merge branch 'master' into arch-chooser
2020-06-21 21:30:06 +03:00
Alexey Milovidov
7117b419b9
Don't allow arrayJoin inside higher order functions #3933
2020-06-21 21:22:34 +03:00
Alexey Milovidov
8a3610bad8
Fix build
2020-06-21 19:08:41 +03:00
alexey-milovidov
863b46534f
Update FunctionsComparison.h
2020-06-21 17:25:41 +03:00
Alexey Milovidov
9514965207
Fix comparison of tuple with constant string
2020-06-21 16:23:32 +03:00
Alexey Milovidov
9bbb4ff3d8
Added missing file
2020-06-21 13:54:28 +03:00
Alexey Milovidov
477116844f
Fix Arcadia
2020-06-21 13:53:54 +03:00
Alexey Milovidov
fd885e86f7
Merge branch 'master' into mysql-vars
2020-06-21 13:53:37 +03:00
Alexey Milovidov
227afea032
Merge branch 'master' into decimal-cut-extra-digits-after-point
2020-06-21 13:50:06 +03:00
Alexey Milovidov
f430893adc
Fix Arcadia
2020-06-21 13:45:26 +03:00
Alexey Milovidov
7f05d2bac0
Merge branch 'master' into print-build-id
2020-06-21 13:44:32 +03:00
alexey-milovidov
485c4c9055
Merge pull request #11828 from ClickHouse/fix-fixed-string-comparison
...
Fix FixedString comparison #11393
2020-06-21 00:21:13 +03:00
Alexey Milovidov
420b943cf1
Auto-generate ya.make
2020-06-20 21:03:40 +03:00
Alexey Milovidov
15272d9e60
Fix style
2020-06-20 20:05:47 +03:00
Alexey Milovidov
e6a969e2e6
Added support for MySQL style global variables syntax
2020-06-20 19:05:49 +03:00
Alexey Milovidov
4867934204
Every function in its own file
2020-06-20 18:45:50 +03:00
Alexey Milovidov
408fc241d6
Make reading of Decimal more compatible with other DBMS
2020-06-20 17:43:01 +03:00
Alexey Milovidov
3658ea6e55
Fix FixedString comparison #11393
2020-06-20 16:13:51 +03:00
Alexey Milovidov
733e34f890
Fix build
2020-06-20 14:33:09 +03:00
Alexey Milovidov
5c2e9da583
Added a function "buildId"
2020-06-20 12:17:43 +03:00
Alexey Milovidov
f25416beb8
Added "hostname" as an alias to function "hostName"
2020-06-20 10:43:35 +03:00
Alexey Milovidov
71d907129c
Whitespace
2020-06-20 09:41:09 +03:00
Vxider
add49518f3
Merged with master
2020-06-19 23:12:25 +08:00
Ivan Lezhankin
747a3bb0e8
Support H3 in Arcadia
2020-06-19 13:06:42 +03:00
Vxider
dd3ee6af35
Unified the processing logic of TUMBLE and HOP window
2020-06-19 17:35:18 +08:00
alesapin
2ca9cfa753
Merge branch 'master' into atomic_metadata5
2020-06-18 20:28:01 +03:00
alesapin
d79982f497
Better locks in Storages
2020-06-18 19:10:47 +03:00
Artem Zuikov
6af36cb703
CAST keep nullable ( #11733 )
2020-06-18 13:18:28 +03:00
Anton Popov
8ba5bd8530
Merge remote-tracking branch 'upstream/master' into distinct-combinator
2020-06-18 01:44:36 +03:00
Anton Popov
88b325dcdc
rework distinct combinator
2020-06-17 22:36:27 +03:00
alesapin
dffdece350
getColumns in StorageInMemoryMetadta (only compilable)
2020-06-17 19:39:58 +03:00
Vxider
2f1e5c015f
remove unused code
2020-06-17 23:22:17 +08:00
Vxider
7b7032be8d
rename HOP_SLICE to WINDOW_ID
2020-06-17 23:06:19 +08:00
Alexey Milovidov
0a6054eece
Merge branch 'master' into return-not-nullable-from-count-distinct-2
2020-06-16 22:31:33 +03:00
alexey-milovidov
fd6115cccf
Merge pull request #11648 from ClickHouse/simplify-code-functions-comparison-3
...
Allow comparison with String in index analysis; simplify code.
2020-06-15 05:47:03 +03:00
alexey-milovidov
550838adbb
Merge pull request #11647 from ClickHouse/simplify-code-functions-comparison-2
...
Allow comparison of numbers with constant string in IN and VALUES
2020-06-15 03:33:45 +03:00
Alexey Milovidov
8dac30ae95
Split file for better build times
2020-06-14 21:42:10 +03:00
Alexey Milovidov
394fb64a9c
Better way of implementation
2020-06-14 20:42:11 +03:00
Alexey Milovidov
e2f7a41a1a
Fix error; clarify more results in test
2020-06-14 07:16:52 +03:00
Alexey Milovidov
fae12d5e42
Return NULL or zero when value is not parsed completely in parseDateTimeBestEffortOr* functions
2020-06-14 04:45:03 +03:00
Alexey Milovidov
41afea0165
Fix style
2020-06-14 02:10:25 +03:00
Alexey Milovidov
844140467e
Simplify the code in comparison functions
2020-06-14 01:18:48 +03:00
Alexey Milovidov
9901e4d528
Remove debug output #11554
2020-06-13 20:20:54 +03:00
Alexey Milovidov
787163d0b4
Minor modifications after merging #11554
2020-06-12 17:03:00 +03:00
alexey-milovidov
13ceaa4779
Merge pull request #11554 from Enmk/extractAllGroups-Horizontal-and-Vertical
...
extractAllGroupsHorizontal and extractAllGroupsVertical
2020-06-12 16:56:14 +03:00
Vasily Nemkov
db555b088d
Regenerated ya.make
2020-06-11 11:05:08 +03:00
Vasily Nemkov
50a184acac
extractAllGroupsHorizontal and extractAllGroupsVertical
...
Split tests, fixed some error messages
Fixed test and error reporting of extractGroups
2020-06-11 11:03:17 +03:00
alexey-milovidov
4f2ed7a5e3
Merge branch 'master' into arch-chooser
2020-06-10 22:31:19 +03:00
Vxider
ea0d4ed8d7
fix clang build
2020-06-09 23:57:47 +08:00
Ivan
47ad338cb2
Refactor CMake build files ( #11390 )
...
* Get rid of lib_name.cmake
* Refactor Boost and HyperScan libraries
* Refactor lz4
* Fix build with xxHash
2020-06-09 13:54:49 +03:00
Vxider
ab160a3d92
Merged with master
2020-06-09 16:48:04 +08:00
Alexey Milovidov
ef6c5a2855
Continuation
2020-06-08 22:52:55 +03:00
Alexey Milovidov
af176b8191
Continuation
2020-06-08 22:39:49 +03:00
Alexey Milovidov
475af33319
Avoid too large stack frames
2020-06-08 20:35:45 +03:00
Vxider
d16fbcfb9f
Reuse intermediate results in hop window
2020-06-08 14:27:30 +08:00
Alexander Kuzmenkov
5851d61bb2
Merge pull request #11485 from ClickHouse/aku/fix-master
...
Remove some LOGICAL_ERROR to fix the tests
2020-06-06 18:59:31 +03:00
Alexander Kuzmenkov
57cdbaad81
Remove some LOGICAL_ERROR to fix the tests
2020-06-06 16:05:50 +03:00
alexey-milovidov
42534959e3
Merge pull request #11421 from livace/fix_point_in_polygon_with_nan
...
Fix pointInPolygon with nan
2020-06-06 12:37:19 +03:00
Vitaly Baranov
92ae3e11fa
Merge pull request #11356 from PerformanceVision/netloc_function
...
Create a netloc function for extracting network location
2020-06-05 22:13:38 +03:00
Alexander Kuzmenkov
eaaf005a03
Merge pull request #11410 from ClickHouse/aku/logical-error-synonyms
...
Remove assorted synonyms of LOGICAL_ERROR
2020-06-05 13:10:40 +03:00
feng lv
86003c57eb
fix conflict
2020-06-05 12:43:56 +08:00
exprmntr
dcec02c983
Update ya.make.in
2020-06-04 11:38:25 +03:00
exprmntr
fccf282829
Update ya.make
2020-06-04 11:36:38 +03:00
Alexey Ilyukhov
1daf1146e1
Fix pointInPolygon with nan
2020-06-04 03:59:07 +03:00
alexey-milovidov
acf7773942
Merge pull request #11403 from Enmk/geohashesInBox-fix
...
Fixed geohashesInBox argument range
2020-06-04 01:44:37 +03:00
Alexander Kuzmenkov
07e4bb7050
Remove assorted synonyms of LOGICAL_ERROR.
...
We don't need any special handling for them on the client, and, on the
contrary, have to handle them as logical errors in tests.
2020-06-03 16:18:42 +03:00
Vasily Nemkov
97a1cc1b52
Fixed geohashesInBox argument range
2020-06-03 13:38:44 +03:00
Guillaume Tassery
58d87d07f5
cosmetic
2020-06-03 14:13:50 +07:00
Guillaume Tassery
0cb8649426
take into account special character for netloc
2020-06-03 13:57:18 +07:00
Guillaume Tassery
7e8d56ebae
shorten code
2020-06-03 10:51:18 +07:00
Guillaume Tassery
7ea765544e
add on ya.make
2020-06-03 10:08:46 +07:00
Alexander Kuzmenkov
bd84c3be18
Merge branch 'master' into fuzz_data
2020-06-02 12:49:43 +03:00
Andrei Nekrashevich
5a0e3c91be
ya.make
2020-06-02 12:46:43 +03:00
Guillaume Tassery
d2c1535fd6
change extract value variable
2020-06-02 16:10:10 +07:00
Guillaume Tassery
500a8d22fa
create netloc function
2020-06-02 15:34:08 +07:00
Andrei Nekrashevich
1cd888f505
fix
2020-06-01 02:40:38 +03:00
Alexey Milovidov
e1202759c5
Fix style #11318
2020-05-31 18:01:59 +03:00
alexey-milovidov
5b2b3739b9
Merge pull request #11318 from devwout/master
...
Fix visitParamExtractRaw for strings with unbalanced { or [.
2020-05-31 17:52:00 +03:00
alexey-milovidov
1a8c19741e
Merge pull request #11311 from ClickHouse/fix-uninitialized-memory-in-cast
...
Fix uninitialized memory in conversion
2020-05-31 17:33:06 +03:00
Alexey Milovidov
f47320cb96
Added clarification #10678
2020-05-31 17:28:44 +03:00
Ewout
70eaae38f2
Fix visitParamExtractRaw for strings with unbalanced { or [.
...
Closes #11254 .
2020-05-31 00:58:30 +02:00
alexey-milovidov
383962e47c
Update trap.cpp
2020-05-30 23:45:30 +03:00
Alexey Milovidov
b95b6ec0ee
Tested with "trap" function
2020-05-30 23:02:44 +03:00
Alexey Milovidov
41bfa8a275
Addition to prev. revision
2020-05-30 19:35:59 +03:00
Alexey Milovidov
326d2f9af8
Fix uninitialized memory in conversion
2020-05-30 19:21:14 +03:00
Alexey Milovidov
6468d7af8c
Regenerate ya.make
2020-05-30 19:20:19 +03:00
Dmitrii Kovalkov
e185f3d157
Fix style issue
2020-05-29 11:23:22 +02:00
Dmitrii Kovalkov
8390fcaa23
Cosmetics
2020-05-29 11:18:39 +02:00
Dmitrii Kovalkov
1bf8940c18
better randomFixedString and randomString
2020-05-29 11:12:08 +02:00
Dmitrii Kovalkov
478ee2c185
delete SIMDxorshift
2020-05-29 07:36:10 +02:00
Dmitrii Kovalkov
278592106c
cosmetics
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
b0537bf31e
Fix clang builds
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
0f730b2ace
multitarget great circle
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
4c16f7a70f
cosmetics
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
43b836adc1
cosmetics
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
07bdd9eaf6
Fix style issues
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
13e1102f03
Disable xorshift
2020-05-29 07:35:39 +02:00
Dmitrii Kovalkov
cdb353856d
remove vectorization from binary arithmetic
2020-05-29 07:35:04 +02:00
Dmitrii Kovalkov
ef030349ff
Add hashes to multitarget code, a lot of cosmetics
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
991cbf397a
Thread safe performance statistics
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
4a9891c601
use vectorized rand in generateUUIDv4, add multitarget build in intHash32/64
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
0d1577c5da
Better avx2 implementation for rand(). Expected to be ~10% faster
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
e317dfb6e4
Fix FBA
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
8483dfa272
Delete needless rand implementations
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
310ca8562c
Add auto-vectorization support for binary operations
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
d4a8d91789
Fix style
2020-05-29 07:35:03 +02:00
Dmitrii Kovalkov
cfc87767c5
Fix bug in collecting statistics
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
feaed1e020
rand isn't avx2-vectorizable, I give it up
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
e603158571
Rand implementations
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
90bc3e6136
More rand implementations
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
66d530e901
fast rand for performance tests
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
c524642d24
Delete awful template PerformanceAdaptro and add simple ImplementationSelector instead
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
ea1285328b
Fix gcc build, fix PVS error
2020-05-29 07:35:02 +02:00
Dmitrii Kovalkov
bd847514ba
better random
2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
b2b3ba5942
Finaly fix clang build
2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
35e4f43ac7
Add alternative implenetation for rand
2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
9387981abe
Add afwul option for choosing implementation
2020-05-29 07:35:01 +02:00
Dmitrii Kovalkov
234a828dd0
Add option to disable multitarget build
2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
ad0ddc936a
Cosmetics, fix style issues
2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
a4ff8bb933
Get rid of handwritten cpu feature detection
2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
e1dc233089
Fix clang build (probably)
2020-05-29 07:34:11 +02:00
Dmitrii Kovalkov
f59b13a58d
Fix style issues
2020-05-29 07:34:10 +02:00
Dmitrii Kovalkov
80ab14e3f9
Get rid of copy-paste in PerformanceAdaptor
2020-05-29 07:33:38 +02:00
Dmitrii Kovalkov
d6d67b0da4
Fix bug
2020-05-29 07:33:38 +02:00
Dmitrii Kovalkov
43f5ca868a
Cosmetics
2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
089b3ca008
Check target properly
2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
0afa672082
make randxorshift great again
2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
808bb14c5c
Add xorshift-rand from lemire for comparing performance
2020-05-29 07:33:37 +02:00
Dmitrii Kovalkov
9674482a6c
clang fixes
2020-05-29 07:32:49 +02:00
Dmitrii Kovalkov
acbd3b3a70
Compile rand function with AVX
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
f07f9188dd
Fix unsuccessful rebase
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
9026187c2c
Cosmetics
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
09bb9041ec
Add descriptions, move to Functions/, rename, measure time, and so on...
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
e0a497d575
Better interface
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
43657809d8
awful adaptor
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
37d13d4bce
Compilable
2020-05-29 07:31:59 +02:00
Dmitrii Kovalkov
f6a2209169
Add target specific macros
2020-05-29 07:31:59 +02:00
Andrei Nekrashevich
af469c0da5
fix issues
2020-05-29 05:06:21 +03:00
Alexander Tokmakov
c071e0a473
add context to DatabaseCatalog methods
2020-05-29 02:01:18 +03:00
Andrei Nekrashevich
3c68ecacfe
Added function fuzzBits
2020-05-28 05:51:37 +03:00
Alexander Kuzmenkov
1658705f7c
Add URL/port.cpp to ya.make (a follow-up for #11120 )
2020-05-27 18:29:22 +03:00
Alexander Kuzmenkov
0fc1268432
Merge pull request #11120 from azat/function-port
...
Add port() function
2020-05-27 15:27:06 +03:00
Andrey Chulkov
49276426aa
Merge remote-tracking branch 'upstream/master' into polygon-dict-grids
2020-05-27 03:20:21 +03:00
Alexander Kuzmenkov
83aaea7b0f
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-26 18:29:42 +03:00
Vasily Nemkov
28a2cc0a82
Functions {to,from}UnixTimestamp64{Milli,Micro,Nano}
...
* Family of functions to convert DateTime64 to Int64 and back, usefull for
imporintg/exporting raw timestamp values of certain precision.
* Docs
* Tests
* Fixed ya.make
2020-05-26 16:42:22 +03:00
Ilya Yatsishin
2b155ac989
Merge pull request #11185 from ClickHouse/fix-lambda-lc-args
...
Fix lambda lc args
2020-05-26 10:27:35 +03:00
Alexander Kuzmenkov
bf941755f2
fixup
2020-05-26 09:00:51 +03:00
Alexander Kuzmenkov
7142e68d7a
fixup
2020-05-26 08:54:04 +03:00
Nikolai Kochetov
a01b6496b6
Fix types for function Capture.
2020-05-25 22:21:42 +03:00
Andrey Chulkov
ba241a08b8
Remove grid polygon dict and rename the others
2020-05-25 18:57:03 +03:00
Alexander Kuzmenkov
8d5bbed2de
Merge remote-tracking branch 'origin/master' into HEAD
2020-05-25 06:44:11 +03:00
Alexander Kuzmenkov
3b888e4e33
Add rand32 alias
2020-05-25 04:03:46 +03:00
Nikita Vasilev
207de9ca9c
fixed direct tests
2020-05-25 00:21:08 +03:00
Nikita Vasilev
5801a33b83
Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict
2020-05-24 19:08:07 +03:00
Nikita Vasilev
c70401b1e4
fix other os
2020-05-24 11:56:34 +03:00
Azat Khuzhin
9de1a231c9
Add optional default_port argument for the port() function
2020-05-23 23:36:01 +03:00
Azat Khuzhin
409cff11df
Add port() function
...
It uses domain() (getURLHost()) internally so it has the same
limitations:
- no ipv6 support
- no host-without-dots support (i.e. "foobar")
2020-05-23 20:45:56 +03:00
Alexey Milovidov
8c63886ba6
Added a comment
2020-05-23 14:26:40 +03:00
Alexey Milovidov
6f39ac27d1
Comments and clarifications
2020-05-23 14:04:29 +03:00
Alexey Milovidov
3b7088262f
Comments and clarifications
2020-05-23 14:03:21 +03:00
Alexey Milovidov
146d8253ce
Comments and clarifications
2020-05-23 13:57:30 +03:00
Alexey Milovidov
f14b5c02e2
Added a comment
2020-05-23 13:41:49 +03:00
Nikita Vasilev
d4cc01446c
Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict
2020-05-23 13:06:47 +03:00
Alexey Milovidov
91b8659b4d
Avoid data movement
2020-05-23 02:14:14 +03:00
Alexey Milovidov
ba5d0a9793
Avoid virtual calls
2020-05-23 01:40:00 +03:00
Alexey Milovidov
d2cd941f47
Changed strategy to "Franklin"
2020-05-23 00:47:31 +03:00
Alexey Milovidov
5e21a06559
Added bounding box
2020-05-23 00:36:44 +03:00
Alexey Milovidov
4deb69599e
Improve performance for non-const polygons
2020-05-23 00:27:06 +03:00
Alexey Milovidov
84dd802ba9
Improve performance for non-const polygons
2020-05-23 00:23:49 +03:00
Alexey Milovidov
a39f1d8bdc
Preparation
2020-05-22 23:29:28 +03:00
Alexey Milovidov
ad54b83563
Fix clang-tidy
2020-05-22 22:58:08 +03:00
Alexey Milovidov
a309e1050a
Finally fix performance issue
2020-05-22 22:54:16 +03:00
Alexey Milovidov
3f31f2b9e2
Replace polygon key to hash for simplicity
2020-05-22 22:37:56 +03:00
Alexey Milovidov
de83c1129f
Better "serialize" function for polygons
2020-05-22 22:27:38 +03:00
Alexey Milovidov
902fc8dd82
Fix outstandingly wrong code from #10623
2020-05-22 22:15:29 +03:00
feng lv
83c0807b43
update
...
update name
2020-05-22 23:45:09 +08:00
Alexey Milovidov
4dd2015056
Preparation
2020-05-22 17:21:49 +03:00
Alexey Milovidov
a9b3de8542
Remove excessive memory allocations
2020-05-22 17:07:17 +03:00
Alexey Milovidov
07a65c3090
Do not validate polygons in non-constant case
2020-05-22 16:50:12 +03:00
Vitaly Baranov
5a0f356cd6
Merge pull request #11038 from Enmk/parseDateTime64BestEffort_fix
...
Fixed parseDateTime64BestEffort implementation
2020-05-22 14:40:39 +03:00
Alexander Kuzmenkov
322d731d28
Remove extra copying from addressToLine
...
The line is already serialized to the same arena, so there is no need to
copy it. Also add this function to query profiler test, so that it has
some coverage.
2020-05-22 03:01:35 +03:00
Alexander Kuzmenkov
f98ffdbc4c
Merge pull request #11087 from azat/context-fwd-decl
...
[RFC] Forward declaration for Context as much as possible.
2020-05-21 19:43:29 +03:00
Vasily Nemkov
403aae9126
Fixed parseDateTime64BestEffort implementation
...
Fixed argument resolution issues.
Added tests and made sure -orNull and -orZero variants alwo work correctly.
2020-05-21 17:21:39 +03:00
alexey-milovidov
b480f137f3
Merge pull request #10623 from livace/master
...
Add point in polygon for non-const polygons
2020-05-21 15:18:24 +03:00
Azat Khuzhin
d93b9a57f6
Forward declaration for Context as much as possible.
...
Now after changing Context.h 488 modules will be recompiled instead of 582.
2020-05-21 01:53:18 +03:00
Alexander Kuzmenkov
50df893dc6
Assert that allocator & container are consistent wrt. inline memory
...
There are lots of places where HashTable is used with
AllocatorWithStackMemory, but the size of allocator inline memory is set
incorrectly, and it's less than the initial HashTable buffer size.
Because of this, HashTable is always allocated on the heap, and the
inline memory becomes a useless dead weight.
For PODArray, we have previously added a helper template that makes sure
these values are in sync, so there was only one such discrepancy left,
in the unit test.
2020-05-20 22:37:13 +03:00
fenglv
64207abd0a
update
2020-05-18 22:56:29 +08:00
Artem Zuikov
bfcbc08bba
arcadia sync fixes
2020-05-18 15:50:23 +03:00
Artem Zuikov
62f77abbc5
add file to ya.make
2020-05-18 13:40:02 +03:00
Alexey Milovidov
c2b6ed5e21
Whitespaces
2020-05-18 04:42:46 +03:00
Andrey Chulkov
33b724befc
fix compilation error
2020-05-18 03:02:32 +03:00
Andrei Nekrashevich
770b720620
no reinterpret_cast
2020-05-18 02:58:19 +03:00
Andrey Chulkov
b64c9a09a5
Merge branch 'master' of github.com:ClickHouse/ClickHouse into polygon-dict-grids
2020-05-18 02:36:26 +03:00
Andrei Nekrashevich
eba043aaf8
Merge branch 'master' into random_string_utf8_function
2020-05-17 22:53:42 +03:00
alexey-milovidov
92686fea27
Merge pull request #10974 from ClickHouse/xolm-random_fixed_string_function
...
Merging #10866
2020-05-17 22:20:53 +03:00
Andrei Nekrashevich
db07c9f5e9
fix
2020-05-17 16:22:52 +03:00
Andrei Nekrashevich
9d2801e0d8
fix
2020-05-17 16:07:37 +03:00
alexey-milovidov
6d34f24605
Merge branch 'master' into complex_key_direct
2020-05-17 11:55:01 +03:00
alexey-milovidov
1bceb48e65
Merge pull request #10920 from ClickHouse/fix-notNullIn-with-null
...
Fix not null in with null
2020-05-17 11:16:43 +03:00
Alexey Milovidov
7e7fd41266
Fix build + improvement
2020-05-17 11:00:10 +03:00
Alexey Milovidov
157d0b612c
Merge branch 'random_fixed_string_function' of https://github.com/xolm/ClickHouse into xolm-random_fixed_string_function
2020-05-17 10:54:48 +03:00
alexey-milovidov
5297d1e86a
Merge pull request #10928 from vitlibar/check-access-once-for-dictget
...
dictGet() checks access once
2020-05-17 09:27:59 +03:00
alexey-milovidov
a3346e9331
Merge pull request #10912 from ClickHouse/static-mutate
...
Static mutate
2020-05-17 09:05:35 +03:00
Andrei Nekrashevich
c4ff7eec01
fix
2020-05-17 07:49:41 +03:00
Andrei Nekrashevich
675509ed23
Added function randomStringUTF8
2020-05-17 07:43:53 +03:00
Nikolai Kochetov
d948fd61d8
try fix tests.
2020-05-16 23:15:19 +03:00
Nikolai Kochetov
7309cbbfda
Try fix build.
2020-05-16 10:23:59 +03:00
Nikolai Kochetov
6aea9c9a21
Tru fix build.
2020-05-15 21:55:30 +03:00
Nikolai Kochetov
c4a07812f7
Try fix build.
2020-05-15 18:48:19 +03:00
Vitaly Baranov
d92ac9ea47
Merge branch 'master' into RBAC-10
2020-05-15 14:12:43 +03:00
Nikolai Kochetov
70ce0149b1
Try fix build.
2020-05-15 13:10:13 +03:00
Nikolai Kochetov
34ce5bec48
Try fix tests.
2020-05-15 12:06:21 +03:00
Артем Стрельцов
be731ad62e
Merge branch 'master' of github.com:yandex/ClickHouse into complex_key_direct
2020-05-15 12:01:09 +03:00
Vitaly Baranov
201c88f64f
Get dictionary and check access rights only once per each call of any function reading external dictionaries.
2020-05-15 03:14:14 +03:00
Nikolai Kochetov
83d420e608
Try fix tests.
2020-05-14 21:21:35 +03:00
Nikolai Kochetov
b556b7c76e
Fix notNullIn with NULL argument.
2020-05-14 17:21:38 +03:00
Nikolai Kochetov
4d0503f021
Make IColumn::mutate() static.
2020-05-14 11:30:18 +03:00
Nikolai Kochetov
f65305878b
Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues ( #10890 )
...
* Destructive IAggregateFunction::insertResultInto and ColumnAggregateFunction::convertToValues
* Try fix build.
* Try fix build.
* Fix build.
* Make convertToValues static.
* fix build.
* Remove const casts.
* Added comment.
* Fix build.
* Fix build.
* Add test.
* Fix test.
2020-05-14 10:59:14 +03:00
Vitaly Baranov
5b84121d81
Improve system tables for quotas. Remove function currentQuota().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
e64e2ebdf6
Improve system table for row policies. Remove function currentRowPolicies().
2020-05-13 19:40:48 +03:00
Vitaly Baranov
b6fe726777
Rename row policy's 'name' to 'short_name', 'full_name' to 'name'.
...
This change simplifies the interface of IAccesEntity.
2020-05-13 19:40:48 +03:00
alexey-milovidov
a65601e410
Merge pull request #10874 from hczhcz/patch-0513
...
Support large tuples in function tupleElement
2020-05-13 18:42:10 +03:00
hcz
4a4914361c
Support large tuples in function tupleElement
2020-05-13 11:53:40 +08:00
Andrei Nekrashevich
767a790fce
fix issues
2020-05-13 03:20:41 +03:00
Andrei Nekrashevich
1d52c1b9d0
Added function randomFixedString
2020-05-13 01:48:55 +03:00
Alexey Milovidov
f26f8b99dc
Fix "Arcadia" build
2020-05-12 04:28:53 +03:00
alexey-milovidov
46e41f8d86
Update FunctionFactory.h
2020-05-12 00:22:34 +03:00
alexey-milovidov
4a4961fb10
Update FunctionFactory.cpp
2020-05-12 00:21:40 +03:00
Alexey Milovidov
4a142a44a0
Added a patch from Vitaly Stoyan
2020-05-12 00:18:50 +03:00
Alexey Milovidov
cb72b332e6
utils/generate-ya-make$ ./generate-ya-make.sh
2020-05-11 20:21:57 +03:00
alexey-milovidov
1e70230991
Merge pull request #10722 from Enmk/DateTime64_fixes
...
function toStartOfSecond(DateTime64) -> DateTime64
2020-05-11 20:20:58 +03:00
Vasily Nemkov
2c2005817f
New function toStartOfSecond(DateTime64) -> DateTime64
...
This funtion nullifies sub-second part of DateTime64 value.
2020-05-11 12:06:06 +03:00
Alexey Milovidov
032eb603f2
Regenerate ya.make
2020-05-11 06:16:16 +03:00
Alexey Milovidov
6a3055a924
Added a comment
2020-05-11 03:38:35 +03:00
Alexey Milovidov
f8d2e599a6
Added a comment
2020-05-11 03:37:31 +03:00
Alexey Milovidov
fe19ca9955
Improve performance two times
2020-05-11 03:36:14 +03:00
Alexey Milovidov
75860eb674
Improve performance 20%
2020-05-11 03:23:47 +03:00
Alexey Milovidov
49e57c555d
Fixed code; added a test
2020-05-11 03:16:50 +03:00
Alexey Milovidov
2438a510b0
Merge branch 'fuzz_functions' of https://github.com/xolm/ClickHouse into xolm-fuzz_functions
2020-05-11 02:42:55 +03:00
Alexey Milovidov
20a7889909
Integrate a change from Vitaly Stoyan #10788
2020-05-11 02:39:49 +03:00
Andrei Nekrashevich
84ed5b118c
fix
2020-05-10 22:31:47 +03:00
Andrei Nekrashevich
c3873495c9
fix and performance test template
2020-05-10 22:07:02 +03:00
vitstn
be6fba82f9
Update ya.make
2020-05-10 20:51:32 +03:00
Nikita Vasilev
99b0abcb92
fix
2020-05-10 10:00:57 +03:00
alexey-milovidov
ad26306131
Fix clang-tidy.
2020-05-10 03:09:51 +03:00
Артем Стрельцов
de8bf3f78c
Draft of ComplexKeyDirectDictionary layout
2020-05-10 02:53:01 +03:00
alexey-milovidov
d459f07eee
Update randomString.cpp
2020-05-09 21:54:23 +03:00
alexey-milovidov
4a66b10669
Update randomString.cpp
2020-05-09 21:52:27 +03:00
Alexey Milovidov
1f0d95e5c3
Added range check for extractGroups function
2020-05-08 02:31:15 +03:00
Alexey Milovidov
048e26dabf
Fix "Arcadia" build
2020-05-07 23:40:18 +03:00
Alexey Milovidov
8690b6e702
Fix "Arcadia" build
2020-05-07 23:17:57 +03:00
Alexey Milovidov
8d3e68a30b
Fix "Arcadia" build
2020-05-07 21:57:04 +03:00
Andrei Nekrashevich
43bc55ab5f
randomString function
2020-05-07 18:36:11 +03:00
Andrei Nekrashevich
28685a80f5
ClickHouse: functions for fuzzing
2020-05-07 17:54:33 +03:00
alexey-milovidov
3e583ef45e
Merge pull request #10712 from ClickHouse/merging-extract-groups
...
Merging #10534
2020-05-07 15:34:41 +03:00
Alexey Milovidov
4a1f9f41fb
Update ya.make for Arcadia build
2020-05-07 15:33:50 +03:00
Alexey Milovidov
fce23f4535
Update ya.make for Arcadia build
2020-05-07 15:32:33 +03:00
Alexey Milovidov
c85fec6c67
Update ya.make for Arcadia build
2020-05-07 15:31:28 +03:00
Alexey Milovidov
0e00e3049e
Regenerate ya.make file
2020-05-07 15:27:42 +03:00
Alexey Milovidov
efeb2acb6b
Fix build
2020-05-07 15:19:42 +03:00
Alexey Milovidov
6efe0376de
Fix build
2020-05-07 12:06:11 +03:00
Alexey Milovidov
b81b4832fe
Fix style
2020-05-07 04:25:46 +03:00
Alexey Milovidov
c73453fa86
Less indirection
2020-05-07 04:25:06 +03:00
Alexey Milovidov
2642d23861
Fixed error
2020-05-07 04:06:23 +03:00
Alexey Milovidov
495d18bb64
Added missing function "extractGroups"
2020-05-07 03:55:54 +03:00
Alexey Milovidov
da2c2c3edf
Great simplification
2020-05-07 03:40:25 +03:00
Alexey Milovidov
5d1f36872b
Fixed style
2020-05-07 02:51:41 +03:00
Alexey Milovidov
1e690510b6
Fixed style
2020-05-07 02:51:09 +03:00
Alexey Milovidov
466da445e1
Every function in its own file, part 13
2020-05-07 02:21:13 +03:00
alexey-milovidov
eeac7aa313
Merge pull request #10622 from kekekekule/layout_direct
...
Add direct layout for dictionaries
2020-05-07 01:05:29 +03:00
Alexey Milovidov
7d332ab705
Minor improvements
2020-05-06 23:00:54 +03:00
Alexey Milovidov
5f498ad9d9
Range check in h3EdgeAngle function
2020-05-06 22:35:59 +03:00
Vasily Nemkov
87b2d90725
extractAllGroups(haystack, re_needle) function
...
Function that extracts from haystack all matching non-overlapping groups with regular expressions,
and put those into Array(Array(String)) column.
Example:
:) SELECT extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)');
┌─extractAllGroups('abc=111, def=222, "jkl mno"="444 foo bar"', '("[^"]+"|\\w+)=("[^"]+"|\\w+)')─┐
│ [['abc','def','"jkl mno"'],['111','222','"444 foo bar"']] │
└────────────────────────────────────────────────────────────────────────────────────────────────┘
2020-05-05 17:41:31 +03:00
Alexey Ilyukhov
6a9355c95d
Do not use grid for non const
2020-05-05 13:34:58 +03:00
Артем Стрельцов
f8d3999fa2
Merge branch 'master' of github.com:yandex/ClickHouse into layout_direct
2020-05-03 16:23:10 +03:00
alexey-milovidov
0cdd48e468
Merge pull request #10598 from ClickHouse/sampling-memory-profiler
...
Add sampling memory profiler
2020-05-03 15:17:03 +03:00
alexey-milovidov
67efc7f066
Merge pull request #10560 from Enmk/DateTime64_fixes
...
Fixed comparing DateTime64 in WHERE against String value
2020-05-03 00:54:11 +03:00
Alexey Ilyukhov
a03da4eb34
Fix style and array index
2020-05-02 19:48:36 +03:00
Alexey Ilyukhov
c12cd35099
Add point in polygon for non-const polygons
2020-05-02 11:46:18 +03:00
Артем Стрельцов
97496048d6
created direct dictionary (has bugs, doesn't work properly)
2020-05-02 02:35:54 +03:00
Vasily Nemkov
86edceeb81
Comparison between DateTime64 and String values (just like for DateTime)
2020-05-01 15:52:18 +03:00
Nikita Vasilev
fac0439efb
complex_key
2020-04-30 23:50:31 +03:00
Alexey Milovidov
293ae88e7f
Add sampling memory profiler
2020-04-30 16:25:17 +03:00
alesapin
c24ab563d7
Fix several wrong usages
2020-04-27 18:38:35 +03:00
alesapin
2829774105
Merge branch 'master' into refactor_istorage
2020-04-27 15:34:21 +03:00
Alexey Milovidov
cac130ad3b
Use time zone when comparing DateTime with string literal
2020-04-27 01:13:51 +03:00
alesapin
b4425c2dc4
Remove getColumn and hasColumn methods from IStorage
2020-04-24 13:20:03 +03:00
Alexey Milovidov
d3418bbb02
Fix clang-tidy
2020-04-22 11:45:14 +03:00
Alexey Milovidov
8c9408f927
Checkpoint
2020-04-22 11:31:10 +03:00
Nikita Vasilev
464c90a486
Merge remote-tracking branch 'upstream/master' into nikvas0/ssd_dict
2020-04-22 10:27:20 +03:00
Alexey Milovidov
03e17405cd
Checkpoint
2020-04-22 10:03:43 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
alexey-milovidov
c4758b69a2
Merge pull request #10378 from hczhcz/patch-0420
...
Add JSONExtractKeysAndValuesRaw
2020-04-20 23:30:40 +03:00
alexey-milovidov
4912940009
Update FunctionsJSON.h
2020-04-20 23:28:54 +03:00
hcz
32573c0590
Add JSONExtractKeysAndValuesRaw
2020-04-20 18:08:22 +08:00
alexey-milovidov
9d0004cba0
Merge pull request #10365 from ClickHouse/avoid-infinite-loop-in-hierarchical-dictionaries
...
Avoid infinite loop in hierarchical dictionaries
2020-04-20 10:54:16 +03:00
Alexey Milovidov
be4d20e690
Fixed an error and added a test
2020-04-20 07:02:52 +03:00
Alexey Milovidov
3862085af7
Fix for embedded dictionaries
2020-04-20 05:39:43 +03:00
Alexey Milovidov
59a9edd018
Added forgotten modification
2020-04-20 04:43:25 +03:00
Alexey Milovidov
d783162548
Compare with fixed string as smaller string is zero padded #9272
2020-04-20 04:01:31 +03:00
alexey-milovidov
43d48a21c6
Merge pull request #10318 from ClickHouse/least-greatest-generic
...
Added generic variants for functions 'least' and 'greatest'.
2020-04-18 15:35:19 +03:00
alexey-milovidov
b5f8efefa2
Merge pull request #10342 from azat/optimizeGroupBy-isInjective
...
[RFC] Use isInjective() over manual list of such functions for GROUP BY optimization
2020-04-18 14:28:59 +03:00
Azat Khuzhin
322681eb37
Passthrough isInjective via IFunctionOverloadResolver
2020-04-18 01:50:15 +03:00
Azat Khuzhin
f29e5c60a5
Add const qualifier for IFunction::isInjective()
2020-04-18 01:50:15 +03:00
Alexey Milovidov
67790a74e5
Fix test
2020-04-17 06:13:21 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
yaqi-zhao
d1b4185392
reduce instructions by _mm512_maskz_set1_epi8
...
add performance test for lower/upper function
2020-04-16 21:26:21 -04:00
Alexander Gololobov
9f50d40915
style fixes
2022-06-07 10:34:47 +02:00
yaqi-zhao
3929baf9ff
add avx512 support for Lower/Upper function
2022-06-07 10:19:26 -04:00
Alexey Milovidov
1df5c7cedf
Added generic variants of least and greatest functions #4767
2020-04-17 01:28:08 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Nikolai Kochetov
234c4dbe84
Fix build.
2020-04-15 17:51:03 +03:00
Alexey Milovidov
fbe41a8ee6
Fix clang-tidy
2020-04-15 17:37:43 +03:00
alexey-milovidov
8c8a315bd8
Merge pull request #10271 from ClickHouse/remove-strange-code
...
Remove strange code in arrayIndex function
2020-04-15 16:41:18 +03:00
alesapin
e8cd92bba3
Fix debug build
2020-04-15 13:13:36 +03:00
alexey-milovidov
19c4968ca6
Update arrayIndex.h
2020-04-15 07:02:41 +03:00
Alexey Milovidov
eed2ea3b36
Remove strange code
2020-04-15 06:02:51 +03:00
Alexey Milovidov
db9760af41
Continuation of #6256
2020-04-15 03:12:47 +03:00
Alexey Milovidov
8ad04d4fec
Remove useless code
2020-04-15 00:05:45 +03:00
Alexey Milovidov
c64aa011ba
Merge branch 'jgon' of https://github.com/amosbird/ClickHouse into amosbird-jgon
2020-04-12 06:21:00 +03:00
Alexey Milovidov
d43903211a
Better exception message #9810
2020-04-12 05:51:56 +03:00
alexey-milovidov
716ddc4580
Update isConstant.cpp
2020-04-12 04:26:11 +03:00
Alexey Milovidov
754967bde6
Add function "isConstant"
2020-04-12 04:24:00 +03:00
Alexey Milovidov
dec3e0f986
Make least and greatest functions case insensitive for compatibility with MySQL
2020-04-12 03:38:25 +03:00
alexey-milovidov
00d8e7eefb
Merge branch 'master' into transform_null_in
2020-04-11 23:15:54 +03:00
Ivan
67235834b3
Update libdivide to v3.0 ( #10169 )
2020-04-11 14:14:01 +03:00
Alexander Kazakov
497df3086f
Merge branch 'master' into timed_rwlock
...
Change-Id: I620bfde2121ff013773b001d514b40b1e796a58b
2020-04-10 11:38:20 +03:00
Alexander Kazakov
26dd6140b2
Added new config settings to control timeouts
...
* "lock_acquire_timeout" controls for how long a query will continue to
acquire each lock on its argument tables
* "lock_acquire_timeout_for_background_operations" is a per-table
setting for storages of *MergeTree family
2020-04-09 21:10:27 +03:00
Vxider
a8cd174fc4
merged with master
2020-04-09 22:34:02 +08:00
alexey-milovidov
0372a6119a
Merge pull request #10110 from amosbird/tsm
...
more monotonicity for toString()
2020-04-08 22:55:04 +03:00
Amos Bird
f1cb928737
more monotonicity for toString()
2020-04-08 20:13:44 +08:00
Amos Bird
0b5cc80580
joinGetOrNull
2020-04-08 11:01:08 +08:00
Vitaly Baranov
c2f5e3c4ad
Improve declaration of access rights: single place in code instead of three.
2020-04-07 23:20:38 +03:00
philip.han
53b5dade5e
Implement transform_null_in
2020-04-07 20:08:13 +09:00
Artem Zuikov
8297683972
renames: AnalyzedJoin -> TableJoin, Join -> HashJoin ( #10065 )
2020-04-07 12:48:47 +03:00
Vxider
2fb9138505
merged with master
2020-04-06 17:36:44 +08:00
Alexey Milovidov
110eb599c1
Fix "check style" tool
2020-04-06 02:57:24 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00