Commit Graph

68436 Commits

Author SHA1 Message Date
zvonand
8bd805b2c2 xfails 2021-07-15 11:05:50 +03:00
alexey-milovidov
94a210650f
Merge pull request #26352 from ClickHouse/revert-25774-datatype-date32
Revert "Datatype Date32, support range 1925 to 2283"
2021-07-15 10:53:45 +03:00
alexey-milovidov
9ba4064c86
Revert "Datatype Date32, support range 1925 to 2283" 2021-07-15 10:53:35 +03:00
Alexey Milovidov
c28f027b14 Fix error in stress test script 2021-07-15 10:24:35 +03:00
Peng Jian
9c4dbda0ef fix tast case reference 2021-07-15 14:25:05 +08: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
21f2b006cd
Update test_cte_distributed.py 2021-07-15 08:17:22 +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
59e6502a3b
Merge pull request #26329 from vzakaznikov/fix_testflows_rbac_sample_by_tests
Fixing RBAC sample by tests in TestFlows.
2021-07-15 08:01:33 +03:00
alexey-milovidov
323b60fcea
Merge pull request #26321 from ClickHouse/tavplubix-patch-2
Fix rare logical race in `cloneReplica(...)`
2021-07-15 08:00:26 +03:00
alexey-milovidov
8a4e128870
Merge pull request #26323 from azat/bump-poco-socket-poll
Make socket poll() 7x faster (by replacing epoll() with poll())
2021-07-15 07:59:57 +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
Kseniia Sumarokova
ef7f1deadf
Merge pull request #26266 from kssenii/add-sqlite-database-path-check
Add check for sqlite database path
2021-07-15 07:52:50 +03:00
Peng Jian
ac06ba3329 add test reference 2021-07-15 11:12:28 +08: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
af8633dcdb Update insertPostgreSQLValue.cpp 2021-07-14 20:51:47 +00: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
Kseniia Sumarokova
e42a26a585
Merge pull request #26234 from jasine/master
convert timestamp and  timestamptz data types to DateTime64 in postgres engine
2021-07-14 23:42:51 +03:00
alexey-milovidov
e5e3a88984
Update adopters.md 2021-07-14 23:41:03 +03:00
Alexey Milovidov
a60d52d9c3 Whitespaces #26330 2021-07-14 23:26:42 +03: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
alexey-milovidov
a3742c58f9
Merge pull request #26317 from Algunenano/fix_read_file_to_stringcolumn
Improve read_file_to_stringcolumn test compatibility
2021-07-14 23:14:54 +03:00
kssenii
4fb0762bbb Merge branch 'add-sqlite-database-path-check' of github.com:kssenii/ClickHouse into add-sqlite-database-path-check 2021-07-14 20:08:11 +00:00
kssenii
e875f1e289 Fix yandex check 2021-07-14 20:07:55 +00:00
Vitaliy Zakaznikov
521916c203 Fixing RBAC sample by tests in TestFlows. 2021-07-14 15:40:04 -04:00
Alexey
83460e8db9 Example changed to show casting float to decimal
Other fixes and improvements
2021-07-14 19:27:32 +00:00
alexey-milovidov
28067f73d2
Merge pull request #26322 from ClickHouse/play-ui-save-url
Save server address in history URLs in Play UI
2021-07-14 22:08:10 +03:00
Azat Khuzhin
61d6e30ffa Make socket poll() 7x faster (by replacing epoll() with poll()) 2021-07-14 21:22:23 +03:00
Alexey Milovidov
18c985a7d7 Save server address in history URLs in Play UI 2021-07-14 21:16:16 +03:00
Kseniia Sumarokova
ef0ebaf55c
Update SQLiteUtils.cpp 2021-07-14 20:20:41 +03:00
tavplubix
41bb8acbb5
Update StorageReplicatedMergeTree.cpp 2021-07-14 20:05:50 +03:00
Raúl Marín
901e251d53 Add profile events to sleep function calls 2021-07-14 18:44:09 +02:00
Filatenkov Artur
f1702d356e
Merge pull request #26120 from lthaooo/settings-merge_selecting_sleep_ms
add merge_selecting_sleep_ms setting
2021-07-14 18:28:47 +03:00
Amos Bird
28b567a01b
Update 2021-07-14 23:09:17 +08:00
alexey-milovidov
55fc7323fd
Update MergeTreeDataSelectExecutor.h 2021-07-14 22:56:52 +08:00
alexey-milovidov
1ef068596c
Update MergeTreeDataSelectExecutor.cpp 2021-07-14 22:56:52 +08:00
alexey-milovidov
f20a3c596a
Update ReadFromMergeTree.cpp 2021-07-14 22:56:52 +08: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
kssenii
d62cbbb8a5 Unification 2021-07-14 13:16:30 +00:00
Peng Jian
93b09c54fd add test case 2021-07-14 21:12:32 +08:00
adevyatova
54c0b88b26 Minor fixed 2021-07-14 13:02:30 +00:00
Alexey Milovidov
9070cb53dd Disable Testflows RBAC test (unstable) 2021-07-14 15:51:07 +03:00
alexey-milovidov
6c672920d1
Merge pull request #26262 from azat/bump-poco
Bump poco (now poco fork has CI via github actions)
2021-07-14 15:46:45 +03:00
Peng Jian
eed01abf65 fix test case 2021-07-14 20:42:02 +08:00
alexey-milovidov
c73f13be93
Merge pull request #26294 from arenadata/ADQM-325
yandex/clickhouse-test-base Dockerfile fix (mysql connector moved)
2021-07-14 15:37:00 +03:00
vdimir
e2280aad18
Merge branch 'master' into exception_id 2021-07-14 14:50:50 +03:00