Commit Graph
611 Commits
Author SHA1 Message Date
Alexey Milovidov 39b0bf44e0 Fix error 2025-06-07 05:55:35 +02:00
Alexey Milovidov 03789c4f53 Add support for --database argument in clickhouse-local 2025-06-07 05:30:34 +02:00
Kseniia SumarokovaandGitHub 6f1c067e5f Merge pull request #81237 from ClickHouse/fix-file-cache-max-size-ratio-with-relative-cache-path
Fix fs cache max_size_to_total_space setting with relative cache path
2025-06-06 13:42:15 +00:00
kssenii 454a0e3827 Fix tests 2025-06-04 15:21:47 +02:00
Raúl Marín 3cd4ad0d16 Remove usage of settings.h 2025-06-02 18:00:25 +02:00
Alexey Milovidov 0363e2abf4 Allow filesystem_caches and named_collections in clickhouse-local configuration file 2025-06-01 01:08:08 +02:00
Alexey Milovidov a12455bd3d Make SQL UDF persistent in clickhouse-local 2025-05-16 05:33:41 +02:00
János Benjamin Antal c2038a812d Remove format_alter_commands_with_parentheses server setting
The setting was introduced and set false by default in 24.2. It was enabled by default in 25.2. As there are no LTS versions that doesn't support the new format, we can remove the setting.
2025-05-08 13:26:11 +00:00
Alexey Milovidov acdadec1d5 Miscellaneous 2025-04-16 03:38:52 +02:00
Alexey Milovidov b1a4c74981 Fix loading of system logs in clickhouse-local 2025-04-16 03:17:10 +02:00
Alexey MilovidovandGitHub 32ddafd462 Merge pull request #79085 from ClickHouse/implicit-table
Implicit table in `clickhouse-local`
2025-04-14 21:50:38 +02:00
Alexey MilovidovandGitHub 3fb7c4d882 Merge pull request #71722 from ClickHouse/clickhouse-local-persistency
Persistent databases in clickhouse-local
2025-04-14 21:01:36 +02:00
Azat KhuzhinandGitHub 94264b1193 Merge pull request #77578 from azat/fix-applying-async_insert-from-server
Fix applying async_insert from server (via apply_settings_from_server)
2025-04-14 08:32:05 +00:00
Alexey Milovidov 99e4b7236a Compatibility 2025-04-14 04:24:23 +02:00
Alexey Milovidov 076534c091 Ok, I get the logic of this code 2025-04-14 03:25:15 +02:00
Alexey Milovidov 5874cfe83f Step back 2025-04-14 02:51:05 +02:00
Alexey Milovidov cc44954a7b Try this 2025-04-14 02:39:26 +02:00
Alexey Milovidov ab99478c32 Step back 2025-04-14 02:33:49 +02:00
Alexey Milovidov 2205c5b6ed Implicit table in clickhouse-local 2025-04-13 05:28:37 +02:00
Alexey Milovidov 05ea5a28b3 Schema inference for stdin in clickhouse-local 2025-04-13 05:28:22 +02:00
Alexey Milovidov e3ff4870ca Merge branch 'master' into clickhouse-local-persistency 2025-04-12 23:12:29 +02:00
Azat Khuzhin 296cda664b Re-introduce query_to_execute for processParsedSingleQuery()
The problem is that without this distinction we have a query with
trailing comments (due to applied adjustQueryEnd())
2025-04-11 10:43:49 +02:00
Konstantin Bogdanov 678acbafdc Fix OpenSSL early init 2025-04-10 21:33:00 +02:00
Azat Khuzhin c6f93e16bb Pass query for execution as string_view
The data that ASTPtr may refer to (in case of INSERT) should point to
the same memory region, since in case of async_insert, we need to
calcualte the end of the query, and we cannot do this without this.
2025-04-10 17:52:28 +02:00
Alexey Milovidov 4bcf010bc1 Merge branch 'master' into clickhouse-local-persistency 2025-04-10 02:22:25 +02:00
Han Fei ee86c41d96 Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-04-02 23:38:16 +00:00
Han Fei 5419dd4a7f refine comments 2025-03-25 12:18:35 +00:00
Han Fei 4aee320a82 fix build 2025-03-25 11:59:20 +00:00
Han Fei e6766469e6 support cache for manifest files 2025-03-24 23:23:21 +00:00
Robert Schulze f081eeb43f storage.tables: parametrized_view_paramters --> parameterized_view_parameters 2025-03-24 18:49:46 +00:00
Han Fei a321f6cbf2 Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-03-24 13:53:36 +00:00
Alexey Milovidov b37a3f791e Merge remote-tracking branch 'origin/master' into clickhouse-local-persistency 2025-03-22 12:06:37 +01:00
Robert SchulzeandGitHub ddee4ac05b Merge pull request #77895 from rschu1ze/remove-mongodb
Remove legacy MongoDB integration
2025-03-20 08:53:30 +00:00
Azat KhuzhinandGitHub 05c3edcab4 Merge pull request #74989 from ClickHouse/fix-ssh
Improve the SSH protocol
2025-03-19 20:29:43 +00:00
Robert Schulze f5217aeebe Remove legacy MongoDB integration 2025-03-19 09:19:06 +00:00
Shankar Iyer e7c979b541 Revert skipping index cache, new name is vector similarity index cache 2025-03-19 07:18:13 +00:00
Nikita Mikhaylov ee12273297 Improve the SSH protocol 2025-03-18 14:53:35 +01:00
Shankar Iyer 3432e3fef8 Reapply "Merge pull request #70102 from rschu1ze/skipping-index-cache2"
This reverts commit 0003892bd0.
2025-03-18 07:56:53 +00:00
Han Fei ad9f200740 fix build and tests 2025-03-14 14:58:22 +00:00
Han Fei c8801f74c6 Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-03-13 16:36:26 +00:00
Nikita MikhaylovandGitHub 81d058b4c1 Merge pull request #77447 from ClickHouse/revert-cache
Revert skipping index cache
2025-03-12 13:53:36 +00:00
Nikita Mikhailov 0003892bd0 Revert "Merge pull request #70102 from rschu1ze/skipping-index-cache2"
This reverts commit 3de5611713, reversing
changes made to 987f678400.
2025-03-11 19:16:36 +01:00
Azat Khuzhin eaeaac9082 Forbid empty databases (leaked via default_database)
CI found [1] `LOGICAL_ERROR` for the query `DROP TABLE 13221_rm6`:

    9 0x55e550e8a55d in DB::abortOnFailedAssertion() build_docker/./src/Common/Exception.cpp:48:5
    10 0x55e550e8bc05 in DB::handle_error_code() build_docker/./src/Common/Exception.cpp:70:9
    14 0x55e519a2e1d2 in DB::Exception::Exception<>() build_docker/./src/Common/Exception.h:130:77
    15 0x55e5306e034b in DB::DatabaseCatalog::getDDLGuard() build_docker/./src/Interpreters/DatabaseCatalog.cpp:926:15
    16 0x55e531496823 in DB::InterpreterDropQuery::executeToTableImpl() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:142:72
    17 0x55e531494e39 in DB::InterpreterDropQuery::executeToTable() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:118:16
    18 0x55e531492e47 in DB::InterpreterDropQuery::executeSingleDropQuery() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:91:16
    19 0x55e531492559 in DB::InterpreterDropQuery::execute() build_docker/./src/Interpreters/InterpreterDropQuery.cpp:72:15
    20 0x55e531c0c9fd in DB::executeQueryImpl() build_docker/./src/Interpreters/executeQuery.cpp:1459:40
    21 0x55e531c021ee in DB::executeQuery() build_docker/./src/Interpreters/executeQuery.cpp:1626:19

  [1]: https://s3.amazonaws.com/clickhouse-test-reports/0/5b0fb3e3dff551c7bc3150083db1622c229825fb/libfuzzer_tests.html

The problem is taht fuzzer does not install empty database, and this
problem exists even for clickhouse-local

Fix this by adding some checks and initialize database for fuzzer.
2025-03-11 16:11:24 +01:00
Robert Schulze 5e7439e9fb Add docs, move some code around 2025-03-09 12:07:35 +00:00
Han Fei 462c4c0190 Merge branch 'master' into hanfei/datalake_meatadata_cache 2025-03-05 12:20:41 +00:00
Han Fei 35e86e8f0e [WIP] Support DataLake Metadata Cache 2025-03-05 12:11:08 +00:00
zhongyuankai db29039940 rename 2025-03-05 09:04:00 +08:00
zhongyuankaiandGitHub c41f9c2bc6 Merge branch 'master' into query_condition_cache 2025-03-01 00:17:15 +08:00
Raúl Marín ef127b87dc Merge remote-tracking branch 'blessed/master' into part_splitter_build 2025-02-27 20:33:30 +00:00
Alexey MilovidovandGitHub d24e380ad3 Merge branch 'master' into query_condition_cache 2025-02-27 03:49:17 +01:00