Ivan Lezhankin
fd27ac9e9e
Merge remote-tracking branch 'upstream/master' into issue-5286
2019-08-11 00:11:44 +03:00
Ivan
cce3ab08bb
Do not convert columns by position when pushing to materialized views ( #6415 )
...
* Do not convert columns by position
* Update 00984_materialized_view_to_columns.reference
2019-08-11 00:00:13 +03:00
alexey-milovidov
838c5e535f
Merge pull request #6433 from yandex/prevent-stack-overflow-in-parser
...
Fixed possible stack overflow in parser
2019-08-10 23:58:54 +03:00
Alexey Milovidov
692ce0f6c5
Added two more tests
2019-08-10 21:01:35 +03:00
Alexey Milovidov
afef5c6c70
Added stack protection; added a test
2019-08-10 20:51:47 +03:00
Alexey Milovidov
c80aeb0ef1
Fixed another case; added a test
2019-08-10 20:08:14 +03:00
Alexey Milovidov
b133ea85b4
More tests
2019-08-10 19:51:09 +03:00
Alexey Milovidov
e11ba9ded9
One more test
2019-08-10 19:47:59 +03:00
Alexey Milovidov
02a6b2c1ab
Added a test
2019-08-10 19:40:57 +03:00
Alexey Milovidov
0a9787c7f3
Fixed possible stack overflow in parser
2019-08-10 19:38:25 +03:00
Olga Khvostikova
dd6f48342d
Merge pull request #6428 from yandex/low-cardinality-setting-in-cast
...
Fix behavior low cardinality setting in creating materialized view (Fix #6293 )
2019-08-10 18:26:59 +03:00
alexey-milovidov
30f8529e04
Merge pull request #6325 from kreuzerkrieg/Shadow4GCC
...
adding -Wshadow for GCC
2019-08-10 17:29:10 +03:00
alexey-milovidov
c8a810ef58
Merge branch 'master' into fix25
2019-08-10 01:21:54 +03:00
Alexey Milovidov
7e6b1333a1
Renamed Yandex CTO just in case
2019-08-10 00:58:17 +03:00
kreuzerkrieg
112fc71276
adding -Wshadow for GCC
2019-08-09 23:58:16 +03:00
stavrolia
626b75b6a5
Fix behavior low cardinality setting in creating materialized view
2019-08-09 22:17:19 +03:00
Alexey Milovidov
7b375032b5
Added a test
2019-08-09 20:26:25 +03:00
Alexey Milovidov
f636a4c2c1
Fixed arrayEnumerateUniqRanked function (TODO: simplify code as much as possible)
2019-08-09 20:25:19 +03:00
chertus
6491de7edd
forget to remove field in last patch
2019-08-09 19:17:01 +03:00
proller
9a438d9f7d
Fix build without protobuf
2019-08-09 19:09:24 +03:00
alexey-milovidov
4e98a5b177
Merge pull request #6410 from yandex/more-safe-parsing-names-types-list
...
Slightly more safe parsing of NamesAndTypesList
2019-08-09 18:34:29 +03:00
Alexey Milovidov
98ea652ad6
Whitespaces
2019-08-09 18:30:39 +03:00
chertus
e06c994b0e
refactoring: move collectUsedColumns from ExpressionAnalyzer to SyntaxAnalyzer
2019-08-09 17:50:04 +03:00
CurtizJ
ead6336d2c
function topK: fix merge stage and fix memory leaks
2019-08-09 13:11:50 +03:00
Alexey Milovidov
f609e8a785
Slightly more safe parsing of NamesAndTypesList
2019-08-09 03:00:32 +03:00
Alexey Milovidov
86f321a7cd
Whitespaces
2019-08-09 02:55:08 +03:00
alexey-milovidov
28e87cc430
Merge pull request #6409 from yandex/get-identifier-name-fixed-unpleasant-code
...
Fixed unsafe code around "getIdentifier" function.
2019-08-09 02:31:49 +03:00
Alexey Milovidov
b3ab21e7a0
Addition to prev. revision
2019-08-08 23:27:12 +03:00
Alexey Milovidov
724b4b0293
Addition to prev. revision
2019-08-08 23:26:42 +03:00
Alexey Milovidov
2ba185b4aa
Addition to prev. revision
2019-08-08 23:10:58 +03:00
alexey-milovidov
62a6248ca9
Merge pull request #6406 from yandex/no_virtual_columns_in_system_columns
...
No virtual columns in system.columns
2019-08-08 23:04:38 +03:00
Alexey Milovidov
2248c32f9c
Added a test #6401
2019-08-08 23:04:16 +03:00
Alexey Milovidov
a6e4b34ab4
Fixed unpleasant code #6401
2019-08-08 23:02:30 +03:00
Alexey Milovidov
e40854d7fb
Merge branch 'master' of github.com:yandex/ClickHouse
2019-08-08 22:42:47 +03:00
Alexey Milovidov
1437065c70
Fixed tests and error messages #6351
2019-08-08 22:42:34 +03:00
alexey-milovidov
b579692fe9
Merge pull request #6378 from 4ertus2/bugs
...
Fix crash in median over Nullable(Decimal128)
2019-08-08 22:32:11 +03:00
alexey-milovidov
8316c83cc4
Merge pull request #6392 from yandex/fix-performance-test
...
Attempt to fix performance test
2019-08-08 22:31:47 +03:00
alexey-milovidov
35f4e7cf33
Merge pull request #6351 from 4ertus2/some
...
Disable ANY RIGHT and ANY FULL JOINs by default
2019-08-08 19:16:49 +03:00
alexey-milovidov
80e68a803b
Merge pull request #6374 from dimarub2000/fix_toFloat_monotonicity
...
toFloat() monotonicity fixed
2019-08-08 19:11:38 +03:00
alexey-milovidov
0ece3708e7
Update PODArray.h
2019-08-08 19:07:58 +03:00
Alexey Milovidov
40a3f77917
Removed duplicate include
2019-08-08 19:01:42 +03:00
Alexey Milovidov
cf0fd481d3
Added a test
2019-08-08 18:51:33 +03:00
Alexey Milovidov
e7c7694377
Removed virtual columns from system.columns for backward compatibility
2019-08-08 18:48:32 +03:00
Nikolai Kochetov
804a6fad8a
Do not return extremes and totals for insert select.
2019-08-08 17:46:30 +03:00
chertus
391574f361
rename setting + disable ANY INNER JOIN too
2019-08-08 17:20:25 +03:00
CurtizJ
a56d897c2c
better performance in topK function
2019-08-08 16:06:27 +03:00
CurtizJ
61a8abb813
add more tests for functions topK and topKWeighted
2019-08-08 15:42:48 +03:00
chertus
d67abcf691
better alignment
2019-08-08 15:11:54 +03:00
CurtizJ
3c227dce13
fix topK and topKWeighted functions
2019-08-08 14:27:15 +03:00
Ivan Lezhankin
e90bf74ce8
Merge branch 'master' into issue-5286
2019-08-08 12:57:00 +03:00
dimarub2000
90010c4040
Changed to a more suitable name
2019-08-08 11:41:38 +03:00
alexey-milovidov
99fad0904b
Merge pull request #6314 from infinivision/add_bitmapRange
...
added bitmapRange function
2019-08-08 04:51:48 +03:00
alexey-milovidov
235cf98710
Merge pull request #6390 from yandex/fix-build-on-mac-default-hash-uintptr_t
...
Fix for Mac OS build
2019-08-08 04:43:05 +03:00
Alexey Milovidov
a23813383d
Attempt to fix performance test
2019-08-08 03:48:43 +03:00
alexey-milovidov
9c2165b800
Merge pull request #6388 from yandex/transform-query-substring-test
...
Added a test just in case
2019-08-08 03:11:37 +03:00
alexey-milovidov
d571c17922
Merge pull request #6389 from yandex/remove-extra-logging-mysql
...
Removed extra verbose logging from MySQL handler
2019-08-08 03:09:11 +03:00
alexey-milovidov
0d3b383c98
Merge pull request #6384 from CurtizJ/fix-optimize-unused-shards
...
Fix segfault with enabled 'optimize_skip_unused_shards' and missing sharding key.
2019-08-08 03:04:23 +03:00
alexey-milovidov
b06bb0a9df
Merge pull request #6380 from 4ertus2/perf
...
Hotfix for Decimal comparison
2019-08-08 03:04:07 +03:00
Alexey Milovidov
a6a9eaef7c
Fix for Mac OS build
2019-08-08 00:53:50 +03:00
alexey-milovidov
355b1e5594
Merge pull request #6352 from yandex/no_space_left_on_device_message
...
Print extra info in exception message for "no space left on device"
2019-08-07 22:28:38 +03:00
Alexey Milovidov
d256fb9d57
Removed extra verbose logging from MySQL handler
2019-08-07 22:14:58 +03:00
Alexey Milovidov
688a80dd80
Added a test just in case #6381
2019-08-07 21:52:53 +03:00
chertus
9c15e65dc9
alignment for AllocatorWithStackMemory
2019-08-07 21:43:06 +03:00
Ivan
1bf6e034e8
Fix infinite loop when reading Kafka messages ( #6354 )
...
* Do not pause/resume consumer at all
* Fix kafka tests
* Try to ensure the subscription
* Set timeout for kafka tests and return 'while True'
* Update cluster.py
* When doing a raw select from kafka, ignore client errors.
They may rise due to 'Local: Timed out' while subscribing.
2019-08-07 19:10:14 +03:00
CurtizJ
7e22f78ce4
fix segfault with enabled 'optimize_skip_unused_shards' and missing sharding key
2019-08-07 18:47:25 +03:00
chertus
e6a93698cb
add perf test
2019-08-07 17:41:03 +03:00
chertus
c76c11d8cd
minor perf improvement
2019-08-07 17:12:57 +03:00
chertus
5bb0cde59c
hotfix for Decimal.compareAt
2019-08-07 16:53:46 +03:00
Alexander Tokmakov
5cf183cbe3
fixes after review
2019-08-07 15:55:27 +03:00
chertus
7426d1b4f7
add test
2019-08-07 15:26:44 +03:00
Dmitry Rubashkin
93d385f813
Tests
2019-08-07 15:14:45 +03:00
Alexey Milovidov
cfe3112bf2
Enabled SIMDJSON for SSE 4.2 with PCLMUL instruction set
2019-08-07 15:07:34 +03:00
Ivan Lezhankin
0bc6847111
Update references
2019-08-07 12:54:29 +03:00
dimarub2000
7f26e09160
toFloat() monotonicity fixed
2019-08-07 12:22:33 +03:00
Alexander Tokmakov
0ee3e21fbc
fix style
2019-08-06 23:39:07 +03:00
Alexander Tokmakov
aefc664819
refactor throwFromErrno
2019-08-06 21:54:06 +03:00
chertus
2fee5ccd34
fix another tests
2019-08-06 20:53:57 +03:00
Artem Zuikov
048fe08bde
Merge pull request #6362 from 4ertus2/bugs
...
Test for crash from #5859
2019-08-06 19:50:12 +03:00
Alexander Kuzmenkov
224ed0ca67
Revert wrong merge commit.
...
This reverts commit 9cd9c69449
.
2019-08-06 17:59:19 +03:00
Vasily Nemkov
9cd9c69449
geohashesInbox(lon_min, lat_min, lon_max, lat_max, precision) function ( #6127 )
2019-08-06 17:57:17 +03:00
Vasily Nemkov
fcb0482830
Implement geohashesInBox function. #6127
2019-08-06 17:53:06 +03:00
Alexander Tokmakov
c3039196da
fixes
2019-08-06 17:51:27 +03:00
chertus
3705035457
fix test
2019-08-06 17:29:49 +03:00
alexey-milovidov
416a498b0f
Merge pull request #6329 from Vdimir/throwif-custom-message-5772
...
Added optional message argument in throwIf (#5772 )
2019-08-06 17:27:46 +03:00
alexey-milovidov
511bf37029
Update 00602_throw_if.sh
2019-08-06 17:26:51 +03:00
alexey-milovidov
a455bd7355
Merge pull request #6348 from Vxider/master
...
build fix
2019-08-06 17:24:22 +03:00
Ivan Lezhankin
b55da1888a
Add "_timestamp" virtual column
2019-08-06 17:18:37 +03:00
Vxider
42287c0b72
format code
2019-08-06 22:04:51 +08:00
Vxider
4d780d99f4
build fix
2019-08-06 22:03:41 +08:00
Ivan Lezhankin
4bc2b32c3e
Merge branch 'master' into issue-5286
2019-08-06 16:25:51 +03:00
Alexander Tokmakov
c96b10be9f
style fixes
2019-08-06 15:51:10 +03:00
chertus
ffb053aa5f
add test for crash described in #5859
2019-08-06 14:15:48 +03:00
alexey-milovidov
9dd9553d73
Merge pull request #6344 from amosbird/c9
...
Optimize Count() Cond.
2019-08-06 13:55:45 +03:00
Nikolai Kochetov
6685ccba65
Merge pull request #6346 from yandex/more-checks-in-cast-function
...
Added more checks in CAST function.
2019-08-06 10:47:54 +03:00
Amos Bird
9950c9442b
Update
2019-08-06 09:34:49 +08:00
Alexey Milovidov
eadb6ef1a4
Suppress PVS-Studio warning
2019-08-05 22:48:23 +03:00
Alexander Tokmakov
75d10f4160
print extra info in exception message
2019-08-05 22:41:20 +03:00
chertus
c909e00865
disable ANY RIGHT and ANY FULL JOINs by default
2019-08-05 22:23:02 +03:00
Vxider
03092d5704
build fix
2019-08-06 00:53:11 +08:00
Nikolai Kochetov
e361d336bb
Merge pull request #6239 from yandex/processors-and-output-formats
...
Processors and output formats
2019-08-05 19:45:17 +03:00