alexey-milovidov
1701cc429d
Merge pull request #26353 from azat/optimize_distributed_group_by_sharding_key-fix
...
Fix optimize_distributed_group_by_sharding_key for multiple columns
2021-07-17 01:45:10 +03:00
alexey-milovidov
6f13eb49c1
Merge pull request #26320 from Algunenano/profile_sleep_calls
...
Add profile events for sleep function calls
2021-07-17 01:37:23 +03:00
alexey-milovidov
f3a5d3227a
Merge pull request #26428 from ClickHouse/fix-msan-from-22517
...
Fix msan crash from 22517
2021-07-17 01:11:55 +03:00
Nikolai Kochetov
1c1cc22a06
Fix msan crash from #22517 .
2021-07-16 17:22:26 +03:00
Alexey Milovidov
dc884de1a3
Relax condition in flaky test
2021-07-16 16:58:02 +03:00
alexey-milovidov
181f20cfe1
Merge pull request #26368 from ianton-ru/fix_dns_exception
...
Catch Poco exception in resolveIPAddressImpl
2021-07-16 16:04:55 +03:00
alexey-milovidov
4103c22310
Merge pull request #26245 from arenadata/ADQM-322
...
Avro string for ClickHouse String
2021-07-16 12:23:50 +03:00
Anton Ivashkin
4dfd6ddcdb
Catch Poco exception in resolveIPAddressImpl
2021-07-16 10:47:44 +03:00
Vladimir
c8ead44c23
Merge pull request #26374 from vdimir/infinite-pmj-fix
2021-07-16 09:50:44 +03:00
vdimir
cf77a3e05a
Fix infine non joined block stream in merge join
2021-07-15 18:22:46 +03:00
Alexey Milovidov
241bb3757a
Remove "long" from test name
2021-07-15 15:37:33 +03:00
Alexey Milovidov
a2fa2543b7
Fix flaky test 01293_client_interactive_vertical_multiline_long
2021-07-15 15:36:42 +03:00
Filatenkov Artur
29b1155c95
Merge pull request #26261 from SaintBacchus/toTimeZone
...
Make toTimeZone monotonicity when timeZone is a constant value
2021-07-15 13:02:35 +03:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283"
2021-07-15 10:53:35 +03:00
Azat Khuzhin
7b209694d5
Fix optimize_distributed_group_by_sharding_key for multiple columns
...
Before we incorrectly check that columns from GROUP BY was a subset of
columns from sharding key, while this is not right, consider the
following example:
select k1, any(k2), sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1
Here the columns from GROUP BY is a subset of columns from sharding key,
but the optimization cannot be applied, since there is no guarantee that
particular shard contains distinct values of k1.
So instead we should check that GROUP BY contains all columns that is
required for calculating sharding key expression, i.e.:
select k1, k2, sum(v) from remote('127.{1,2}', view(select 1 k1, 2 k2, 3 v), cityHash64(k1, k2)) group by k1, k2
2021-07-15 09:09:58 +03:00
alexey-milovidov
0893b9ff8e
Merge pull request #26218 from amosbird/projection-improve1
...
Aggressive IN index analysis for projections.
2021-07-15 08:13:45 +03:00
alexey-milovidov
96030dc2d7
Merge pull request #26250 from vdimir/issue-26017-join-totals-key
...
Fix block structure mismatch in join totals
2021-07-15 08:03:37 +03:00
alexey-milovidov
3e1eecba89
Merge pull request #26326 from egatov/master
...
Modifications to an obscure Yandex TSKV format
2021-07-15 07:54:48 +03:00
huangzhaowei
d5e907ac8d
Add a test case for monotonicity totimezone
2021-07-15 10:39:34 +08:00
Evgeniy Gatov
5a884da13c
METR-41529
2021-07-15 00:57:18 +03:00
Raúl Marín
255fbe22a2
Drop view when done
2021-07-14 23:27:36 +02:00
kssenii
f20ea87bfb
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into add-sqlite-database-path-check
2021-07-14 20:49:05 +00:00
alexey-milovidov
11a4b56f51
Merge pull request #26305 from ClickHouse/function_range_max_elements_in_block
...
Add a setting `function_range_max_elements_in_block`
2021-07-14 23:15:25 +03:00
Raúl Marín
901e251d53
Add profile events to sleep function calls
2021-07-14 18:44:09 +02:00
Amos Bird
0558ecdc3f
Aggressive IN index analysis for projections.
2021-07-14 22:56:52 +08:00
Raúl Marín
59ec2bafbd
Improve read_file_to_stringcolumn compatibility
...
If you don't go enough times back (../../) it might not reach /tmp/c.txt
2021-07-14 16:35:46 +02:00
Anton Popov
e2249bf1e5
Merge pull request #26256 from zxc111/issue-822
...
Check hash function at table creation
2021-07-14 14:16:02 +03:00
vdimir
b49e37aa07
Rewrite join totals, fix block structure mismatch
2021-07-14 13:02:23 +03:00
Alexey Milovidov
acd6e4f0aa
Add a test
2021-07-14 12:13:40 +03:00
Vladimir
c6177bd0cc
Merge pull request #26123 from vdimir/issue-25806-null-enum-to-str
2021-07-14 10:22:37 +03:00
zxc111
75393249bf
fix test case
2021-07-14 11:53:09 +08:00
kssenii
b393603b57
Fix build
2021-07-13 22:25:26 +00:00
Nikita Mikhaylov
46eb563e79
update arcadia skip list
2021-07-13 20:19:06 +00:00
kssenii
3242a8a86a
Update test
2021-07-13 19:06:08 +00:00
Nikita Mikhaylov
208ef7a2d2
Merge pull request #24980 from Andr0901/s2-library
...
Integration of S2 library
2021-07-13 20:10:57 +03:00
Nikita Mikhaylov
f8b4b3e81b
Merge pull request #25595 from ClickHouse/revert-25593-revert-24867-ncb/h3-indexing-funcs
...
Implement h3ToGeo function [2]
2021-07-13 20:08:17 +03:00
Maksim Kita
3d05f07ece
Merge pull request #25917 from excitoon-favorites/defaultblocksizeprediction
...
Using required columns for block size prediction
2021-07-13 20:05:41 +03:00
Ilya Golshtein
969458f043
Avro string for ClickHouse string minor fixes
2021-07-13 20:03:01 +03:00
Ilya Golshtein
020cce63b0
Avro string for ClickHouse string tests and doc
2021-07-13 20:03:00 +03:00
zxc111
e0497e9549
fix test case
2021-07-14 00:36:21 +08:00
Nikita Mikhaylov
c255f152aa
Merge pull request #26051 from ClickHouse/fix_21184
...
Fix sequence_id in MySQL protocol
2021-07-13 16:03:25 +03:00
kssenii
f86817d57c
Check inclusion inside user_files
2021-07-13 12:38:37 +00:00
Nikita Mikhaylov
cac2aa9699
Revert "Revert "Implement h3ToGeo function""
2021-07-13 12:10:21 +00:00
zxc111
b958bc07e1
fix hash function for sampling is not unsigned integer
2021-07-13 19:31:32 +08:00
vdimir
f94b1419f2
Add testcase to 01107_join_right_table_totals
2021-07-13 14:07:06 +03:00
Nikita Mikhaylov
927706da1f
fix arcadia
2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
9cd29f359f
fix test
2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
1b4f60a0f6
fix fuzzer
2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fa816ab19c
fix fuzzer
2021-07-13 10:51:35 +00:00
Nikita Mikhaylov
fbf529411b
fix tests
2021-07-13 10:51:35 +00:00