Antonio Andelic and GitHub
5940b268ba
Merge branch 'master' into replace-stringref-stringview
2025-11-17 08:51:12 +01:00
Azat Khuzhin
9cb6ad6d2e
Forward declaration of AggregatedZooKeeperLog in Context.h
2025-11-14 14:54:31 +01:00
Konstantin Bogdanov
48d2f3b145
Fix readability-container-contains
2025-11-04 23:40:04 +01:00
Antonio Andelic
3ebf86dce9
Fix builds
2025-09-10 09:21:18 +02:00
Antonio Andelic
df2da99d49
Fix std::string_view usage
2025-09-08 16:40:19 +02:00
Antonio Andelic
157321ad3d
Replace StringRef with std::string_view
2025-09-08 14:26:35 +02:00
Raúl Marín
d87ee15b4b
Extend the use of SharedHeader across the codebase
2025-07-10 00:08:25 +02:00
Raúl Marín
df9ebc8c45
Make a few example binaries smaller
2025-03-14 18:22:03 +01:00
Raúl Marín
5eac8346b9
Remove deps on Port.h
2025-02-12 17:15:21 +01:00
Raúl Marín
6294bb2c41
Remove dependencies on CompressionFactory.h
2025-02-04 22:10:01 +01:00
Konstantin Bogdanov
b2c81981fb
Use clang-19
2024-11-20 23:08:47 +01:00
Sema Checherinda
f1ab911910
cancel or finalize write buffer
2024-11-11 11:37:12 +01:00
Alexey Milovidov
c8104cb2ee
Correct and unify exit codes
2024-11-07 21:31:07 +01:00
Konstantin Bogdanov
67c1e89d90
Apply linter changes
2024-10-06 12:29:20 +02:00
yariks5s
a751719a33
fixes due to review
2024-07-10 17:44:06 +00:00
yariks5s
942f7d7532
fixes after review
2024-07-05 12:44:31 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/
2024-05-19 09:39:36 +00:00
Alexey Milovidov
0d14a2c67e
Useless changes
2024-05-09 03:11:02 +02:00
Robert Schulze
81b2a1f621
Fix build
2024-03-11 15:34:02 +00:00
Robert Schulze
802bae9661
GCC --> clang pragmas
2024-03-11 12:55:56 +00:00
avogar
617cc514b7
Try to detect file format automatically during schema inference if it's unknown
2024-01-23 18:59:39 +00:00
Raúl Marín
b269f87f4c
Better text_log with ErrnoException
2023-12-15 19:27:56 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions
2023-11-06 13:25:32 +00:00
avogar
7f9e81d504
Clean up
2023-08-22 12:55:00 +00:00
kothiga
f33c585bc5
Addressing feedback.
2023-08-18 13:50:31 -07:00
kothiga
b905703909
Correct to-from pairing for transformEndianness.
2023-08-18 11:25:08 -07:00
Austin Kothig
6b42975d33
Change BE-UUID to work the same as LE-UUID. Included high and low getters to provide cleaner code when accessing undertype.
2023-08-18 08:19:46 -07:00
ltrk2
967be3e13c
Correct a line commented out by mistake
2023-07-19 10:01:58 -07:00
ltrk2
51e2c58a53
Implement endianness-independent SipHash and MergeTree checksum serialization
2023-07-19 10:01:55 -07:00
zvonand
8338d54c34
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz
2023-05-05 15:50:26 +02:00
Alexey Milovidov and GitHub
98ae9be734
Revert "Added tests for ClickHouse apps help and fixed help issues"
2023-04-21 01:54:34 +03:00
Andrey Zvonov and GitHub
984e8fde41
Merge branch 'master' into zvonand-implicit-tz
2023-04-20 23:13:17 +02:00
zvonand
2a9f28b73b
resolve
2023-04-12 12:54:39 +02:00
zvonand
a9499eed79
moved getting server TZ DateLUT to separate place, upd tests and fix
2023-04-12 12:47:05 +02:00
Yatsishin Ilya
b5b65d2149
Merge remote-tracking branch 'origin' into clickhouse-help
2023-04-11 11:24:48 +00:00
Alexey Milovidov
e805d75756
ClickHouse Obfuscator: add README
2023-03-20 07:10:47 +01:00
Yatsishin Ilya
200e50b8e1
more changes in apps help
2023-02-08 12:55:56 +00:00
Alexander Tokmakov and GitHub
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Robert Schulze
9c066e964d
Less use of CH-specific bit_cast()
...
Converted usage of CH-custom bit_cast to std::bit_cast if possible, i.e.
when
sizeof(From) == sizeof(To).
(The CH-custom bit_cast is able to deal with sizeof(From) != sizeof(To).)
Motivation for this came from #42847 where it is not clear how the
internal bit_cast should behave on big endian systems, so we better
avoid that situation as much as possible.
2022-11-04 15:52:48 +00: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 <[email protected] >
2022-10-21 13:25:19 +02:00
Alexey Milovidov
fa62c7e982
Fix half of trash
2022-09-10 04:08:16 +02:00
Nikolay Degterinsky
e9232fc4e6
Better
2022-09-01 20:19:25 +00:00
Nikolay Degterinsky
644be9dc42
Remove unneded ReadBuffers
2022-08-11 13:27:09 +00:00
Nikolay Degterinsky
1b8ca90fcc
Add schema inference to clickhouse-obfuscator
2022-08-11 11:32:32 +00:00
Robert Schulze
a7734672b9
Use std::popcount, ::countl_zero, ::countr_zero functions
...
- Introduced with the C++20 <bit> header
- The problem with __builtin_c(l|t)z() is that 0 as input has an
undefined result (*) and the code did not always check. The std::
versions do not have this issue.
- In some cases, we continue to use buildin_c(l|t)z(), (e.g. in
src/Common/BitHelpers.h) because the std:: versions only accept
unsigned inputs (and they also check that) and the casting would be
ugly.
(*) https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html
2022-07-31 15:16:51 +00:00
Alexey Milovidov
1f4e7ea34c
Add a test
2022-07-25 05:37: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