

Finally, merge the patch branch into the custom tracking branch (e.g.

In the latter case, create a branch with clickhouse/ prefix from the branch you want to integrate, e.g.the external library requires patching/customization, create a fork of the official repository in the ClickHouse organization in GitHub.

If the external library can be used as-is, you may reference the upstream repository directly. Avoid dumps/copies of external code, instead use Git submodule feature to pull third-party code from an external upstream repository. Each third-party library must reside in a dedicated directory under the contrib/ directory of the ClickHouse repository.Depending on the build options, some of of the libraries may have not been compiled, and as a result, their functionality may not be available at runtime.Įxample Adding new third-party libraries and maintaining patches in third-party libraries (Note that the listed libraries are the ones located in the contrib/ directory of the ClickHouse repository.
