Commit Graph

138451 Commits

Author SHA1 Message Date
Azat Khuzhin
e926253664 Check is Rust avaiable for build, if not, suggest a way to disable Rust support
Rust requires internet connection, so let's detect if it works, and if
not, suggest building with -DENABLE_RUST=OFF, here is an example of the
output in case of error:

    $ docker run --network=none ...
    -- Copy skim to /root/rust/skim
    CMake Error at rust/CMakeLists.txt:112 (message):
      Rust (/rust/rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/cargo)
      support is not available (likely there is no internet connectivity):

          Updating git repository `https://github.com/azat-rust/tuikit.git`

      warning: spurious network error (3 tries remaining): failed to resolve
      address for github.com: Temporary failure in name resolution; class=Net
      (12)

      warning: spurious network error (2 tries remaining): failed to resolve
      address for github.com: Temporary failure in name resolution; class=Net
      (12)

      warning: spurious network error (1 tries remaining): failed to resolve
      address for github.com: Temporary failure in name resolution; class=Net
      (12)

      error: failed to load source for dependency `tuikit`

      Caused by:

        Unable to update https://github.com/azat-rust/tuikit.git?rev=e1994c0e03ff02c49cf1471f0cc3cbf185ce0104

      Caused by:

        failed to clone into: /rust/cargo/git/db/tuikit-c3ca927b4dbcf00d

      Caused by:

        network failure seems to have happened
        if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
        https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

      Caused by:

        failed to resolve address for github.com: Temporary failure in name resolution; class=Net (12)

      You can disable Rust support with -DENABLE_RUST=OFF
    Call Stack (most recent call first):
      rust/CMakeLists.txt:129 (add_rust_subdirectory)

    -- Configuring incomplete, errors occurred!

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-03-26 15:20:49 +01:00
Arthur Passos
2ed53e309b
Reset part level upon attach from disk on MergeTree (#61536)
* hackish change to check how CI reacts

* remove unnecessary renameTo

* introduce separate metho

* remove unused arg

* rename meth od

* add simple test

* add current database

* set mutations sync

* Update tests/queries/0_stateless/03013_test_part_level_is_reset_attach_from_disk_mt.sql

---------

Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
Co-authored-by: János Benjamin Antal <benjamin.antal@clickhouse.com>
2024-03-26 11:44:55 +01:00
Nikolai Kochetov
2f382ac8a8
Merge pull request #61787 from ClickHouse/fix-virtual-columns-storage-merge-analyzer
Fix more tests with virtual columns in StorageMerge.
2024-03-26 11:16:25 +01:00
Nikolai Kochetov
f2e9ea2417
Merge pull request #61875 from ClickHouse/try-to-fix-02901_parallel_replicas_rollup-with-analyzer
Try to fix 02901_parallel_replicas_rollup with analyzer.
2024-03-26 11:12:29 +01:00
vdimir
802d6a2dac
Merge pull request #59007 from ClickHouse/vdimir/using_alias_followup
Analyzer: fixes for JOIN columns resolution
2024-03-26 10:36:50 +01:00
Kseniia Sumarokova
fd8e34a0ba
Merge pull request #60452 from ClickHouse/revert-refert-of-broken-projections-handling
Revert "Revert "Merge pull request #56864 from ClickHouse/broken-projections-better-handling""
2024-03-26 10:34:48 +01:00
Alexey Milovidov
cc1ee02459
Merge pull request #61916 from ClickHouse/no-please
No "please"
2024-03-26 12:10:11 +03:00
Alexey Milovidov
ef397f9e37 Update changelog 2024-03-26 09:17:36 +01:00
Alexey Milovidov
6a225b4056
Merge pull request #61918 from ClickHouse/auto/v24.1.8.22-stable
Update version_date.tsv and changelogs after v24.1.8.22-stable
2024-03-26 11:07:00 +03:00
Alexey Milovidov
2222b6f444
Merge pull request #61917 from ClickHouse/auto/v23.12.6.19-stable
Update version_date.tsv and changelogs after v23.12.6.19-stable
2024-03-26 11:06:51 +03:00
robot-clickhouse
88665a1b5b Update version_date.tsv and changelogs after v24.1.8.22-stable 2024-03-26 08:05:23 +00:00
robot-clickhouse
6236d35ee7 Update version_date.tsv and changelogs after v23.12.6.19-stable 2024-03-26 08:03:44 +00:00
Alexey Milovidov
76ed7e40fe
Merge pull request #61866 from azat/pool-remove-AllocateNewBypassingPool
Remove PoolBase::AllocateNewBypassingPool
2024-03-26 11:02:44 +03:00
Alexey Milovidov
fb39589b95
Merge pull request #61915 from ClickHouse/auto/v23.8.12.13-lts
Update version_date.tsv and changelogs after v23.8.12.13-lts
2024-03-26 11:01:49 +03:00
Alexey Milovidov
f7fcd50894
Merge pull request #61914 from ClickHouse/auto/v23.3.22.3-lts
Update version_date.tsv and changelogs after v23.3.22.3-lts
2024-03-26 11:01:39 +03:00
Alexey Milovidov
9b052d059d No "please" 2024-03-26 09:00:20 +01:00
robot-clickhouse
bb83b17c6b Update version_date.tsv and changelogs after v23.8.12.13-lts 2024-03-26 07:55:23 +00:00
robot-clickhouse
c525436c76 Update version_date.tsv and changelogs after v23.3.22.3-lts 2024-03-26 07:53:46 +00:00
Alexey Milovidov
385f666172 Update Changelog 2024-03-26 08:30:47 +01:00
robot-ch-test-poll1
f9e67319b7
Merge pull request #61906 from ClickHouse/rfraposa-patch-2
Modify cmake command for building clickhouse on MacOS
2024-03-26 10:28:23 +04:00
Alexey Milovidov
83678bc014
Merge pull request #61909 from ClickHouse/changelog-24.3
Changelog for 24.3
2024-03-26 08:38:03 +03:00
Alexey Milovidov
2a820a14c5 Changelog for 24.3 2024-03-26 05:49:21 +01:00
Alexey Milovidov
2dca4678dd
Merge pull request #61903 from ClickHouse/move-kql-trash-in-its-place
Move KQL trash where it is supposed to be
2024-03-26 07:45:50 +03:00
Rich Raposa
12a619f388
Modify cmake command for building clickhouse on MacOS
This seems subtle, but for some reason it makes a big difference. If you set the environment variables before running `cmake`, they get ignored. After many, many attempts I finally figured out this solution - which worked great on my Mac.
2024-03-25 21:56:13 -06:00
Alexey Milovidov
b0c883ef15
Merge pull request #61879 from ClickHouse/add-test-fuzz
Add test for  #57808
2024-03-26 06:40:30 +03:00
Alexey Milovidov
94f1379677 Move KQL trash where it is supposed to be 2024-03-26 04:02:32 +01:00
pufit
cad66f3e68
Fix ALTER QUERY MODIFY SQL SECURITY (#61480) 2024-03-25 20:03:02 -04:00
Alexey Milovidov
7282c5dbf6
Merge pull request #61848 from ClickHouse/geodistance-double-precision
Double precision of geoDistance if the arguments are Float64
2024-03-26 02:58:07 +03:00
Max K
c7e4d97e5a
Merge pull request #61881 from ClickHouse/ci_prepare_for_merge_queue
CI: merge queue support
2024-03-25 22:12:02 +01:00
Yakov Olkhovskiy
6c4cd355e6
Merge pull request #61511 from jewelzqiu/existing-count
Add docs for lwd-aware merge settings
2024-03-25 16:59:58 -04:00
Max K
b4ed7ded9a
Merge pull request #61778 from ClickHouse/ci_disable_grpc_tests_on_arm
CI: disable grpc tests on ARM
2024-03-25 21:50:58 +01:00
Max K
6a852bfe71
Merge pull request #61877 from ClickHouse/ci_set_install_check_timeout
CI: set timeout for install check
2024-03-25 21:32:54 +01:00
Alexey Milovidov
03f8334ea1
Remove SonarCloud (#61880) 2024-03-25 20:36:58 +01:00
Alexey Milovidov
1928e7d1f6
Merge pull request #60886 from ArctypeZach/master
Add support for `START TRANSACTION` syntax
2024-03-25 21:09:48 +03:00
Alexander Tokmakov
87dea7885f
Merge pull request #61675 from ClickHouse/replace_range_sucks
Fix actual_part_name for REPLACE_RANGE (`Entry actual part isn't empty yet`)
2024-03-25 18:59:49 +01:00
Max Kainov
f9f830228a CI: MQ support 2024-03-25 17:57:03 +00:00
Nikita Mikhaylov
11bc6c3e6e Test added 2024-03-25 18:43:29 +01:00
Max Kainov
727aeb7e37 CI: set timeout for install check
#job_Install_packages_amd64 #job_style_check
2024-03-25 17:38:39 +00:00
Julia Kartseva
a24b76c02e
Merge pull request #61617 from jkartseva/json-disallow-low-cardinality
disallow LowCardinality input type for JSONExtract
2024-03-25 10:21:36 -07:00
Alexander Tokmakov
d401998ef6
Merge pull request #61878 from ClickHouse/revert-60656-add_now_option
Revert "Add --now option to enable and start the service" #job_Install_packages_amd64
2024-03-25 17:57:14 +01:00
Max K
9d17f3106c
Revert "Add --now option to enable and start the service" 2024-03-25 17:53:01 +01:00
Han Fei
233a75505b
Merge pull request #61766 from ditgittube/master_fix_window
Fix RANGE frame is not supported for Nullable columns.
2024-03-25 17:17:58 +01:00
robot-clickhouse-ci-1
f78a66c279
Merge pull request #61864 from azat/doc/building
Update development instruction (section how to disable Rust and update ENABLE_LIBRARIES location)
2024-03-25 17:08:09 +01:00
robot-clickhouse
01f537c409
Merge pull request #61863 from azat/dist/flush-settings-doc
Update documentation for SYSTEM FLUSH DISTRIBUTED SETTINGS
2024-03-25 17:07:57 +01:00
Nikolai Kochetov
3752b13753 See what would happen if constant fold _CAST for scalar subqueries properly. 2024-03-25 15:36:01 +00:00
Alexey Milovidov
dc6d713658
Merge pull request #60774 from canhld94/zookeeper_log_us
Change column name from duration_ms to duration_us in system.zookeeper
2024-03-25 18:07:58 +03:00
Alexey Milovidov
c2209c997c
Merge branch 'master' into geodistance-double-precision 2024-03-25 17:49:32 +03:00
Alexey Milovidov
24261476c4
Merge pull request #61820 from ClickHouse/get-client-http-header
Add a new function `getClientHTTPHeader`
2024-03-25 17:48:24 +03:00
Alexey Milovidov
21a0d17637
Merge branch 'master' into geodistance-double-precision 2024-03-25 17:47:42 +03:00
Alexey Milovidov
d45a6fe9b9 Fix tidy 2024-03-25 15:46:55 +01:00