Commit Graph

108728 Commits

Author SHA1 Message Date
Azat Khuzhin
6db867b03d Fix 02049_clickhouse_local_merge_tree flakiness
Likely if \4 is sent before replxx spawns the interactive prompt it
will not be handled:

    send: sending "\u0004" to { exp4 }
    0 rows in set. Elapsed: 0.001 sec.

    [1Gce90d76fd35f :)
    [1Gce90d76fd35f :) expect: timed out
    , result:

So let's use plain "exit" instead.

CI: https://s3.amazonaws.com/clickhouse-test-reports/46779/fa3aeb6ff9c9409416c983151da73c6b8a2c5d66/stateless_tests_flaky_check__asan_/run.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 11:24:31 +01:00
Azat Khuzhin
80a31ce652 Fix possible flakiness of 02132_client_history_navigation
It is possible to match some escape sequence as "2":

    send: sending "\r" to { exp4 }

    expect: does "\u001b[0m\u001b[J\u001b[29G" (spawn_id exp4) match glob pattern "2"? yes
    expect: set expect_out(0,string) "2"
    expect: set expect_out(spawn_id) "exp4"
    expect: set expect_out(buffer) "\u001b[0m\u001b[J\u001b[2"
    send: sending "exit\r" to { exp4 }
    [21GSELECT 2[0m[J[29G
    exit
    [1G:-] [5Gexit[0m[J[9G

    [1mSELECT[0m 2[1m AS [0;32mexit[0m

    Query id: 1105a048-79c8-4429-8452-b6f9c9c720f7

    ┌─[1mexit[0m─┐
    │    2 │
    └──────┘

CI: https://s3.amazonaws.com/clickhouse-test-reports/46779/fa3aeb6ff9c9409416c983151da73c6b8a2c5d66/stateless_tests_flaky_check__asan_/run.log
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-24 11:18:12 +01:00
Azat Khuzhin
fa3aeb6ff9 Fix 02105_backslash_letter_commands
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 20:06:36 +01:00
Azat Khuzhin
d162c285e6 Fix 02164_clickhouse_local_interactive_exception
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 17:24:50 +01:00
Azat Khuzhin
3d3f511cb4 Add style check for expect_after in tests
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 15:27:11 +01:00
Azat Khuzhin
a3b3e2dcc1 Fix timeout for expect tests by fixing expect_after timeout
By default expect matches patterns against output from the current
process, however if you don't have stdin attached (like the case for
CI), you will not have anything to check against, hence "timeout" simply
does not work.

Likely expect has $any_spawn_id (another option is to put expect_after
after spawn).

v2: use $any_spawn_id
Refs: https://github.com/ClickHouse/ClickHouse/pull/43819
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 15:02:19 +01:00
Alexander Tokmakov
6b682d935f
Merge pull request #46636 from azat/data-after-semicolon-fix
Fix 01179_insert_values_semicolon test
2023-02-23 16:59:23 +03:00
Kruglov Pavel
cec282d3e6
Merge pull request #46725 from azat/input_format_null_as_default-improvement
Handle input_format_null_as_default for nested types
2023-02-23 14:55:05 +01:00
Kruglov Pavel
35887911e3
Merge pull request #46284 from Avogar/null-as-default-all-formats
Extend setting `input_format_null_as_default` for more formats
2023-02-23 14:48:22 +01:00
Yakov Olkhovskiy
71afa8d187
Merge pull request #46747 from ClickHouse/ip-bloom-t64
T64 codec support for IPv4
2023-02-23 08:34:34 -05:00
Azat Khuzhin
b8b6d597ae
Avoid OOM in perf tests (#46641)
* Avoid OOM in perf tests

At some point perf tests started to fail for one setup on CI [1]:

    /home/ubuntu/actions-runner/_work/_temp/f8fce7b1-8bc4-49c8-a203-c96867f4420a.sh: line 5: 1882659 Killed                  python3 performance_comparison_check.py "$CHECK_NAME"
    Error: Process completed with exit code 137.

  [1]: https://github.com/ClickHouse/ClickHouse/actions/runs/4230936986/jobs/7349818625

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

* Switch perf tests to ubuntu 22.04 for parallel with --memsuspend

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>

---------

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-23 14:05:18 +01:00
Kruglov Pavel
f933b6da24
Merge pull request #46645 from ClickHouse/Avogar-patch-1
Fix flaky test 01710_normal_projections
2023-02-23 13:51:57 +01:00
Robert Schulze
b88c56134c
Merge pull request #46764 from ClickHouse/tylerhannan-patch-1
removing dated event
2023-02-23 13:36:44 +01:00
Nikolai Kochetov
dbfa641c47
Merge pull request #46621 from ClickHouse/resurrect-processors-profile-log-docs
Resurrect processors_profile_log docs.
2023-02-23 13:09:35 +01:00
Kseniia Sumarokova
7e064ccbd4
Merge pull request #46667 from kssenii/hide-named-collections-under-setting
Allow to hide only values from system.named_collections while making collection visible
2023-02-23 11:44:50 +01:00
Kseniia Sumarokova
30a8eb0c2f
Merge pull request #46670 from kssenii/hide-disk-setting
Hide arguments of custom disk merge tree setting
2023-02-23 11:42:53 +01:00
Robert Schulze
d2cd249422
Merge pull request #46728 from ClickHouse/rs/poco-have-int64
Poco: POCO_HAVE_INT64 is always defined
2023-02-23 11:02:43 +01:00
Tyler Hannan
9054eb49ec
removing dated event 2023-02-23 10:06:18 +01:00
Alexey Milovidov
0db943e596
Merge pull request #46687 from ClickHouse/tavplubix-patch-5
Disable flaky test_ttl_move_memory_usage.py
2023-02-23 10:27:25 +03:00
Alexey Milovidov
c0bc549e77
Merge pull request #46709 from azat/bg-pool-no-query
BackgroundSchedulePool should not have any query context
2023-02-23 10:24:46 +03:00
Alexey Milovidov
134e50ddc4
Merge branch 'master' into input_format_null_as_default-improvement 2023-02-23 10:23:06 +03:00
Alexey Milovidov
4de5399768
Merge pull request #46727 from ClickHouse/Avogar-patch-2
Better exception message during Tuple JSON deserialization
2023-02-23 10:13:18 +03:00
Alexey Milovidov
e1f4303516
Merge pull request #46760 from ClickHouse/changelog-23.2
Add changelog for 23.2
2023-02-23 10:03:05 +03:00
Alexey Milovidov
cabb8fb81b Add changelog for 23.2 2023-02-23 08:02:37 +01:00
Alexey Milovidov
cb2ec24ea9 Add changelog for 23.2 2023-02-23 08:02:14 +01:00
Alexey Milovidov
f2509ba9c6 Add changelog for 23.2 2023-02-23 08:00:17 +01:00
Alexey Milovidov
7d837eea86
Update FieldFromAST.cpp 2023-02-23 08:15:14 +03:00
Alexey Milovidov
164c0c9927
Merge pull request #46730 from ClickHouse/evillique-patch-1
Ask for the password in clickhouse-client interactively
2023-02-23 08:05:08 +03:00
Alexey Milovidov
e3f24b2b68
Merge pull request #46744 from ClickHouse/remove_unused_field
Remove unused MergeTreeReadTask::remove_prewhere_column
2023-02-23 08:02:54 +03:00
robot-clickhouse-ci-2
e3e5d83f96
Merge pull request #46745 from ClickHouse/Avogar-patch-3
Update docs about format table function
2023-02-22 23:40:10 +01:00
Igor Nikonov
271b72abf4
Merge pull request #46642 from ClickHouse/remove_redundant_sorting_fix
Fix: remove redundant sorting optimization
2023-02-22 23:33:15 +01:00
Alexey Milovidov
5154b04cfb
Merge pull request #46732 from ClickHouse/fix-sonarcloud-job
Fix SonarCloud Job
2023-02-23 00:31:54 +03:00
Yakov Olkhovskiy
fadbeb8ebd T64 codec support for IPv4 2023-02-22 19:25:48 +00:00
Kruglov Pavel
0e7143070e
Update docs about format table function 2023-02-22 17:51:29 +01:00
Alexander Gololobov
67dcd9694c Remove unused MergeTreeReadTask::remove_prewhere_column 2023-02-22 17:49:22 +01:00
Julio Jimenez
d0bd8877ce
Merge branch 'master' into fix-sonarcloud-job 2023-02-22 11:41:24 -05:00
Nikolay Degterinsky
af992ca2db
Better 2023-02-22 16:51:36 +01:00
pufit
8e7533fa57
Merge pull request #46564 from AVMusorin/update-time-distribution-queue
Added `last_exception_time` column into distribution_queue table
2023-02-22 10:43:35 -05:00
Julio Jimenez
4f31e59dcd
Fix SonarCloud Job
Signed-off-by: Julio Jimenez <julio@clickhouse.com>
2023-02-22 10:34:27 -05:00
Nikolay Degterinsky
cdbff57e6c
Ask for password interactively 2023-02-22 15:58:06 +01:00
Alexander Gololobov
b0427c2e3c
Merge pull request #46660 from ClickHouse/fix_backup_test
Fix integration test: terminate old version without wait
2023-02-22 15:20:26 +01:00
Azat Khuzhin
9ab4944b9e Handle input_format_null_as_default for nested types
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-22 15:15:52 +01:00
Antonio Andelic
7f5fb77ed5
Increase table retries in cluster copier tests (#46590) 2023-02-22 15:09:48 +01:00
Kseniia Sumarokova
bec094cd79
Merge pull request #46712 from kssenii/add-iceberg-doc
Add iceberg engine doc
2023-02-22 14:49:03 +01:00
Robert Schulze
4fd4e77737
Poco: POCO_HAVE_INT64 is always defined 2023-02-22 13:48:29 +00:00
Kruglov Pavel
e433ecc18f
Better exception message during Tuple JSON deserialization 2023-02-22 14:37:55 +01:00
kssenii
c4761d6cc6 Fix checks 2023-02-22 14:27:43 +01:00
kssenii
bac464f89b Fix 2023-02-22 14:25:08 +01:00
Robert Schulze
9d116e6f5c
Merge pull request #46710 from ClickHouse/rs/bump-clang
Bump minimum required Clang from 12 to 15
2023-02-22 13:38:21 +01:00
Kruglov Pavel
3ba3fdbfa3
Merge pull request #46607 from kssenii/delay-loading-of-named-collections
Do not load named collections on server startup (on first access instead)
2023-02-22 13:22:34 +01:00