Robert Schulze
fe49e98455
Follow-up to re2 update 2023-06-02 ( #50949 )
2023-07-03 08:28:25 +00:00
Robert Schulze
a7c153f88c
replace{One/All}(): allow non-const pattern and replacement arguments
2023-04-04 08:26:28 +00:00
Robert Schulze
494d6ca3df
Cleanup implementation of regexpReplace(All|One)
...
This is a pure refactoring, there are no semantic changes.
Cherry-picked from #42682 .
2022-11-02 15:49:53 +00:00
Azat Khuzhin
905a95e166
Review fixes
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 22:40:13 +02:00
Azat Khuzhin
4e76629aaf
Fixes for -Wshorten-64-to-32
...
- lots of static_cast
- add safe_cast
- types adjustments
- config
- IStorage::read/watch
- ...
- some TODO's (to convert types in future)
P.S. That was quite a journey...
v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Robert Schulze
f24fab7747
Fix some #include atrocities
2022-09-28 13:49:28 +00:00
Robert Schulze
0753fd1c77
Consolidate config_functions.h into config.h
...
Less duplication, less confusion ...
2022-09-28 12:48:26 +00:00
Robert Schulze
78fc36ca49
Generate config.h into ${CONFIG_INCLUDE_PATH}
...
This makes the target location consistent with other auto-generated
files like config_formats.h, config_core.h, and config_functions.h and
simplifies the build of clickhouse_common.
2022-09-28 12:48:26 +00:00
Maksim Kita
538f8cbaad
Fix clang-tidy warnings in Disks, Formats, Functions folders
2022-03-14 18:17:35 +00:00
Alexey Milovidov
e4e058d667
Update ReplaceRegexpImpl.h
2022-03-12 01:35:37 +03:00
vdimir
c66fb7cf6e
Attempt to fix replaceRegexpAll
2022-03-10 19:57:13 +00:00
Azat Khuzhin
789dfd9f3b
Remove unbundled re2 support
...
v2: preserve re2_st name to make PVS check pass (since docker image
update fails)
2022-01-20 10:00:49 +03:00
alexey-milovidov
13d1377ad7
Update src/Functions/ReplaceRegexpImpl.h
...
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2021-12-19 12:59:28 +03:00
Alexey Milovidov
0d6e8e90eb
Proper fix for #30245
2021-12-19 12:44:42 +03:00
alexey-milovidov
cee850b3be
Revert "fix replaceRegexpAll bug"
2021-12-19 11:32:34 +03:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
Vladimir C
49685f0b9a
Merge pull request #30292 from Joeywzr/trim_dev
2021-10-19 14:49:43 +03:00
WangZengrui
131aa77017
fix style
2021-10-17 11:21:58 +08:00
WangZengrui
bd2c016cf3
fix bug
2021-10-17 00:33:57 +08:00
WangZengrui
1541593b2f
add notes
2021-10-16 23:28:29 +08:00
WangZengrui
6752be4c4e
fix bug and add test
2021-10-16 23:11:45 +08:00
WangZengrui
8a94e26bec
init
2021-10-16 18:51:42 +08:00
Alexey Milovidov
fe6b7c77c7
Rename "common" to "base"
2021-10-02 10:13:14 +03:00
Amos Bird
acfbae7107
Fix replace,All functions so that they don't generate garbage to stderr
2021-02-23 22:39:05 +08:00
Nikolai Kochetov
959424f28a
Rename block to columns.
2020-10-14 17:04:50 +03:00
Alexey Milovidov
466da445e1
Every function in its own file, part 13
2020-05-07 02:21:13 +03:00