Commit Graph

54290 Commits

Author SHA1 Message Date
Azat Khuzhin
d97455a94b Ignore SOURCE_DATE_EPOCH for newer ccache (4+)
ccache 4+ starts respecting SOURCE_DATE_EPOCH [1], it will include it
into the hash of the manifest.

SOURCE_DATE_EPOCH will be passed from debhelpers, by extracting last
entry from d/changelog (or current time if there is entries)

And this will make ccache unusable.

Fix this by ignoring SOURCE_DATE_EPOCH, like current ccache version on
CI does (3.7.7)

  [1]: 238553a1c4/src/ccache.cpp (L1279)
2020-12-23 22:15:57 +03:00
Nikita Mikhailov
7ac7d991ad replace word anime with word big 2020-12-23 22:02:53 +03:00
Nikita Mikhailov
a35ef5ace3 better 2020-12-23 21:59:27 +03:00
Azat Khuzhin
0325203759 d/rules: disable hardening (they were not added in official builds anyway)
After upgrading compat level to 10 (in previous commit to avoid warning
on debian:testing, and this is not just a warning, but the compat level
implicitly changed to 10), hardening became working, since it requires
compat level >= 9 [1]

  [1]: https://wiki.debian.org/Hardening

While hardening for clickhouse builds should not be used, so just
disable them.
2020-12-23 21:50:37 +03:00
Azat Khuzhin
08beb3ad64 d/compat: bump compatibility level to 10
Official CI builds uses ubuntu:20.04, which has the following:
- debhelper: 12.10ubuntu1
- dpkg-dev: 1.19.7ubuntu3 (should not be relevant, but let's keep it)

While debian:testing has:
- debhelper: 13.3
- dpkg: 1.20.5 (should not be relevant, but let's keep it)

In debhelper 13 compat level <= 9 has been deprecated [1], hence the
warning:

    warning: Compatibility levels before 10 are deprecated (level 8 in use)

  [1]: 427594c413

And this is not only warning but also compat level implicitly will be
changed to 10. For now this is only for debian:testing but in future it
will be relevant for newer ubuntu, and hence official builds.
2020-12-23 21:50:24 +03:00
Nikita Mikhailov
9a069b2cc0 Merge branch 'copier-segfault' of github.com:nikitamikhaylov/ClickHouse into copier-segfault 2020-12-23 21:31:18 +03:00
Vitaliy Zakaznikov
13e633c1ad Regenerating ldap/authentication/requirements/requirements.py 2020-12-23 13:17:18 -05:00
Anton Popov
857e2ef557 remove unused code 2020-12-23 21:03:41 +03:00
Anton Popov
c8cdaba180 Merge remote-tracking branch 'upstream/master' into remove-unused-code-1 2020-12-23 20:38:29 +03:00
Anton Popov
204a20fe29 remove unused code 2020-12-23 20:34:00 +03:00
Nikita Mikhailov
bcb595e34c Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-segfault 2020-12-23 20:30:51 +03:00
Nikolai Kochetov
97ffc40321
Merge pull request #18409 from ClickHouse/try-to-fix-ya-check
Try fix ya.make
2020-12-23 20:02:53 +03:00
vdimir
05d45fcf61 Raise an error if more than one key is provided to ip_dictionary 2020-12-23 16:58:54 +00:00
Nikolai Kochetov
8ffadac2a3 Try disable ucontect for arcadia 2020-12-23 19:49:36 +03:00
Anton Popov
84ec3930ba
Merge pull request #18223 from ClickHouse/delayed_last_mark_for_wide_parts
Better adaptive granularity calculation for wide parts
2020-12-23 19:37:25 +03:00
Nikita Mikhailov
744ee23820 Merge branch 'master' of github.com:ClickHouse/ClickHouse into copier-segfault 2020-12-23 19:32:21 +03:00
Amos Bird
6fc225e676
Distributed insertion to one random shard (#18294)
* Distributed insertion to one random shard

* add some tests

* add some documentation

* Respect shards' weights

* fine locking

Co-authored-by: Ivan Lezhankin <ilezhankin@yandex-team.ru>
2020-12-23 19:04:05 +03:00
Ivan
51481c9c5f
Add ANTLR test config to another json 2020-12-23 18:25:05 +03:00
Nikolai Kochetov
e56a1c442c Use ucontext fir arcadia build. 2020-12-23 18:20:52 +03:00
myrrc
b48370d4bd fixed explicit type 2020-12-23 17:44:43 +03:00
myrrc
01b311c5c4 over-scale fix 2020-12-23 17:42:19 +03:00
Alexey Milovidov
fdc8950fbe Do not use watchdog when server is run from tty 2020-12-23 17:31:10 +03:00
myrrc
631a2bce79 reverted the tests to initial state 2020-12-23 17:29:03 +03:00
myrrc
4988e05134 fixing the Decimal * Float aggregate case 2020-12-23 17:26:03 +03:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
myrrc
2516f8408e fix initialization 2020-12-23 17:23:20 +03:00
myrrc
0ab198238a fix the compile error 2020-12-23 17:21:12 +03:00
Alexey Milovidov
e169b39fa7 Fix website 2020-12-23 17:19:51 +03:00
myrrc
fcfe76d703 trying to fix different types of * 2020-12-23 17:18:38 +03:00
myrrc
fec0a59082 transfered scale factor calc for multiply from the impl 2020-12-23 16:57:11 +03:00
Vitaliy Zakaznikov
26ca04c92d Merge branch 'master' of https://github.com/traceon/ClickHouse into ldap-cache-login 2020-12-23 08:17:12 -05:00
myrrc
473aef519d reverted 1 scale to fix 3 tests 2020-12-23 16:11:20 +03:00
Amos Bird
2e0a2257b8
-SimpleState function arg type = return type 2020-12-23 21:09:05 +08:00
Alexey Milovidov
34b6b8407a Fix website 2020-12-23 15:56:05 +03:00
alexey-milovidov
0f98fe3c0c
Merge pull request #18365 from CurtizJ/fix-group-by-distinct
Fix race in aggregation with combinator distinct
2020-12-23 15:41:20 +03:00
alexey-milovidov
568119535a
Merge pull request #18378 from azat/ccache-fix
Do not override RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK in rocksdb
2020-12-23 15:35:25 +03:00
alexey-milovidov
2c7979dd64
Merge pull request #18379 from vitlibar/fix-filling-table-system-settings-profile-elements
Fix filling table system.settings_profile_elements.
2020-12-23 15:34:00 +03:00
alesapin
b6ff4713ee Build contrib in release 2020-12-23 15:31:18 +03:00
Nikolai Kochetov
7a9282ee7b Try fix ya.make 2020-12-23 15:31:16 +03:00
alesapin
e3d9f4739d
Update test.py 2020-12-23 15:06:21 +03:00
alesapin
28aef2ddd4
Update test.py 2020-12-23 15:05:55 +03:00
alesapin
af53559b4f
Update test.py 2020-12-23 15:05:25 +03:00
alesapin
5fc3da74d0
Update test.py 2020-12-23 15:04:29 +03:00
alesapin
fb1c6c4eb4
Update MergeTreeSettings.h 2020-12-23 15:03:55 +03:00
alesapin
54455b4740 Add test for already working code 2020-12-23 14:53:49 +03:00
alesapin
58d0e8901e Remove hardcoded tests 2020-12-23 14:05:59 +03:00
Alexey Milovidov
ddfe9f61e0 Fix website 2020-12-23 13:57:17 +03:00
Anton Popov
518cac6150 fix for review 2020-12-23 13:11:24 +03:00
Nikolai Kochetov
3fd0b69fab
Merge pull request #7649 from ucasFL/master
Add simhash, minhash, and hammingdistance function
2020-12-23 12:22:38 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
Async read from socket
2020-12-23 12:20:42 +03:00