Commit Graph

589 Commits

Author SHA1 Message Date
Alexey Milovidov
4eda5d19b5
Merge pull request #46492 from myrrc/patch-2
Add --shallow-submodules version for developer instruction
2023-02-16 22:07:47 +03:00
Mike Kot
f4600bc805
Add --shallow-submodules version for developer instruction
On modern git that can speed up clone time
2023-02-16 20:46:59 +03:00
Mike Kot
444f3aa2ac
Add --shallow-submodules version
For recent Git, this options changes checkout time drastically
2023-02-16 20:44:01 +03:00
Sergei Trifonov
678e9fd0ac
Fix build dependencies page in docs 2023-02-08 18:59:44 +01:00
DanRoscigno
fe5bc01951 merged Mermaid support today 2023-02-07 14:43:36 -05:00
Robert Schulze
d9d51934a9
Docs: Mention time zone randomization 2023-02-03 11:34:11 +00:00
robot-clickhouse-ci-1
13d4d40568
Merge pull request #45325 from ClickHouse/download-builds
Improve manual to get binaries from CI
2023-01-19 17:49:52 +01:00
Mikhail f. Shiryaev
08c9d81c90
Apply suggestions from code review
Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
2023-01-16 16:55:24 +01:00
Mikhail f. Shiryaev
1bd7279d5f
Improve manual to get binaries from CI 2023-01-16 16:45:30 +01:00
DanRoscigno
69cdb838c5 temporarily replace mermaid with PNG 2023-01-12 11:03:40 -05:00
Sergei Trifonov
8c40c4d79f
Update docs/en/development/architecture.md
Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
2023-01-12 02:25:03 +01:00
Sergei Trifonov
e784f65ee9
Update docs/en/development/architecture.md
Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
2023-01-12 02:23:58 +01:00
Sergei Trifonov
78a63e795c
Update docs/en/development/architecture.md
Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
2023-01-12 02:23:15 +01:00
Sergei Trifonov
d41dbdc4a6
Update docs/en/development/architecture.md
Co-authored-by: Dmitry Novik <n0vik@clickhouse.com>
2023-01-12 02:22:59 +01:00
serxa
b6e14f60d4 fix 2023-01-11 19:34:31 +00:00
serxa
2dae6a1ffe add docs for concurrency control logic 2023-01-11 19:19:51 +00:00
Dan Roscigno
f791d5439c
Merge pull request #45063 from ClickHouse/remove-original-article
[docs] Remove "Original article" links
2023-01-09 11:32:22 -05:00
Ivan Blinkov
61c2f23713 Remove leftover empty lines at the end of markdown files 2023-01-09 15:15:18 +01:00
Ivan Blinkov
b7e082d033 Remove "Original article links" 2023-01-09 15:13:36 +01:00
Alexey Milovidov
03ae644ea3 Fix performance test 2023-01-09 01:58:42 +01:00
Alexey Milovidov
484af24d48 Remove the remainings of Testflows (2). 2023-01-07 21:40:13 +01:00
Robert Schulze
1974e1bf8c
Merge pull request #44479 from ClickHouse/more-robust-astselectquery-formatimpl
More robust ASTSelectQuery::formatImpl()
2023-01-05 12:27:40 +01:00
Robert Schulze
cfb6feffde
What happens if I remove these 139 lines of code? 2023-01-03 18:35:31 +00:00
Alexey Milovidov
47ae8c5c79 Remove more lines 2023-01-02 02:06:11 +01:00
Robert Schulze
0dbed9e738
Mac OS X --> macOS 2022-12-22 09:37:17 +00:00
Robert Schulze
05b70b0cb6
Update link to blog on fuzzing 2022-12-21 10:54:18 +00:00
Alexey Milovidov
57b0d44774
Update build.md 2022-12-17 05:03:12 +03:00
Dan Roscigno
c92329c56a
Merge branch 'master' into improve_build 2022-11-03 08:27:04 -04:00
Dan Roscigno
61c3de2ec5
Merge branch 'master' into improve_build 2022-10-26 16:23:48 -04:00
Dan Roscigno
0c50114190
Update Fedora build info
I am using Fedora 36.

yum install of `clang-c++` failed for me, `clang` worked.  And I had an error message telling me to install `ccache` also.
2022-10-24 14:41:38 -04:00
Alexey Milovidov
b720030ac6 Remove outdated documentation 2022-10-21 00:13:30 +02:00
DanRoscigno
e76560619c moved into dev/getting-started 2022-10-18 14:52:28 -04:00
Alexey Milovidov
5b6be92042
Update build.md 2022-10-13 05:31:50 +03:00
Alexey Milovidov
023f11fb86
Update developer-instruction.md 2022-10-09 03:54:00 +03:00
Dan Roscigno
22576fa2f2
Merge branch 'master' into improve_build 2022-10-06 14:53:15 -04:00
BoloniniD
fcb039d465 Fix docs for corrosion 2022-09-28 22:24:26 +03:00
Dan Roscigno
cdab391c39
Merge branch 'master' into improve_build 2022-09-09 09:05:16 -04:00
peter279k
9d26235416 Improve building steps 2022-09-08 13:41:24 +08:00
peter279k
945299de99 Remove strange release trains 2022-09-08 01:24:12 +08:00
Frank Chen
0f3003e37b Add ccache brew install list 2022-09-02 16:01:31 +02:00
Dan Roscigno
96cd94196e
Merge branch 'ClickHouse:master' into add-more-slugs 2022-08-28 12:06:37 -04:00
DanRoscigno
fad2e071eb replace symlinks with includes 2022-08-28 11:58:59 -04:00
DanRoscigno
5d1e3ee4d8 remove duplicate 2022-08-28 11:04:51 -04:00
DanRoscigno
5b5fcc56aa add slugs 2022-08-28 10:53:34 -04:00
DanRoscigno
db1a3b717c add slugs 2022-08-28 09:58:27 -04:00
DanRoscigno
c4caa35cfd add frontmatter dashes 2022-08-28 09:53:52 -04:00
Yakov Olkhovskiy
d96f32d655
Update developer-instruction.md 2022-08-27 23:46:09 -04:00
DanRoscigno
79f8e1c03c add slugs to all docs 2022-08-26 15:49:26 -04:00
546
0c11645867
update path in test.md
`lexer_fuzzer.cpp` path has changed.
2022-08-18 14:56:22 +08:00
Alexey Milovidov
5d549a7583
Merge pull request #40182 from ClickHouse/minor-build-changes
Minor build changes
2022-08-13 22:48:01 +03:00
Alexey Milovidov
a6a51f4fb8 Minor build changes 2022-08-13 06:39:20 +02:00
Alexey Milovidov
2b7fe3dea3
Remove obsolete "build Debian package" instruction 2022-08-13 05:54:13 +03:00
Robert Schulze
5a434577f6
Mention how the build can be speed up by disabling self-extraction 2022-08-08 13:01:32 +00:00
Robert Schulze
49a708ff29
Merge pull request #39596 from ClickHouse/move-woboq
Merge Woboq code browser page into "Getting Started" document
2022-08-01 13:44:33 +02:00
Robert Schulze
c9e1364cd0
Temporarily restore Woboq pages 2022-08-01 08:39:22 +00:00
Robert Schulze
dd030c6b48
Add anchor 2022-07-31 13:01:35 +00:00
Robert Schulze
9de69a021c
Fix documentation 2022-07-31 07:44:25 +00:00
Robert Schulze
199e254777
Merge remote-tracking branch 'origin/master' into no-split-binary 2022-07-28 15:54:22 +00:00
Robert Schulze
22219c4b7a
Merge Woboq code browser page into "Getting Started" document
There was too little information on the page to deserve a separate
document.
2022-07-26 07:54:03 +00:00
Robert Schulze
305291fd64
Merge pull request #39362 from ClickHouse/doc-updates
Small doc updates
2022-07-25 16:31:59 +02:00
Robert Schulze
68f0dcc206
Remove mention of C++03 exception specifiers
... such exception specifiers trigger a compiler warning these days
anyways (i.e. are treated as error)
2022-07-24 18:41:43 +00:00
Robert Schulze
f3a60991f4
Smallish compiler warnings update 2022-07-24 18:41:43 +00:00
Robert Schulze
a9fb677084
Bump Clang version to current minimum 2022-07-24 18:41:43 +00:00
Robert Schulze
2ded3da887
Bump Clang version to current minimum 2022-07-24 18:41:43 +00:00
Robert Schulze
cec8458429
Remove Mac instructions
... they are given at length on the dedicated setup page for Mac
2022-07-24 18:41:43 +00:00
Robert Schulze
b09121df11
Remove comment to check for CMake version
a) the build script aborts anyways if CMake is too old
b) our minimally required version is >3 years old, so the chance of an
   abort due to outdated CMake is fairly low
c) removing the hint to check the version removes the need to constantly
   update the version in the docs
2022-07-24 18:41:43 +00:00
Robert Schulze
a2d1738150
Add a sentence on writing perf tests for SQL functions 2022-07-24 18:41:07 +00:00
Alexey Milovidov
071374b152 Remove SPLIT_BINARY 2022-07-24 01:15:54 +02:00
Azat Khuzhin
0e95dba3ef Fix make clean (due to crosscompile of llvm)
Without ADDITIONAL_CLEAN_FILES it reports an error:

    Cleaning... ninja: error: remove(contrib/llvm/llvm/NATIVE): Directory not empty
    ninja: error: remove(/bld/contrib/llvm/llvm/NATIVE): Directory not empty
    0 files.

Note, that ADDITIONAL_CLEAN_FILES had been added since cmake 3.15.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-20 17:34:10 +03:00
Constantine Peresypkin
a4e3fac863
fix wrong OSX building instructions
It was a mess of `clang-13` and `clang-14` or `aarch64` and `x86_64`
2022-07-08 11:54:00 +02:00
Alexey Milovidov
551b0e62ca
Update build-cross-arm.md 2022-07-08 00:41:45 +03:00
Robert Schulze
e2d3bb80f4
Revert "Revert "Smallish updates of dev guide""
This reverts commit 45b1c3fe20.
2022-07-05 14:24:00 +02:00
Alexander Tokmakov
45b1c3fe20
Revert "Smallish updates of dev guide" 2022-07-05 15:15:11 +03:00
Robert Schulze
2730639c11
Merge pull request #38751 from ClickHouse/update-dev-docs
Smallish updates of dev guide
2022-07-05 13:36:05 +02:00
Mikhail f. Shiryaev
7c812df47e
Merge pull request #38580 from ClickHouse/artifactory-arm64
Push arm64 packages to artifactory and release assets
2022-07-04 12:31:52 +02:00
Robert Schulze
d0e84390c7
Added note that development options are not supported 2022-07-04 07:17:27 +02:00
Robert Schulze
73e2d59294
Smallish updates of dev guide
- Inspired by #38684, this commit removes the list of used third-party
  libraries + licenses from the development documentation.

- The tips how to speed up the build is independent of the OS. Move it
  from the "Linux" section to the "Getting Started" guide. Also extend
  it with further useful build options to make the build faster.
2022-07-03 14:56:04 +02:00
Azat Khuzhin
2a23c39a78 Remove outdated cmake documentation
When it had been added, initially, it was autogenerated - #14711
Later, after documentation rework, it had been removed, in #37441.

And this makes documentation out dated, and out dated documentation may
provide more harm then help, so let's remove it.

Also it has links to the code in github that does not contain commit
SHA1, so those links may point in the wrong place.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-01 15:20:33 +03:00
Robert Schulze
59236d60c9
Merge pull request #38654 from ClickHouse/better-naming-for-split-debug-symbols
Better naming for stuff related to splitted debug symbols
2022-07-01 09:28:41 +02:00
Robert Schulze
bb358617e1
Better naming for stuff related to splitted debug symbols
The previous name was slightly misleading, e.g. it is not about
"intalling stripped binaries" but about splitting debug symbols from the
binary.
2022-06-30 23:41:27 +02:00
Mikhail f. Shiryaev
e76ebdfb47
Change clickhouse-{client,server} packages architecture 2022-06-30 16:31:31 +02:00
Jordi Villar
e8cdee73e1
Update architecture.md 2022-06-28 09:27:28 +02:00
Alexey Milovidov
b3098822e0
Merge pull request #38171 from ClickHouse/hyper-to-vectorscan
Replace hyperscan by vectorscan
2022-06-26 10:01:45 +03:00
Robert Schulze
2c828338f4
Replace hyperscan by vectorscan
This commit migrates ClickHouse to Vectorscan. The first 10 min of
[0] explain the reasons for it.

(*) Addresses (but does not resolve) #38046

(*) Config parameter names (e.g. "max_hyperscan_regexp_length") are
    preserved for compatibility. Likewise, error codes (e.g.
    "ErrorCodes::HYPERSCAN_CANNOT_SCAN_TEXT") and function/class names (e.g.
    "HyperscanDeleter") are preserved as vectorscan aims to be a drop-in
    replacement.

[0] https://www.youtube.com/watch?v=KlZWmmflW6M
2022-06-24 10:47:52 +02:00
zvonand
946117ec89 Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-base58 2022-06-23 17:04:40 +05:00
Robert Schulze
fa6deaa0f7
Merge pull request #38294 from ClickHouse/fix_system_dot_licences_on_mac
Fix system.licenses on mac
2022-06-23 09:33:07 +02:00
Robert Schulze
76bd2533a3
Fix system.licenses on mac
- list-licenses.sh assumed GNU versions (e.g. the "-printf" flag of
  find) but Mac ships with a non-GNU version

- this led to error

  [8677/8942] Generating StorageSystemLicenses.generated.cpp
  find: -printf: unknown primary or operator
  find: -printf: unknown primary or operator
  find: -printf: unknown primary or operator
  find: -printf: unknown primary or operator

  during build and as a result, an empty system.licenses table

- As a fix, force the GNU versions of find and grep on Mac
2022-06-21 23:22:27 +02:00
zvonand
9c6b2b9ba0 added docs 2022-06-20 20:10:28 +05:00
DanRoscigno
14ecf4c497 s/Clickhouse/ClickHouse/ 2022-06-17 08:40:14 -04:00
Alexey Milovidov
eec99e74f2
Update build.md 2022-06-13 06:24:51 +03:00
Alexey Milovidov
7ae67500ad
Update build.md 2022-06-13 06:19:31 +03:00
vdimir
94bddec0bc
More typos checked and fixed 2022-06-08 14:28:41 +02:00
vdimir
9bd9c3d1d1
Fix some typos in docs 2022-06-08 14:26:02 +02:00
Vladimir C
f7b026f31e
Merge pull request #37825 from vdimir/contrib-trigger-false 2022-06-03 15:31:18 +02:00
vdimir
8228049687
Fix submodule changed label condition 2022-06-03 13:59:34 +02:00
Alexey Milovidov
ea89f81a78 Merge branch 'master' of github.com:ClickHouse/ClickHouse into llvm-14 2022-06-03 03:07:14 +02:00
rfraposa
869967de41 Remove H1 anchor tags from docs 2022-06-02 04:55:18 -06:00
Alexey Milovidov
b5f48a7d3f Merge branch 'master' of github.com:ClickHouse/ClickHouse into llvm-14 2022-06-01 22:09:58 +02:00
Robert Schulze
b3b0716b32
Merge pull request #37544 from ClickHouse/cached_patterns
Cache compiled regexps when evaluating non-const needles
2022-06-01 19:55:25 +02:00
Alexey Milovidov
c1169019d2 Merge branch 'master' into llvm-14 2022-05-29 02:29:02 +02:00
Alexey Milovidov
39a55991ca Change Playground URL in the docs 2022-05-28 01:18:07 +02:00
Robert Schulze
ff228d63e8
Fix typo 2022-05-27 10:14:13 +02:00
Alexey Milovidov
207ffc0f92 Merge branch 'master' into llvm-14 2022-05-27 01:18:51 +02:00
Robert Schulze
23378ab67b
Merge pull request #37520 from ClickHouse/update-3rd-party-contribution-guide
Update 3rd party contribution guide
2022-05-25 21:54:49 +02:00
Igor Nikonov
4f09a0c431
Update architecture.md
Updated broken links in Functions section
2022-05-25 16:27:17 +02:00
Robert Schulze
c743fef3ae
Update 3rd party contribution guide
- replace obsolete references to clickhouse-extra to clickhouse

- generally rewrite the guide and make it easier to understand
2022-05-25 13:46:05 +02:00
Alexey Milovidov
a5541dc2d5 Merge branch 'master' into llvm-14 2022-05-25 01:56:24 +02:00
Robert Schulze
7348a0eb28
Merge pull request #37251 from ClickHouse/non_const_like
Support non-constant SQL functions (NOT) (I)LIKE and MATCH
2022-05-24 20:28:31 +02:00
Alexey Milovidov
3b0ecb4620
Update cmake-in-clickhouse.md 2022-05-24 03:55:28 +03:00
Alexey Milovidov
dce7a86ca9 Merge branch 'master' into llvm-14 2022-05-22 22:38:07 +02:00
Robert Schulze
00d004c061
Remove -T flag from instructions about test creation
That flag no longer exists and test creation works fine w/o it (see
commit f07d4177a5 for a related change).
2022-05-22 17:50:38 +02:00
Robert Schulze
b475fbc9a7
Merge pull request #37300 from ClickHouse/cmake-cleanup-pt3
Various cmake cleanups
2022-05-20 10:02:36 +02:00
Alexander Gololobov
e9db3465e3 Fixed typos 2022-05-18 13:01:32 +02:00
Robert Schulze
34af1cb116
Throw option WEVERYTHING out
WEVERYTHING enables on Clang literally every warning. People on the
internet are divided if this is a good thing or not but ClickHouse
compiles with -Weverything + some exceptions for noisy warnings since at
least a year.

I tried to build with WEVERYTHING = OFF and the build was badly broken.
It seems nobody actually turns WEVERYTHING off. Actually, why would one
if the CI builds (configured with WEVERYTHING = ON) potentially generate
errors not generated in local development.

To simplify the build scripts and to remove the need to maintain two
sets of compiler warnings, I made WEVERYTHING the default and threw
WEVERYTHING = OFF out.
2022-05-17 15:52:53 +02:00
Igor Nikonov
34de7d9973
Remove prompt($) from bash scripts
Copy bash script. Paste it into terminal. Some bash scripts fail to execute due to bash prompt in documentation. So, I just removed the prompt(s)
2022-05-16 13:55:42 +02:00
Nikolai Kochetov
f1bc2bc615 Merge branch 'master' into llvm-14 2022-05-16 12:03:26 +02:00
Robert Schulze
7c11f41038
Removed funny objcopy/strip finding logic on Apple
On Darwin, the build script tries to
1. use llvm-objcopy/llvm-strip from $PATH,
2. if not found by 1., use standard objcopy/strip from $PATH

The brew install instructions recommends to set $PATH to brew's binary
dir, so 2. will find something (assuming binutils is installed from
brew). If $PATH additionally points to brew's LLVM binary dir (which is
different from brew's binary dir), 1. will find the llvm versions of the
tools.

This commit removes additional logic which repeats above steps in a more
implicit way by calling brew internally and figuring out the paths once
more if 1. and 2. cannot find them in the $PATH. This removes
duplication and simplifies the script. Maybe it even helps with
reproducibility.
2022-05-15 16:06:54 +02:00
Robert Schulze
1c127bbe09
Make color output a CMake option and fix setting for makefile generator
- Variable CMAKE_BUILD_COLOR_MAKEFILE has no effect (perhaps it had in
  ancient CMake), the actual variable is called CMAKE_COLOR_MAKEFILE
2022-05-15 09:48:02 +02:00
Robert Schulze
a15dacf80f
Simplify and update MacOS build instructions
- instead of repeating Homebrew's installation steps (which may become
  outdated), just point to their homepage

- Specify CC and CXX env variables instead of internal CMake variables,
  CMake figure out paths to ar, ranlib and objcopy automatically

- use -S and -B parameters available in recent CMake versions to build
  directly from the source directory
2022-05-12 11:45:58 +02:00
Rich Raposa
ee0cef3576
Merge pull request #37118 from ClickHouse/test-doc-update
Mini update of testing guide
2022-05-11 07:22:33 -06:00
Robert Schulze
f07d4177a5
Small update of testing guide
- the guide talked about 'testmode' but that doesn't seem to exist
  anymore (grep for it ...), and the command works w/o 'testmode'

- also replaced parameter '-n' by its full form '--multiquery' for
  readability
  '
2022-05-11 14:38:16 +02:00
Robert Schulze
7bef3843ce
Recommend syntactic sugar for better readability in code style 2022-05-08 08:44:22 +02:00
Robert Schulze
a6e22c9379
Revert "Mention suppression in stylecheck error + document in style guide"
This reverts commit ef0d9ca468.
2022-05-08 08:35:10 +02:00
Robert Schulze
ef0d9ca468
Mention suppression in stylecheck error + document in style guide 2022-05-06 09:43:00 +02:00
Sergei Trifonov
08688332bd
more info + fixes 2022-05-03 11:22:07 +02:00
Sergei Trifonov
98168cfc8f
Add docs for developers on threads and jobs 2022-05-02 19:47:15 +02:00
Alexey Milovidov
88826e2da5 Remove "preconditions" from performance tests (overengineering, unneeded feature) 2022-05-02 02:33:22 +02:00
Sergei Trifonov
6b7d3ce739
Merge pull request #36670 from ClickHouse/serxa-dev-config-docs
documentation on how configuration is implemented
2022-04-28 15:42:33 +02:00
mergify[bot]
afd82a68f9
Merge branch 'master' into clang-tidy-cleanup 2022-04-27 02:30:02 +00:00
Ivan Blinkov
c0ee49920f
[docs] title doesn't need a period + make it shorter (#36678) 2022-04-26 21:09:03 +03:00
Sergei Trifonov
f17aea145c
documentation on how configuration is implemented 2022-04-26 14:07:11 +02:00
Robert Schulze
718a173ce9
Merge remote-tracking branch 'origin/master' into clang-tidy-cleanup
Conflicts:
- cmake/clang_tidy.cmake
2022-04-26 09:42:47 +02:00
Robert Schulze
15e75e79e4
analysis.cmake --> clang_tidy.cmake 2022-04-26 09:41:56 +02:00
Robert Schulze
017fde4136
Update required CMake version in build.md 2022-04-25 12:48:54 +02:00
Alexey Milovidov
27d02e2689
Merge pull request #36592 from ClickHouse/rfraposa-patch-3
Add cmake page back to docs && fix /settings/settings in /zh
2022-04-25 03:24:07 +03:00
rfraposa
06ac99b1e7 Add cmake page back to docs && fix /settings/settings in /zh 2022-04-24 16:47:19 -06:00
Alexey Milovidov
4f70416cc7
Update integrating_rust_libraries.md 2022-04-25 01:34:06 +03:00
BoloniniD
9ddff37273 Start docs for Rust integration 2022-04-20 18:33:56 +03:00
rfraposa
3642977fc8 Force the workflow action 2022-04-19 17:07:14 -06:00
Mikhail f. Shiryaev
1ee05116f7
Move symlinks to clickhouse-docs, restore development/index.md 2022-04-19 21:52:21 +02:00
rfraposa
6576fd88c1 EOL fixes 2022-04-19 13:50:45 -06:00
rfraposa
1afe4300e8 Fixed broken links 2022-04-11 09:55:54 -06:00
rfraposa
d9e6f780db Fixed broken links 2022-04-10 23:01:34 -06:00
rfraposa
8f01fe9c49 Revised /en folder 2022-04-09 07:34:21 -06:00
rfraposa
5250d9ad11 Removed /ja folder, cleaned up /ru markdown 2022-04-09 07:29:05 -06:00
Alexey Milovidov
9854b55835
Revert "Format changes for new docs" 2022-04-04 02:05:35 +03:00
rfraposa
72a00e2c62 Fixed broken links 2022-04-02 17:38:54 -06:00
Alexey Milovidov
93edf05259
Merge branch 'master' into llvm-14 2022-04-01 04:49:03 +03:00
rfraposa
560471f991 Update /sql-reference docs 2022-03-29 22:06:21 -06:00
rfraposa
33e28bcb18 Updated /development folder 2022-03-29 08:26:35 -06:00