Commit Graph

140947 Commits

Author SHA1 Message Date
Vitaly Baranov
929f474496 Fix unhandled exception in ~RestorerFromBackup. 2024-04-26 15:18:13 +02:00
Azat Khuzhin
84bebc534b Fix suppressions for librdkafka data-race for statistics code
The problem is that ignorelist `fun` does not work recursively.

<details>

<summary>example</summary>

```c
// test.cpp

bool flag = false;

// avoid mangling
extern "C" {

void set_flag_impl()
{
    flag = true;
}
void set_flag()
{
    set_flag_impl();
}
void set_flag_if()
{
    if (flag)
        flag = false;
}

}

int main()
{
    std::thread t1([]{ set_flag(); });
    std::thread t2([]{ set_flag_if(); });

    t1.join();
    t2.join();

    return 0;
}
```

```
// ignorelist
[thread]
fun:set_flag
```

```
$ clang++ -g -fno-omit-frame-pointer -fsanitize=thread -fsanitize-ignorelist=ignorelist -o test test.cpp && ./test
SUMMARY: ThreadSanitizer: data race /tmp/tsan-test/test.cpp:18:9 in set_flag_if
$ sed -i 's/set_flag/set_flag_impl/' ignorelist
$ clang++ -g -fno-omit-frame-pointer -fsanitize=thread -fsanitize-ignorelist=ignorelist -o test test.cpp && ./test
OK
```

</details>

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-26 16:08:45 +03:00
Max K
bd0c827b78
Merge pull request #63025 from ClickHouse/ci_config_run_ft_in_mq_fix
CI: fix ci config to run FT in MQ
2024-04-26 12:54:21 +00:00
Aleksei Filatov
19a2dd3318 Fix flaky test 03000_traverse_shadow_system_data_paths 2024-04-26 15:53:48 +03:00
Nikita Mikhaylov
0af2b305b2
Merge pull request #61740 from ClickHouse/docs/adds-connectionId-function
Adds `connectionId` and `connection_id` function docs.
2024-04-26 12:52:26 +00:00
Azat Khuzhin
6e534650e4 Use sanitizer specific ignorelists
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-26 15:46:04 +03:00
Azat Khuzhin
3ecfcdfe7b Remove outdated comment about broken -fsanitize-ignorelist
See: https://github.com/ClickHouse/ClickHouse/pull/49829#issuecomment-1546704055
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-04-26 15:45:44 +03:00
Raúl Marín
25d7f24f0f
Merge pull request #63004 from Algunenano/remove_optimize_monotonous_functions_in_order_by
Remove optimize_monotonous_functions_in_order_by setting
2024-04-26 12:13:50 +00:00
Robert Schulze
0fd2d573ae
Move hint to system.settings up 2024-04-26 12:10:51 +00:00
alesapin
56039c91f9
Update src/Interpreters/MutationsInterpreter.cpp 2024-04-26 13:51:25 +02:00
Nikita Mikhaylov
b204e43554
Merge pull request #62000 from ClickHouse/keywords-2
Use keywords structure in all places - `obfuscateQueries.cpp` / `Suggest.cpp`
2024-04-26 11:47:14 +00:00
Yarik Briukhovetskyi
819b5aab55
Merge pull request #62901 from KevinyhZou/fix_fromUnixTimestamp_beyond_uint32
Fix fromUnixtimestamp in joda syntax while the input value beyond UInt32
2024-04-26 11:31:24 +00:00
Yarik Briukhovetskyi
e507bb274d
add link to system.tables for settings docs 2024-04-26 13:27:26 +02:00
Nikita Mikhaylov
12aac468be
Merge pull request #62657 from jus1096/patch-5
Add description for argMax function in documetation
2024-04-26 11:27:01 +00:00
Igor Nikonov
dd5dc25e65 Remove unnecessary check 2024-04-26 11:26:05 +00:00
Nikita Mikhaylov
ab7aa8c1ee
Merge pull request #62429 from peter279k/improve_recipes_dataset_doc
Validating zip and fix query result in Recipes doc
2024-04-26 11:23:32 +00:00
Yarik Briukhovetskyi
eee6fa4242
cosmetic fixes, comments for tests, user hints fixes 2024-04-26 13:19:22 +02:00
Nikita Mikhaylov
cc58408d9a
Merge branch 'master' into docs/adds-connectionId-function 2024-04-26 13:17:47 +02:00
Nikita Mikhaylov
5901f94f4d Add connectionId to spell dictionary 2024-04-26 13:16:50 +02:00
Nikita Mikhaylov
44c05dde02
Merge pull request #62810 from ClickHouse/docs-add-final-keyword-examples
[Docs] Add examples for FINAL
2024-04-26 11:11:16 +00:00
Nikita Mikhaylov
61df569c9a
Merge pull request #62416 from Blargian/document_regionXYZ
[Docs] add regionXYZ functions
2024-04-26 11:08:54 +00:00
Raúl Marín
529a7f5169 Add test for #42769 2024-04-26 13:07:51 +02:00
Nikita Mikhaylov
ea41ba2640
Merge pull request #62838 from Blargian/document_roundXYZ
[Docs] update roundXYZ
2024-04-26 11:07:09 +00:00
Nikita Mikhaylov
d17bed359f
Merge pull request #63018 from realyota/operation-tips-huge-pages-typo
Fix a typo in operation tips transparent huge pages
2024-04-26 11:07:01 +00:00
robot-clickhouse
a1471abdcd Automatic style fix 2024-04-26 10:52:57 +00:00
Max Kainov
a45ad73544 CI: fix ci config to run FT in MQ 2024-04-26 10:48:00 +00:00
Duc Canh Le
41351222e7 Merge branch 'master' into rocksdb_bypass_memtable
Resolve conflicts

Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-04-26 10:47:49 +00:00
Nikita Mikhaylov
0643076ec4 Bump 2024-04-26 12:24:57 +02:00
Raúl Marín
2cbc6dd0f8
Merge pull request #63016 from dilet6298/patch-1
Update CHANGELOG.md
2024-04-26 10:22:12 +00:00
Robert Schulze
c68a96eec3
Cosmetics, pt. III 2024-04-26 10:21:44 +00:00
Kseniia Sumarokova
75bbb67069
Merge pull request #62842 from ClickHouse/fix-check-in-http-handler
Allow quota key with different auth scheme in HTTPHandler
2024-04-26 10:21:02 +00:00
Kseniia Sumarokova
ce5ea3b05a
Merge pull request #62925 from ClickHouse/fix-temporary-data-in-cache-base-directory-creation
Fix temporary data in cache incorrectly processing failure of cache key directory creation
2024-04-26 10:17:45 +00:00
Kseniia Sumarokova
ebbc1b0d1d
Merge pull request #62998 from ClickHouse/temporary-data-in-cache-fix-abort
Fix terminate with uncaught exception in temporary data in cache
2024-04-26 10:15:20 +00:00
Robert Schulze
c3be6728c8
Cosmetics, pt. II 2024-04-26 10:12:16 +00:00
Robert Schulze
218591ee4a
Cosmetics 2024-04-26 10:04:29 +00:00
Max K
13fb9e6b8a
Merge pull request #62963 from ClickHouse/revert-62927-revert-62588-ci_fast_t_in_mq
Reapply: CI add FT to MQ remove Style from master
2024-04-26 10:02:20 +00:00
Maciej Bak
c4965eda63 Fix a typo in operation tips transparent huge pages 2024-04-26 11:05:38 +02:00
dilet6298
5a3f8461c8
Update CHANGELOG.md
Fixing some typo's that I saw while reading the most recent version
2024-04-26 11:38:37 +03:00
Mikhail f. Shiryaev
0d153094d5
Merge pull request #63014 from ClickHouse/auto/v23.8.13.25-lts
Update version_date.tsv and changelogs after v23.8.13.25-lts
2024-04-26 08:31:19 +00:00
Smita Kulkarni
3ace11f92d Merge branch 'master' into Azure_write_buffer_parallel_upload 2024-04-26 10:27:41 +02:00
Max Kainov
6866382326 minor update for MCheck in the MQ 2024-04-26 08:25:25 +00:00
Mikhail f. Shiryaev
c3745f603e
Merge pull request #62886 from ilejn/kerberized_hadoop_dockerfile
Build kererberized_hadoop image by downloading commons-daemon via https
2024-04-26 08:10:04 +00:00
robot-clickhouse
3a4e1e4b96 Update version_date.tsv and changelogs after v23.8.13.25-lts 2024-04-26 07:56:18 +00:00
Nikita Mikhaylov
0c8775ac73
Merge pull request #62502 from Blargian/document_flattenTuple
[Docs] add missing `flattenTuple` function
2024-04-25 23:17:51 +00:00
Nikita Mikhaylov
a3e746c438 Fix style 2024-04-25 20:17:20 +00:00
Nikita Mikhaylov
a8683a8bd5 Remove the setting from tests 2024-04-25 22:13:14 +02:00
Nikita Mikhaylov
8e63946b6d Fix clang-tidy 2024-04-25 19:57:29 +00:00
Raúl Marín
09ff42de0f Remove optimize_monotonous_functions_in_order_by 2024-04-25 21:46:15 +02:00
Raúl Marín
052713db3b Fix order and reference files 2024-04-25 21:14:40 +02:00
Raúl Marín
93be6c4a2a Merge remote-tracking branch 'blessed/master' into optimize_rewrite_sum_if_to_count_if 2024-04-25 20:38:48 +02:00