nikitamikhaylov
9df54946cf
fix clang-tidy build
2020-07-29 17:06:33 +03:00
alesapin
d52f67d24e
Fix abtesting build
2020-07-29 14:00:04 +03:00
Ildus Kurbangaliev
fdf4fd337a
add mapAdd and mapSubtract functions ( #11735 )
2020-07-29 11:50:30 +03:00
Anton Popov
6d58279535
Merge remote-tracking branch 'upstream/master' into HEAD
2020-07-29 02:15:30 +03:00
myrrc
cf696afd4c
fix: function visibility
2020-07-28 18:26:53 +03:00
Amos Bird
993a11a57a
Fix MemSan error.
2020-07-28 22:43:43 +08:00
Amos Bird
0e6f9568a7
Allow all formats
2020-07-28 22:43:43 +08:00
Amos Bird
b30240efc0
formatRow function
2020-07-28 22:43:43 +08:00
myrrc
aaa05f2466
updated types checker
2020-07-28 17:41:04 +03:00
Amos Bird
230938d3a3
Refactor joinGet and implement multi-key lookup.
2020-07-28 22:38:52 +08:00
myrrc
da9502e496
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-28 15:06:39 +03:00
nikitamikhaylov
4d8a00d25e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB
2020-07-27 17:13:27 +03:00
jakalletti
7f853c2a56
fix arcadia
2020-07-27 17:10:57 +03:00
Alexander Tokmakov
6bfe88e83f
Merge branch 'master' into database_atomic_improvements
2020-07-26 13:40:05 +03:00
Azat Khuzhin
4713b59159
Fix CAST(Nullable(String), Enum())
...
The wrapper that is returned from createStringToEnumWrapper() does not
have access to the ColumnNullable (i.e. original column), because it is
converted to nested type in the prepareRemoveNullable().
So add original ColumnNullable into the block in prepareRemoveNullable()
if source type is Nullable and pass this flag to the
createStringToEnumWrapper() to make it know about that fact that last
column in the block is the original ColumnNullable in this case.
And this one looks most sane.
2020-07-26 12:00:24 +03:00
myrrc
ecf6f62820
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-24 18:15:49 +03:00
myrrc
6f953e06ae
fix: style-checker
2020-07-24 18:02:57 +03:00
myrrc
1e32210953
updated reference, fixed NULL values handling
2020-07-24 17:17:39 +03:00
myrrc
b44b3e9b2b
added column cast, added new test
2020-07-24 15:07:26 +03:00
philip.han
6029ff9bed
Remove const
2020-07-24 13:42:16 +09:00
philip.han
e1172755f0
Add static to toFloat64
2020-07-24 11:20:43 +09:00
Azat Khuzhin
73286c7b6e
Add skeleton implementations for DummyJSONParser::Element::getObject/getArray
...
Otherwise it fails for unbundled+shared build
2020-07-24 00:55:50 +03:00
myrrc
4a55186a99
some investigation
2020-07-23 19:46:38 +03:00
philip.han
104e1b57fa
Remove extra ';' after member function definition
2020-07-24 00:49:32 +09:00
philip.han
272e909cf4
Make IFunction::executeImpl const.
2020-07-23 22:48:37 +09:00
alexey-milovidov
c4cef3d47f
Merge pull request #12705 from azat/checkNumberOfArgumentsIfVariadic-fix
...
Drop checkNumberOfArgumentsIfVariadic() (never called), check in getReturnType()
2020-07-23 16:22:44 +03:00
philip.han
b71fe9dab9
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into bayesAB
2020-07-23 22:21:15 +09:00
Alexey Milovidov
9b39b6b7b4
Whitespace #12484
2020-07-23 13:29:59 +03:00
alexey-milovidov
456bf4461b
Merge branch 'master' into br1
2020-07-23 13:26:41 +03:00
alexey-milovidov
7a7f6dbf13
Update formatDateTime.cpp
2020-07-23 13:23:55 +03:00
philip.han
49fe5e55a0
Remove lambda function in abtesting
2020-07-23 17:53:26 +09:00
Azat Khuzhin
9096e1def3
Drop checkNumberOfArgumentsIfVariadic() (never called), check in getReturnType()
2020-07-23 11:13:19 +03:00
alesapin
c83bf1ab74
Revert "Refactor joinGet and implement multi-key lookup."
2020-07-23 10:47:17 +03:00
philip.han
67803573b6
Fix style
2020-07-23 15:00:45 +09:00
philip.han
e4b867c1f3
Return xs and ys of variants and improve type checking for the input of bayesAB
2020-07-23 14:22:18 +09:00
Alexander Tokmakov
237accd154
Merge branch 'master' into database_atomic_improvements
2020-07-23 06:33:20 +03:00
myrrc
9b9360eb2c
try to handle runtime type casting to compare the index column and the
...
target value correctly
2020-07-23 02:09:03 +03:00
myrrc
31fc55ccef
fix: const attributes
2020-07-23 00:54:43 +03:00
myrrc
76a866af47
another attribute fix
2020-07-23 00:44:39 +03:00
myrrc
6af63213ce
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-07-22 22:49:46 +03:00
myrrc
1d0bf93444
added perftest, fixed style check and PVS bugs
2020-07-22 22:44:11 +03:00
alexey-milovidov
004481f98b
Merge pull request #12418 from amosbird/jgmk
...
Refactor joinGet and implement multi-key lookup.
2020-07-22 21:44:24 +03:00
Nikolai Kochetov
a663bc76ba
Merge pull request #12634 from ClickHouse/const-iface-for-functions
...
Make IFunction::executeImpl const
2020-07-22 19:08:52 +03:00
myrrc
222eb7fba3
fixed result column overwriting
2020-07-22 16:18:21 +03:00
Alexey Milovidov
c55834c40f
Merge branch 'master' into stack-frams-size-limit
2020-07-22 08:49:00 +03:00
alexey-milovidov
49adaf95aa
Merge pull request #12585 from ClickHouse/mod-compatible
...
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS
2020-07-22 08:43:45 +03:00
Alexander Tokmakov
9bcaaea3e0
Merge branch 'master' into database_atomic_improvements
2020-07-22 05:24:48 +03:00
Alexey Milovidov
7b81640e9b
Add support for function if with Array(UUID) arguments #11066
2020-07-22 00:15:19 +03:00
alexey-milovidov
72280ee2a3
Update moduloOrZero.cpp
2020-07-21 17:07:09 +03:00
alexey-milovidov
b358c796f1
Update moduloOrZero.cpp
2020-07-21 17:06:40 +03:00
Nikolai Kochetov
e4689ce302
Make IFunction::executeImpl const.
2020-07-21 16:58:07 +03:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Alexey Milovidov
e4c652ec28
Fix test; modify return type of Date or DateTime % Float to Float64
2020-07-21 13:36:04 +03:00
Alexey Milovidov
e93e0afd52
Added a comment
2020-07-21 13:20:09 +03:00
Vitaly Baranov
e3ee555c57
Merge pull request #12606 from vitlibar/improve-json-internal-interface
...
Improve JSON internal interface.
2020-07-20 23:35:09 +03:00
Vitaly Baranov
1fb4d9002d
Improve JSON internal interface.
2020-07-20 20:56:04 +03:00
myrrc
ad8afc3bfa
updated LC spec to catch LC(N(T)) and N(LC(T))
2020-07-20 18:49:06 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
...
Update simdjson
2020-07-20 10:15:38 +03:00
philip.han
11de86074f
Use range-based for loop and remove redundant call to 'c_str'
2020-07-20 15:33:23 +09:00
Alexey Milovidov
10355a2850
Make behaviour of remainder of division for floating point numbers compatible with most of DBMS #7323
2020-07-20 04:03:46 +03:00
philip.han
5e2d361dc8
Remove std::move
2020-07-20 00:12:58 +09:00
Vitaly Baranov
8bcaf7908e
Rework JSON functions to use the new simdjson interface.
2020-07-19 12:50:19 +03:00
myrrc
b60b689417
fixed Const(Array()) DB::Exception
2020-07-17 21:06:21 +03:00
myrrc
00fc61c244
updated getOrFindIndex for NullableTypes
2020-07-17 19:57:26 +03:00
myrrc
52dcb211ba
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-07-17 17:06:02 +03:00
philip.han
cdd7755484
Remove unused code
2020-07-17 22:05:17 +09:00
myrrc
80053d745d
first truly working version
2020-07-17 15:44:26 +03:00
philip.han
8e8af83b15
Fix style
2020-07-17 21:08:08 +09:00
philip.han
3554e6c36a
Replace vector with PODArray and add testcases
2020-07-17 21:06:29 +09:00
philip.han
769a6dfb08
bayseAB returns an empty block if input_rows_count is 0 and isDeterministic returns false
2020-07-17 18:21:25 +09:00
philip.han
d4aff270db
Fix the formula of gamma and the method of argument parsing
2020-07-17 17:52:51 +09:00
Vitaly Baranov
4cc101f1d4
Fix build scripts.
2020-07-17 10:30:13 +03:00
philip.han
36feefb429
Replace ABTestResult with Variants
2020-07-17 16:23:24 +09:00
Alexander Tokmakov
a612080df1
Merge branch 'master' into database_atomic_improvements
2020-07-17 00:43:59 +03:00
myrrc
0ce74ccc28
updated interface, bug investigation
2020-07-16 23:59:32 +03:00
Alexander Kuzmenkov
039cf36acb
Minor fixes for query fuzzer
2020-07-16 21:05:34 +03:00
myrrc
bc8e8c25e9
initial more or less working version
2020-07-16 18:14:52 +03:00
Nikita Mikhaylov
02c49b9d7f
better
2020-07-15 22:10:36 +00:00
Nikita Mikhaylov
22e0015782
fix arcadia
2020-07-15 21:28:01 +00:00
Alexander Tokmakov
f6949b2f47
use dictionary ids
2020-07-15 22:25:31 +03:00
Nikita Mikhaylov
ed05465479
Merge branch 'master' of github.com:ClickHouse/ClickHouse into achimbab-bayesAB
2020-07-15 16:34:56 +00:00
Nikita Mikhaylov
1a8811bd47
fix tidy build
2020-07-15 16:34:08 +00:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
Alexander Tokmakov
09abe71b60
Merge branch 'master' into database_atomic_improvements
2020-07-15 13:07:08 +03:00
Amos Bird
6017a33722
Fix
2020-07-15 10:20:05 +08:00
Amos Bird
46c2bb57ec
Refactor joinGet and implement multi-key lookup.
2020-07-15 10:12:04 +08:00
Nikita Mikhaylov
4d10ac9b1a
trigger ci
2020-07-15 02:25:59 +03:00
Alexander Tokmakov
eea0cdcf25
add uuid to generated config
2020-07-14 23:32:13 +03:00
feng lv
767bc7a905
add doc
...
fix test
fix
name style fix
2020-07-14 18:50:51 +08:00
feng lv
f0b423e928
add test
...
style fix
2020-07-14 14:16:47 +08:00
feng lv
dffdb6e9e9
add FROM_UNIXTIME function
2020-07-14 14:04:37 +08:00
Alexander Kuzmenkov
d6e7ab5988
Fuzzing-related fixes
2020-07-13 16:58:48 +03:00
alexey-milovidov
c615ea658b
Merge pull request #12400 from vitlibar/fix-bad_typeid
...
Fix std::bad_typeid when JSON functions called with argument of wrong type
2020-07-11 05:40:44 +03:00
alexey-milovidov
2d9e0ec049
Merge pull request #12376 from ClickHouse/fix-totals-state-2
...
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments
2020-07-10 20:18:48 +03:00
Vitaly Baranov
94c858b2dc
Fix std::bad_typeid when JSON functions called with argument of wrong type.
2020-07-10 17:12:57 +03:00
Alexey Milovidov
d543a75f65
Allow to parse operator NOT as a function #12262
2020-07-10 09:48:05 +03:00
alexey-milovidov
8d7e418617
Merge pull request #12314 from BohuTANG/mysql_select_database
...
Support MySQL 'SELECT DATABASE()'
2020-07-10 06:32:04 +03:00
Alexey Milovidov
12e00411b4
Fix TOTALS/ROLLUP/CUBE for aggregate functions with -State and Nullable arguments #12163
2020-07-10 06:23:42 +03:00
BohuTANG
260bcb9d79
Add integration test for mysql replacement query
2020-07-09 22:20:54 +08:00
philip.han
bc85df64cb
Fix-style
2020-07-09 22:11:40 +09:00
philip.han
6c814c9f9f
Add bayesAB function for bayesian_ab_testing
2020-07-09 22:11:40 +09:00
Alexey Milovidov
e17995cb75
Tested with "trap" function
2020-07-09 05:24:59 +03:00
alexey-milovidov
0c37fe9c75
Merge pull request #12179 from azat/GROUP-BY-injective-elimination-dictGet-fixes
...
Fix dictGet arguments check during GROUP BY injective functions elimination
2020-07-09 04:29:26 +03:00
alexey-milovidov
df8cde7b54
Merge pull request #12279 from ClickHouse/fix-array-fill
...
Fix arrayFill for empty arrays.
2020-07-08 14:28:15 +03:00
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
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
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
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
Ivan Lezhankin
747a3bb0e8
Support H3 in Arcadia
2020-06-19 13:06:42 +03: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
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
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
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
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
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