Commit Graph

93739 Commits

Author SHA1 Message Date
Alexey Milovidov
71060a7e8c
Merge pull request #39501 from ClickHouse/DanRoscigno-patch-3
update Grafana plugin in docs
2022-07-26 07:04:22 +03:00
Alexey Milovidov
62a069b9d8
Merge pull request #39571 from den-crane/patch-29
Doc. fix markup settings.md
2022-07-26 06:59:31 +03:00
Alexey Milovidov
c06e7b6615
Merge pull request #39576 from ClickHouse/auto/v22.3.9.19-lts
Update version_date.tsv after v22.3.9.19-lts
2022-07-26 06:58:50 +03:00
Alexey Milovidov
edef784253
Merge pull request #39579 from ClickHouse/auto/v22.6.4.35-stable
Update version_date.tsv and changelogs after v22.6.4.35-stable
2022-07-26 06:58:36 +03:00
Alexey Milovidov
c78fe0fc10
Merge pull request #39498 from Avogar/fix-avro
Fix data race and possible heap-buffer-overflow in Avro format
2022-07-26 03:20:01 +03:00
Vladimir Chebotaryov
f32d9c5539
Uppercase ROWS, GROUPS, RANGE in queries with windows. (#39410) 2022-07-25 22:53:53 +02:00
Dan Roscigno
b6cb0e33f5
Merge pull request #39502 from ClickHouse/DanRoscigno-patch-4
Remove experimental status from projections
2022-07-25 16:41:37 -04:00
robot-clickhouse
f04ad30f0d Update version_date.tsv and changelogs after v22.6.4.35-stable 2022-07-25 19:25:27 +00:00
robot-clickhouse
ddff6c86df Update version_date.tsv after v22.3.9.19-lts 2022-07-25 19:13:10 +00:00
Alexey Milovidov
75d0232265
Merge pull request #39541 from ClickHouse/obfuscator-save-load
Add save/load capabilities to Obfuscator
2022-07-25 21:18:28 +03:00
Alexander Tokmakov
9254ae1f43
Merge pull request #39557 from ClickHouse/follow_up_37827
Follow up to #37827
2022-07-25 21:11:51 +03:00
Alexey Milovidov
471506ff7a
Merge pull request #39568 from ClickHouse/DanRoscigno-patch-5
Update CHANGELOG.md
2022-07-25 21:10:18 +03:00
Alexey Milovidov
c05190237a
Merge pull request #39551 from ClickHouse/freebsd_start_fix
Fix for empty function name on FreeBSD build
2022-07-25 20:52:03 +03:00
Denny Crane
813438a29d
Update settings.md 2022-07-25 14:48:53 -03:00
Dan Roscigno
72efcc65c1
Update docs/en/engines/table-engines/mergetree-family/mergetree.md 2022-07-25 12:58:57 -04:00
Dan Roscigno
5fae9f02fe
Update CHANGELOG.md
- fix the link to 22.7 log in table of contents
- To allow reuse of the changelog in the docs I need to change the `<br>` to <br/>.  With this change we can update the doc build process to
```cp $PARENT_DIR/CHANGELOG.md $PARENT_DIR/clickhouse-docs/docs/en/whats-new/changelog/index.md
```
2022-07-25 12:29:18 -04:00
Nikolay Degterinsky
ac7d83055e
Merge pull request #39311 from whysage/doc-fix-aggregatefunction
Doc. Fix link in doc AggregateFunction
2022-07-25 18:22:35 +02:00
whysage
a7f0886157 Fix second link in doc AggregateFunction 2022-07-25 18:54:02 +03:00
Alexander Tokmakov
778dcf6994
Merge pull request #39230 from Algunenano/improve_replicated_merge_logging
Improve logging around replicated merges
2022-07-25 18:42:12 +03:00
Robert Schulze
305291fd64
Merge pull request #39362 from ClickHouse/doc-updates
Small doc updates
2022-07-25 16:31:59 +02:00
Alexander Tokmakov
917fbb9b07 remove c-ares from grpc 2022-07-25 15:49:03 +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
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
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
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
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