Priyansh Agrawal
f27a76b923
Add function byteSwap
.
...
byteSwap accepts an integer `operand` and returns the integer which is
obtained by swapping the **endianness** of `operand` i.e. reversing the
bytes of the `operand`.
Issue: #54734
2023-09-24 21:02:09 +01:00
flynn
661ba85865
add more functions
2023-09-23 17:17:35 +00:00
flynn
76bc7cf75b
fix spell check
2023-09-23 04:14:21 +00:00
Robert Schulze
9a91f97ac4
Merge pull request #53831 from rschu1ze/clang-17
...
Switch CI to Clang 17
2023-09-22 12:28:35 +02:00
Robert Schulze
7b585da613
Fix clang-tidy
2023-09-22 10:12:11 +00:00
Robert Schulze
f5137dd0b4
More clang-tidy fixes
2023-09-21 14:40:57 +00:00
Robert Schulze
50c51c2854
Fix new clang-tidy-s
2023-09-20 22:17:39 +00:00
Robert Schulze
d31a43a379
Remove Woboq
2023-09-18 17:44:04 +00:00
Robert Schulze
b583b80733
Fix spelling
2023-09-18 07:43:06 +00:00
Robert Schulze
40e272521b
Fix spell check
2023-09-18 07:43:03 +00:00
Robert Schulze
f5e8028bb1
Merge pull request #54642 from rschu1ze/broken-re2st
...
Remove broken lockless variant of re2
2023-09-17 15:30:57 +02:00
Andrey Zvonov
9e89055990
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-15 17:06:22 +03:00
Robert Schulze
3935c2bfb2
Merge pull request #54509 from rschu1ze/yyyymmdd
...
Add YYYYMMDD[hhmmss]to[Date, Date32, DateTime, DateTime64]()
2023-09-15 15:47:34 +02:00
Robert Schulze
7b378dbad3
Remove broken lockless variant of re2
2023-09-14 16:40:42 +00:00
Andrey Zvonov
7dd5dbb2ac
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-14 13:49:59 +03:00
Antonio Andelic
6306180333
Merge pull request #53049 from ClickHouse/keeper-batch-flushes
...
Try batching multiple flush requests in Keeper
2023-09-14 11:39:33 +02:00
Andrey Zvonov
ff16ddbbb3
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-14 11:31:49 +03:00
Alexey Milovidov
aaa7025b1a
Merge pull request #54603 from fionera/use-env
...
use env to find bash
2023-09-13 23:50:55 +03:00
Nikolay Degterinsky
140a466a1e
Merge pull request #54400 from evillique/adddate-function
...
Add `addDate` function for compatibility with MySQL
2023-09-13 18:59:26 +02:00
Tim Windelschmidt
7979090333
use env to find bash
2023-09-13 18:57:11 +02:00
Itay Israelov
69ba32940e
fix comments: rname randomSampleFromArray --> arrayRandomSample
2023-09-13 13:11:53 +03:00
Nikolay Degterinsky
e648646598
Fixes
2023-09-12 23:11:58 +00:00
Robert Schulze
27ac4be8e2
Fix style
2023-09-11 15:30:06 +00:00
Robert Schulze
49f29861a0
Merge pull request #54479 from rschu1ze/todayssinceyearzero
...
Add function toDaysSinceYearZero()
2023-09-11 17:05:28 +02:00
Antonio Andelic
479ae52f9c
Merge branch 'master' into keeper-batch-flushes
2023-09-11 11:36:23 +00:00
Robert Schulze
b72a49f090
Fix style
2023-09-11 06:32:14 +00:00
Sergei Trifonov
08bad4d440
Merge pull request #47009 from ClickHouse/disks-and-io-sheduler
2023-09-11 07:22:14 +02:00
Andrey Zvonov
ff4586e663
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-09-08 18:17:06 +02:00
Antonio Andelic
5207997bd4
Merge branch 'master' into keeper-batch-flushes
2023-09-08 13:05:47 +00:00
Andrey Zvonov
80aea109b2
Update aspell-dict.txt
2023-09-08 12:49:15 +03:00
Nikolay Degterinsky
9a3ea9d6dc
Fix style
2023-09-07 11:31:09 +00:00
serxa
d11a9b4175
update spell dict
2023-09-07 08:51:35 +00:00
Joey Wang
872f981416
add doc
2023-09-07 16:19:17 +08:00
Antonio Andelic
824b90f754
Merge branch 'master' into keeper-batch-flushes
2023-09-06 13:29:35 +00:00
Mikhail Koviazin
f98007a4ed
Replace Turbo-Base64 with aklomp/base64
...
Closes #31643
2023-09-06 13:01:38 +00:00
Robert Schulze
b004aa8076
Fix style
2023-09-05 19:55:11 +00:00
robot-clickhouse
3991c38765
Update version_date.tsv and changelogs after v23.3.13.6-lts
2023-09-05 13:08:25 +00:00
Alexey Milovidov
b2821106fd
Merge pull request #53923 from myrrc/docs/ch-disks
...
Add docs for clickhouse-disks
2023-09-05 02:10:18 +03:00
robot-clickhouse
0ca2c545e9
Update version_date.tsv and changelogs after v23.8.2.7-lts
2023-09-04 20:18:07 +00:00
Alexey Milovidov
a941a040e4
Merge pull request #54259 from ClickHouse/auto/v23.3.12.11-lts
...
Update version_date.tsv and changelogs after v23.3.12.11-lts
2023-09-04 20:42:29 +03:00
robot-clickhouse
5df95f2ed1
Update version_date.tsv and changelogs after v23.3.12.11-lts
2023-09-04 15:22:02 +00:00
Mikhail f. Shiryaev
a082167d85
Move ci-slack-bot from utils to tests/ci
2023-09-04 17:06:51 +02:00
Alexander Tokmakov
a663f7e06a
Update ci-slack-bot.py ( #54253 )
2023-09-04 15:39:09 +02:00
Antonio Andelic
365bc584ec
Merge branch 'master' into keeper-batch-flushes
2023-09-04 07:24:21 +00:00
robot-clickhouse-ci-1
ec628ee697
Merge pull request #54097 from bharatnc/ncb/decode-html-component
...
add function decodeHTMLComponent
2023-09-04 05:00:52 +02:00
robot-clickhouse
cc03880bbd
Update version_date.tsv and changelogs after v23.8.1.2992-lts
2023-09-01 16:00:28 +00:00
Antonio Andelic
dd824fe558
Merge branch 'master' into keeper-batch-flushes
2023-08-31 14:35:36 +00:00
Bharat Nallan Chakravarthy
f6d1f6ce0a
fix style check
2023-08-30 22:09:56 -07:00
Mike Kot
8b1e30d774
fix
2023-08-29 13:36:47 +00:00
Andrey Zvonov
6195390c77
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-08-29 13:46:09 +05:00
Antonio Andelic
4137cb916d
Merge branch 'master' into keeper-batch-flushes
2023-08-28 13:14:06 +00:00
Andrey Zvonov
c9b0db9c61
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-08-28 17:15:33 +05:00
robot-clickhouse
fa1b5fe2a8
Update version_date.tsv and changelogs after v22.8.21.38-lts
2023-08-28 12:00:47 +00:00
robot-clickhouse
0e277d4f90
Update version_date.tsv and changelogs after v23.7.5.30-stable
2023-08-28 10:06:28 +00:00
Andrey Zvonov
911bf94fbd
Merge branch 'master' into zvonand-globs-small-fix
2023-08-25 23:50:07 +05:00
vdimir
50b8bbe0dc
Merge pull request #53557 from mkmkme/mkmkme/array-shift-rotate
...
Added functions `array{Rotate,Shift}{Left,Right}`
2023-08-25 13:24:31 +02:00
Mikhail Koviazin
a5eb1aa22f
Added functions array{Rotate,Shift}{Left,Right}
...
Fixes #52755 and #52895
2023-08-24 09:16:39 +00:00
Antonio Andelic
322b53dd62
Merge branch 'master' into keeper-batch-flushes
2023-08-24 09:08:47 +00:00
Alexey Milovidov
d475dc424e
Merge pull request #53701 from ClibMouse/feature/qemu-s390x-docs
...
Update s390x VSCode environment setup
2023-08-23 18:29:45 +03:00
ltrk2
c2559026c4
Extend aspell dictionary
2023-08-23 06:22:11 -07:00
robot-clickhouse
0fc2a5b6f0
Update version_date.tsv and changelogs after v23.3.10.5-lts
2023-08-23 09:10:08 +00:00
Antonio Andelic
625be86dc0
Fix tests
2023-08-23 09:00:57 +00:00
Robert Schulze
a20ceef398
Merge pull request #53447 from davvard/master
...
USearch HNSW index for ANN search
2023-08-21 23:34:26 +02:00
Kruglov Pavel
47b551180b
Merge pull request #52117 from KevinyhZou/support_from_to_utc_timestamp
...
Support From/To UTC Timestamp function like spark
2023-08-21 13:16:57 +02:00
robot-clickhouse
c54ff5d451
Update version_date.tsv and changelogs after v23.3.9.55-lts
2023-08-21 08:32:51 +00:00
kevinyhzou
48cb9b59f4
Support from/to utc timestamp
2023-08-21 09:28:00 +08:00
Robert Schulze
b711802c43
Fix spelling
2023-08-16 21:23:11 +00:00
Andrey Zvonov
413b0f227b
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-08-14 10:59:44 +03:00
Krisztián Szűcs
7135b344bf
Documentation: exclude PyArrow from spell checking
2023-08-14 08:49:11 +02:00
Andrey Zvonov
3d902e65e4
Merge branch 'ClickHouse:master' into zvonand-globs-small-fix
2023-08-12 23:12:47 +03:00
Alexey Milovidov
67b45619eb
Merge pull request #53239 from evillique/tuple-concat
...
Add tupleConcat function
2023-08-12 03:35:25 +03:00
Andrey Zvonov
02c511a008
Merge branch 'master' into zvonand-globs-small-fix
2023-08-11 15:56:44 +02:00
zvonand
1983c7ce95
update docs
2023-08-11 16:53:17 +03:00
Alexey Milovidov
ae6e59c4c5
Merge pull request #53099 from ClickHouse/remove-wikistat-loader
...
Remove old util
2023-08-10 17:01:57 +03:00
Kruglov Pavel
14aad359e6
Merge pull request #52555 from bigo-sg/starts_ends_with_utf8
...
Add new function startsWithUTF8 and endsWithUTF8
2023-08-10 13:18:04 +02:00
Alexey Milovidov
8f2a0a5290
Merge branch 'master' into remove-wikistat-loader
2023-08-10 03:44:07 +03:00
Nikolay Degterinsky
8c63088a31
Fixes
2023-08-09 21:54:58 +00:00
Alexey Milovidov
964c407d48
Revert "Revert "Upload build time-trace data to CI database""
2023-08-09 16:11:17 +03:00
Alexander Gololobov
63183c56f1
Revert "Upload build time-trace data to CI database"
2023-08-09 13:58:05 +02:00
Alexey Milovidov
98a2a117c2
Merge branch 'master' into remove-wikistat-loader
2023-08-08 22:36:21 +02:00
Alexey Milovidov
3ffffb0b5e
Merge pull request #53100 from ClickHouse/upload-build-profile
...
Upload build time-trace data to CI database
2023-08-08 23:33:50 +03:00
robot-clickhouse
fe7168c1c3
Update version_date.tsv and changelogs after v23.7.4.5-stable
2023-08-08 19:16:27 +00:00
李扬
d15ae5e120
Merge branch 'master' into starts_ends_with_utf8
2023-08-08 16:18:04 +08:00
Alexey Milovidov
8ce4ff0f95
Merge branch 'master' of github.com:ClickHouse/ClickHouse into upload-build-profile
2023-08-07 21:18:30 +02:00
SmitaRKulkarni
75f81bdc44
Merge pull request #50795 from ClickHouse/azure_table_function_cluster
...
Table function azureBlobStorageCluster
2023-08-07 09:16:52 +02:00
Alexey Milovidov
d977e221b4
Upload build time-trace data to CI database
2023-08-07 03:26:59 +02:00
Alexey Milovidov
c3edb57953
Remove old util
2023-08-07 02:29:29 +02:00
robot-clickhouse
f65fa627e7
Update version_date.tsv and changelogs after v23.7.3.14-stable
2023-08-05 19:26:13 +00:00
SmitaRKulkarni
1e3ae89161
Merge branch 'master' into azure_table_function_cluster
2023-08-04 21:39:32 +02:00
Anton Popov
92cb5e9ae3
Merge pull request #52687 from alkorgun/fix-named-collections-on-cluster-23.7
...
Fix named collections on cluster 23.7
2023-08-03 14:50:28 +02:00
robot-clickhouse
659c907d38
Update version_date.tsv and changelogs after v23.7.2.25-stable
2023-08-03 09:55:00 +00:00
Smita Kulkarni
2c47679918
Merge branch 'master' into azure_table_function_cluster
2023-08-02 14:19:45 +02:00
李扬
041af6899d
Merge branch 'master' into starts_ends_with_utf8
2023-08-02 10:29:29 +08:00
Alexander Zaitsev
107759aec8
doc: add ClickBench and AutoFDO to the aspell ignore list
2023-08-01 18:02:48 +02:00
Kruglov Pavel
8f6526a930
Merge branch 'master' into structure-to-schema
2023-08-01 16:22:14 +02:00
Vitaly Baranov
0a8b88eed2
Merge branch 'master' into print-backup-info
2023-08-01 13:15:23 +02:00
Alexey Milovidov
985b2a010a
Add a tool to upload -ftime-trace
to ClickHouse ( #52776 )
...
* Add a tool to upload `-ftime-trace` to ClickHouse
* Add a tool to upload `-ftime-trace` to ClickHouse
* Add a tool to upload `-ftime-trace` to ClickHouse
2023-07-31 14:17:47 +02:00
Илья Коргун
9c5b96e26c
Add "bugfix" to aspell-ignore
2023-07-30 09:37:19 +03:00
Alexey Milovidov
a4f2eea516
Maybe better
2023-07-30 02:19:39 +02:00
Alexey Milovidov
caa4590361
Merge branch 'master' into check-for-hiding-cyrillic-characters
2023-07-30 02:16:56 +02:00
Kruglov Pavel
3e1c409e60
Merge branch 'master' into structure-to-schema
2023-07-28 11:32:16 +02:00
robot-ch-test-poll
22e5da914c
Merge pull request #52650 from rschu1ze/query-cache-asynchronous_metrics
...
Add query cache metrics to SYSTEM.ASYNCHRONOUS_METRICS
2023-07-28 11:06:55 +02:00
李扬
d0c9425711
Merge branch 'master' into starts_ends_with_utf8
2023-07-28 10:03:39 +08:00
Kruglov Pavel
32d23b0904
Update aspell-dict.txt
2023-07-27 21:28:28 +02:00
Robert Schulze
9340f02d26
Silence spell check
2023-07-27 18:33:07 +00:00
Vitaly Baranov
faca843ac0
Add utility to parse a backup metadata file and print information about the backup.
2023-07-27 18:25:21 +02:00
robot-clickhouse
28c49e3f20
Update version_date.tsv and changelogs after v23.7.1.2470-stable
2023-07-27 13:47:11 +00:00
Alexey Milovidov
6aab4cc835
Check for unexpected cyrillic
2023-07-27 05:25:40 +02:00
Robert Schulze
d4737ca033
Merge pull request #50986 from arenadata/ADQM-822
...
Implement support of encrypted elements in configuration file
2023-07-26 12:27:04 +02:00
taiyang-li
d83eabcf77
fix spell
2023-07-26 17:39:45 +08:00
Nikita Mikhaylov
1dc9ca2c24
Merge pull request #52549 from ClickHouse/whitespace-before-comma
...
Check for punctuation
2023-07-25 20:30:36 +02:00
Yakov Olkhovskiy
e133db7937
Merge pull request #51472 from bigo-sg/substring_index
...
Add function substring_index, as in spark or mysql
2023-07-25 08:43:13 -04:00
taiyang-li
23897b823d
fix code style
2023-07-25 20:41:16 +08:00
Alexey Milovidov
21382afa2b
Check for punctuation
2023-07-25 06:10:04 +02:00
Roman Vasin
0af869ff0f
Merge branch 'master' into ADQM-822
2023-07-24 12:23:11 +03:00
robot-clickhouse-ci-2
66c0015b87
Merge pull request #52050 from arenadata/ADQM-982
...
Subsequence string matching (new hasSubsequence() function)
2023-07-23 21:18:27 +02:00
robot-ch-test-poll4
1d6e85da91
Merge pull request #52084 from valbok/conv-charsets
...
MaterializedMySQL: Introduce charset conversion
2023-07-23 18:36:30 +02:00
Alexey Milovidov
0b5730ffd0
Merge branch 'master' into fix-system-licenses
2023-07-22 17:53:46 +03:00
Antonio Andelic
10c2d5dade
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-21 13:24:18 +02:00
Antonio Andelic
4a47040763
Merge pull request #52358 from ClickHouse/fix-keeper-apply-snapshot
...
Fix `apply_snapshot` in Keeper
2023-07-21 12:52:12 +02:00
Alexander Tokmakov
c0aa3e4567
Update ci-slack-bot.py
2023-07-20 17:59:43 +03:00
Roman Vasin
8649c84461
Remove conditional linking
2023-07-20 13:28:37 +00:00
Alexander Tokmakov
3c9e46b557
Update ci-slack-bot.py
2023-07-20 16:19:12 +03:00
Antonio Andelic
53c46e2dff
Merge branch 'master' into fix-keeper-apply-snapshot
2023-07-20 14:37:32 +02:00
Alexey Milovidov
f4ec421292
Merge pull request #52106 from Lloyd-Pottiger/add-alias-for-today-and-now
...
Add alias for today(curdate/current_date) and now(current_timestamp)
2023-07-20 15:02:25 +03:00
Antonio Andelic
a24bf14450
Use correct ZXID
2023-07-20 10:44:44 +00:00
Kruglov Pavel
0fca64ced4
Merge pull request #51695 from Avogar/row-binary-with-defaults
...
Add RowBinaryWithDefaults format
2023-07-19 22:10:30 +02:00
alesapin
45a7134478
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-19 14:04:59 +02:00
vdimir
92f04d2c53
Merge pull request #52209 from mkmkme/mkmkme/first-line
2023-07-19 11:10:13 +02:00
SmitaRKulkarni
4456adfd4a
Merge branch 'master' into azure_table_function_cluster
2023-07-19 08:28:30 +02:00
Alexey Milovidov
3c1d881f84
Merge branch 'master' into fix-system-licenses
2023-07-18 23:01:43 +03:00
Song Liyong
6ae5207819
MaterializedMySQL: Introduce charset conversion
2023-07-18 15:55:55 +02:00
Lloyd-Pottiger
a58ace75a2
Merge branch 'master' into add-alias-for-today-and-now
2023-07-18 20:32:32 +08:00
Kruglov Pavel
6985bf0cdb
Merge branch 'master' into row-binary-with-defaults
2023-07-18 13:36:56 +02:00
robot-ch-test-poll2
d816d8b92f
Merge pull request #52198 from azat/qemu-compressor
...
Fix self extracting binaries under qemu linux-user (qemu-$ARCH-static)
2023-07-18 12:02:47 +02:00
Mikhail Koviazin
4f7fd69883
Added function firstLine to extract the first line from a multiline string
...
Fixes #51172
2023-07-18 12:18:26 +03:00
Lloyd-Pottiger
9d11385543
Merge branch 'master' into add-alias-for-today-and-now
2023-07-18 10:29:49 +08:00
Alexey Milovidov
f4e095b502
Merge pull request #52149 from ucasfl/array_concat_agg
...
Add array_concat_agg for compatibility with BigQuery
2023-07-18 03:03:27 +03:00
Kruglov Pavel
1e616e17ab
Merge branch 'master' into row-binary-with-defaults
2023-07-17 19:13:57 +02:00
SmitaRKulkarni
e4fb9e88f8
Merge branch 'master' into azure_table_function_cluster
2023-07-17 17:23:38 +02:00
vdimir
5de1cfee7d
Merge pull request #51735 from arenadata/ADQM-976
2023-07-17 16:24:11 +02:00
Azat Khuzhin
1fb7605fb4
Fix self extracting binaries under qemu linux-user (qemu-$ARCH-static)
...
The problem was that the decompressor uses realpath(/proc/self/exe)
instead of readlink(/proc/self/exe), while realpath() does lots of
trickerly [1] which leads to bypassing qemu linux-user override [2] of
/proc/self/exe to the executable with with it had been called -- and
the reason for this is that the getpid() after unshare returns 1, while
reading /proc/self returns the pid that was before unshare (from the
chroot) [3].
[1]: 4290aed051/stdlib/canonicalize.c (L223)
[2]: ed8ad9728a/linux-user/syscall.c (L8634)
[3]: https://gist.github.com/azat/fcbd8b6c26afd505ae5f3387fc15f0e2
But note, that even after this patch qemu without binfmt will not work,
due to internally the code calls execv() while qemu does not handle it
(see [4]).
[4]: https://patchwork.kernel.org/project/qemu-devel/patch/1453091602-21843-1-git-send-email-petrosagg@gmail.com/
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-17 13:10:40 +02:00
Azat Khuzhin
16165d9498
Improve error messages for decompressor
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-17 13:10:40 +02:00
Azat Khuzhin
c374653c7b
Revert "Merge pull request #52138 from azat/decompressor-inode"
...
This reverts commit 6524031348
, reversing
changes made to 9bf114f9a3
.
This was not a good idea, since the underlying problem was that
`/proc/self/exe` was pointing to `qemu-$ARCH-static` (because the code
uses realpath() over normal interface readlink(), which is not caught by
the qemu linux-user).
And this means that later, it will try to overwrite incorrect binary and
then execute some garbage.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-07-17 13:10:29 +02:00
Antonio Andelic
61dc020b4d
Merge branch 'master' into feature/keeper-dyn-reconf
2023-07-17 12:50:17 +02:00
Dmitry Kardymon
2de9ea6925
Merge remote-tracking branch 'origin/master' into ADQM-982
2023-07-17 10:03:16 +00:00
Lloyd-Pottiger
3636c2a847
Merge branch 'master' into add-alias-for-today-and-now
2023-07-17 14:28:24 +08:00
FFFFFFFHHHHHHH
0895e47629
Merge branch 'master' into jaccard_similarity
2023-07-17 10:33:10 +08:00
Lloyd-Pottiger
e38a9de7c9
add aspell
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gmail.com>
2023-07-17 10:24:45 +08:00
flynn
7f80f7dcb0
Merge branch 'master' into array_concat_agg
2023-07-17 01:15:24 +08:00