Commit Graph

94055 Commits

Author SHA1 Message Date
Alexander Tokmakov
917fbb9b07 remove c-ares from grpc 2022-07-25 15:49:03 +02:00
vdimir
b6f640013d
Fix bug in ASOF JOIN with enable_optimize_predicate_expression 2022-07-25 12:58:34 +00:00
Antonio Andelic
04b03b6a90 Don't allow to overwrite on startup 2022-07-25 12:38:48 +00:00
Sergei Trifonov
d9d1381c3f Merge branch 'master' into concurrency-control 2022-07-25 14:16:46 +02:00
Yakov Olkhovskiy
d0f5dcad25
Merge pull request #38936 from ClickHouse/cmake-self-extracting-executable
Build self-extracting-executable utils
2022-07-25 08:13:25 -04:00
Kruglov Pavel
0655ff3265
Merge branch 'master' into fix-avro 2022-07-25 13:41:21 +02:00
Alexander Gololobov
dbcb7e5f1e Fix for empty function name on FreeBSD build 2022-07-25 13:11:36 +02:00
Mikhail Filimonov
33ee858d18
Fix bug with maxsplit in the splitByChar 2022-07-25 13:11:02 +02:00
Kruglov Pavel
83c7da6e88
Merge branch 'master' into fix-protobuf-capnp-empty-message 2022-07-25 13:02:41 +02:00
Kruglov Pavel
dd8667d3f9
Update settings description 2022-07-25 13:02:25 +02:00
Igor Nikonov
dc96a6270d Remove optimize_memory_usage flag
Memory usage with DistinctSortedTransform fixed in #39538
2022-07-25 10:27:33 +00:00
Robert Schulze
24c74da473
Merge pull request #39430 from azat/getauxval-fix
Fix LSan by fixing getauxval() (resubmit v4)
2022-07-25 10:43:09 +02:00
Igor Nikonov
f574a00e7b Fix test 2022-07-25 07:56:50 +00:00
Alexey Milovidov
1f4e7ea34c Add a test 2022-07-25 05:37:07 +02:00
Alexey Milovidov
4cbf4741fb Add a test 2022-07-25 04:16:07 +02:00
Alexey Milovidov
dde89c9606 Fix errors 2022-07-25 03:56:32 +02:00
Alexey Milovidov
68f5a397d7 Fix errors 2022-07-25 03:49:09 +02:00
Alexey Milovidov
52ad48d1ba Better documentation 2022-07-25 03:32:01 +02:00
Alexey Milovidov
c09413e3b9 Add save/load capabilities to Obfuscator 2022-07-25 03:27:10 +02:00
Alexey Milovidov
6fdcb009ff
Merge pull request #39533 from ClickHouse/now-in-block
Add function `nowInBlock`
2022-07-25 04:22:11 +03:00
Yakov Olkhovskiy
a85818f654 some refactoring 2022-07-24 21:13:00 -04:00
Yakov Olkhovskiy
da42ec7d28 some refactoring 2022-07-24 21:08:43 -04:00
Alexey Milovidov
21d88f346f
Merge pull request #39540 from den-crane/patch-27
Doc. Some notes about formats WithNames
2022-07-25 04:08:34 +03:00
Alexey Milovidov
e01bf1318a
Merge pull request #39539 from den-crane/patch-26
Doc. Note about arguments of translate
2022-07-25 04:07:43 +03:00
Alexey Milovidov
83a18e9efe
Merge pull request #39536 from den-crane/patch-25
Doc. Sync star-schema.md in RU/ZH
2022-07-25 04:06:51 +03:00
Alexey Milovidov
388d06fda1
Merge pull request #39535 from ClickHouse/stringref
Less usage of StringRef
2022-07-25 04:06:11 +03:00
Denny Crane
d15ee4b48b
Update formats.md 2022-07-24 21:34:35 -03:00
Denny Crane
6def34750a Merge branch 'patch-28' into patch-27 2022-07-24 21:14:28 -03:00
Denny Crane
60265c4bb9
Update settings.md 2022-07-24 21:06:45 -03:00
Denny Crane
bca33a5a0a
Update formats.md 2022-07-24 20:57:37 -03:00
Denny Crane
31630ff38e
Update string-replace-functions.md 2022-07-24 20:18:49 -03:00
Denny Crane
a1a1d357b4
Update string-replace-functions.md 2022-07-24 20:15:48 -03:00
Nikita Taranov
a4ba3649f3
Fix 02286_parallel_final (#39524) 2022-07-25 00:54:03 +02:00
Igor Nikonov
5829e47adb Add test: check the optimized DISTINCT output is the same as for
ordinary one
2022-07-24 22:27:02 +00:00
Azat Khuzhin
a4f9e1da5b Fix getauxval() by using procfs with fallback to environ
getauxval() from glibc-compatibility did not work always correctly:

- It does not work after setenv(), and this breaks vsyscalls,
  like sched_getcpu() [1] (and BaseDaemon.cpp always set TZ if timezone
  is defined, which is true for CI [2]).

  Also note, that fixing setenv() will not fix LSan,
  since the culprit is getauxval()

  [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1163404
  [2]: ClickHouse#32928 (comment)

- Another think that is definitely broken is LSan (Leak Sanitizer), it
  relies on worked getauxval() but it does not work if __environ is not
  initialized yet (there is even a commit about this).

  And because of, at least, one leak had been introduced [3]:

    [3]: ClickHouse#33840

Fix this by using /proc/self/auxv with fallback to environ solution to
make it compatible with environment that does not allow reading from
auxv (or no procfs).

v2: add fallback to environ solution
v3: fix return value for __auxv_init_procfs()
(cherry picked from commit f187c3499a)
v4: more verbose message on errors, CI founds [1]:
    AUXV already has value (529267711)
    [1]: https://s3.amazonaws.com/clickhouse-test-reports/39103/2325f7e8442d1672ce5fb43b11039b6a8937e298/stress_test__memory__actions_.html
v5: break at AT_NULL
v6: ignore AT_IGNORE
v7: suppress TSan and remove superior check to avoid abort() in case of race
v8: proper suppressions (not inner function but itself)
Refs: #33957
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-25 01:22:04 +03:00
Azat Khuzhin
93f876b58a Add a test for LSan
(cherry picked from commit 51e7c41883)
v2: fix type check
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-25 01:21:40 +03:00
Igor Nikonov
41e72aac83 Fix: DistinctSortedTransform doesn't take advantage of sorting
clearing_columns are set incorrectly, so we never clear HashSet
2022-07-24 21:35:36 +00:00
Alexey Milovidov
0492f23d07 Add the docs 2022-07-24 23:11:54 +02:00
Alexey Milovidov
668f632d78
Merge pull request #39523 from loskutov/patch-1
LZ4_decompress_faster.cpp: remove endianness-dependent code
2022-07-25 00:06:58 +03:00
Alexey Milovidov
df84fa988a
Merge pull request #39532 from tylerhannan/add_equinix_n3.xlarge
add Equinix metal N3 Xlarge
2022-07-25 00:06:05 +03:00
Robert Schulze
b1da2eb9e6
Remove tests again ...
They broke because QPL is compiled only when AVX2/512 is on. This is
not the case in CI.
2022-07-24 20:42:38 +00:00
Denny Crane
a862e08fc4
Update star-schema.md 2022-07-24 17:10:36 -03:00
Robert Schulze
2785783def
Mark DEFLAPT_QPL as 'experimental' codec + cosmetics 2022-07-24 20:10:11 +00:00
Denny Crane
b6121a1bf1
Update star-schema.md 2022-07-24 17:07:47 -03:00
Alexander Gololobov
460950ecdc
Merge branch 'master' into feature/sql-standard-delete 2022-07-24 21:27:22 +02:00
Robert Schulze
68f0dcc206
Remove mention of C++03 exception specifiers
... such exception specifiers trigger a compiler warning these days
anyways (i.e. are treated as error)
2022-07-24 18:41:43 +00:00
Robert Schulze
f3a60991f4
Smallish compiler warnings update 2022-07-24 18:41:43 +00:00
Robert Schulze
a9fb677084
Bump Clang version to current minimum 2022-07-24 18:41:43 +00:00
Robert Schulze
2ded3da887
Bump Clang version to current minimum 2022-07-24 18:41:43 +00:00
Robert Schulze
cec8458429
Remove Mac instructions
... they are given at length on the dedicated setup page for Mac
2022-07-24 18:41:43 +00:00