Commit Graph
45 Commits
Author SHA1 Message Date
zooqueen 0357c7e3ff datastore rebrand: lowercase clickhouse -> datastore in commands/prose/help
Completes the user-facing branding: lowercase `clickhouse` command/symlink names
(clickhouse-server/-client/-local/...), `clickhouse <subcommand>` usage strings, and bare-word
prose in messages/comments -> datastore (~238 occurrences across 227 files).

Intentionally KEPT (not branding):
- SQL dict-source keyword "clickhouse" (SOURCE(CLICKHOUSE(...)) compat) - 4 sites
- external URLs (clickhouse.com / github.com/ClickHouse)
- filesystem / ZooKeeper path conventions (/var/lib/clickhouse fallback default, /clickhouse/tables/
  ReplicatedMergeTree ZK path) - deployment convention, overridden by our datastore-* config

String/comment-literal changes only; no identifiers touched (verified no bare lowercase clickhouse
C++ symbol exists). Build was already green; verifying this is still green.
2026-06-21 23:46:30 -07:00
zooqueen 06f45b6529 datastore rebrand: compound symbols + CMake targets/macros (clickhouse -> datastore)
The deep internal rebrand (user: "rename all compound symbols", "datastore_ good", "DB:: fine"):
- CamelCase symbols ClickHouse* -> Datastore* (358 distinct): mainEntryDatastoreServer,
  DatastoreDictionarySource, DatastoreRevision, DatastoreVersion, etc. URL/repo lines skipped.
- snake targets + macros clickhouse_* -> datastore_* (850 occ): datastore_common_io,
  datastore_add_executable, datastore_program_install, datastore_functions, etc. — uniform
  across src + cmake + all CMakeLists, and the contrib wrappers that link/use them
  (croaring, nuraft, corrosion, chdig, delta-kernel-rs, mongo-cxx).
- CLICKHOUSE_* macros -> DATASTORE_* (DATASTORE_OFFICIAL_BUILD, ENABLE_DATASTORE_*, etc.).
- project(ClickHouse) -> project(Datastore) so ${Datastore_SOURCE_DIR}/${Datastore_BINARY_DIR}
  (45 refs) resolve.

Replace (not drop) -> collision-free. DB:: namespace kept (per direction). lowercase SQL
`clickhouse` dictionary-source keyword + clickhouse.com / github.com/ClickHouse URLs kept.
NEEDS BUILD VERIFICATION on spark/CI — uniform + inspected-consistent but uncompiled here.
2026-06-21 20:38:05 -07:00
Alexey MilovidovandGitHub 85164c93d4 Revert "Revert "Improve help output for ClickHouse applications"" 2026-02-27 00:49:00 +01:00
Alexey MilovidovandGitHub e8654c51eb Revert "Improve help output for ClickHouse applications" 2026-02-26 07:51:17 +01:00
Alexey MilovidovandClaude Opus 4.5 62ccfbd3aa Improve help output for ClickHouse applications
This commit improves the help output for all ClickHouse applications:

- Add `clickhouse help` command that lists all available subcommands
- Return exit code 0 for all help messages (previously some returned 1)
- Output help messages to stdout instead of stderr
- Use "clickhouse <cmd>" format instead of argv[0] in help messages
- Add dynamic `app_name` detection for `clickhouse client` and `clickhouse local`
  to show correct invocation name based on how the binary was called
- Add `--no-sudo` option for `clickhouse start` and `clickhouse restart`
  for environments without sudo (e.g., Docker containers)
- Add detailed help headers and footers for client and local with usage examples

Closes #58244

Co-Authored-By: Claude Opus 4.5 <[email protected]>
2026-02-05 07:12:44 +01:00
Robert Schulze 034e9714a6 Remove QPL and QAT 2025-12-15 11:45:50 +00:00
Konstantin Bogdanov 48d2f3b145 Fix readability-container-contains 2025-11-04 23:40:04 +01:00
Nikita Mikhailov b600314abb Rename method and add another one 2025-03-14 19:57:10 +01:00
Nikita Mikhailov 050135d5c9 Remove queryToString 2025-03-14 19:57:10 +01:00
Robert SchulzeandKonstantin Bogdanov 012f6cd9da Revert "Remove idxd-config library which has an incompatible license"
This reverts commit 92a44372b3.
2025-02-17 04:44:02 +01:00
Azat Khuzhin 8ee2e0000a compressor: add --no-checksum-validation option
Signed-off-by: Azat Khuzhin <[email protected]>
2025-01-28 10:21:18 +01:00
Sema ChecherindaandGitHub 5b3b9fad2f Merge branch 'master' into chesema-merge-wb 2024-11-14 12:04:00 +01:00
Nikita MikhaylovandGitHub 3a255c754e Merge pull request #71192 from amosbird/better-compressor
Print compression method in clickhouse-compressor --stat
2024-11-13 15:07:05 +00:00
Sema Checherinda f1ab911910 cancel or finalize write buffer 2024-11-11 11:37:12 +01:00
Alexey Milovidov ba90363cda Merge branch 'master' into parallel-compression 2024-11-08 00:50:19 +01:00
Amos Bird 10ee24d9a0 Fix multiple codecs and add test 2024-10-30 09:42:04 +08:00
Amos Bird c5d6acf5e3 Fix 2024-10-30 09:00:18 +08:00
Amos Bird 04f68594dc Print method in clickhouse-compressor --stat. 2024-10-29 21:36:43 +08:00
Alexey Milovidov 10e0219250 Remove idxd-config library which has incompatible license 2024-10-23 21:45:39 +02:00
Alexey Milovidov 5e433ea537 Parallel compression: development 2024-10-20 03:11:16 +02:00
Alexey Milovidov 01136bbc3b Limit backtracking in parser 2024-03-17 19:54:45 +01:00
Azat Khuzhin 7fb31fe160 Remove ability to disable generic clickhouse components
Components like client/server/... are very generic, and there is no
point in disabling them, since it does not reduce amount of compiled
code a lot anyway (just a few modules for entrypoints, everything else
is already included in the clickhouse binary), and eventually they are
just symlinks to the clickhouse binary.

But there are few, that requires extra libraries, like ODBC bridge or
keeper components (and there is also standalone keeper binary compiled
with musl), those had been kept.

Also add some descriptions for some utils and change exit code to 0 for
--help.

Signed-off-by: Azat Khuzhin <[email protected]>
2024-02-12 11:10:00 +01:00
Alexey MilovidovandGitHub 98ae9be734 Revert "Added tests for ClickHouse apps help and fixed help issues" 2023-04-21 01:54:34 +03:00
Yatsishin Ilya 5786aba5eb Merge remote-tracking branch 'origin/master' into clickhouse-help 2023-03-22 14:08:22 +00:00
avogar b5f19ee12c Make better 2023-03-06 19:34:36 +00:00
avogar 8847561fc2 Add optional parameters to some codecs, fix aborts in clickhouse-compressor with some codecs 2023-03-06 16:49:28 +00:00
Yatsishin Ilya 98edb9f06b Update help for clickhouse tools and add test 2023-01-31 12:19:37 +00:00
Alexander TokmakovandGitHub 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
jinjunzh dbac3a35b2 fixed cosmetic issues 2022-07-15 17:23:37 -04:00
jinjunzh 816e974ca2 rename deflate to deflate_qpl 2022-07-09 14:42:01 -04:00
jasperzhuandGitHub 05769b4a9c Merge branch 'master' into dev_intel_iaa_deflate 2022-04-26 16:30:27 +08:00
jinjunzh 68a7e4b9b5 preliminary patch for iaa deflate solution 2022-04-26 14:14:09 -04:00
zhanghuajie 9947008d31 fix crash when you use clickhouse-git-import with invalid parameter
for example:
clickhouse-git-import -xxx
2022-04-14 23:16:02 +08:00
Azat Khuzhin c0fa2fb6e6 compressor: remove extra check for seeking of input 2020-12-31 22:13:04 +03:00
alexey-milovidovandGitHub aa67966932 Update Compressor.cpp 2020-12-30 17:45:09 +03:00
Azat Khuzhin 30508c1b50 compressor: return 0 on --help 2020-12-29 23:09:00 +03:00
Azat Khuzhin e02c328453 compressor: remove superfluous warning suppressions 2020-12-29 23:08:29 +03:00
Azat Khuzhin 009a281894 compressor: using for program_options namespace 2020-12-29 23:07:35 +03:00
Azat Khuzhin 3362c8fc40 compressor: add seek support while reading compressed file
Useful to debug .bin files
2020-12-29 23:06:40 +03:00
Azat Khuzhin a71c193062 compressor: add positional arguments support for input/output 2020-12-29 23:05:54 +03:00
Alexey Milovidov bb4668fd6e Fix bug: no newline after exception message in some tools 2020-12-24 00:18:08 +03:00
alesapinandGitHub 10c7a6c45e Add ability to specify Default codec for columns (#14049)
* Add ability to specify DefaultCompression codec which correspond to settings specified in config.xml

* Fix style

* Rename DefaultCompression to simple Default

* Fix compression codec

* Better codec description representation

* Less strange code and one method

* Fix delta
2020-08-28 20:40:45 +03:00
Alexey Milovidov 99c18c5a09 Check for suspicious codecs #4966 2020-05-04 03:11:49 +03:00
Alexey Milovidov cdeda4ab91 Fix usage of max_parser_depth setting; remove harmful default function arguments 2020-04-16 04:06:10 +03:00
IvanandGitHub 97f2a2213e Move all folders inside /dbms one level up (#9974)
* Move some code outside dbms/src folder
* Fix paths
2020-04-02 02:51:21 +03:00