Commit Graph

109159 Commits

Author SHA1 Message Date
Kruglov Pavel
e9078b402b
Merge pull request #46742 from Avogar/update-settings
Enable input_format_json_ignore_unknown_keys_in_named_tuple by default
2023-02-27 14:30:28 +01:00
robot-ch-test-poll4
49d5da5afe
Merge pull request #46961 from melvynator/patch-10
Fix example from the doc
2023-02-27 14:29:46 +01:00
robot-clickhouse
463dbdc838 Update version_date.tsv and changelogs after v22.3.19.6-lts 2023-02-27 13:29:21 +00:00
avogar
014a9c7961 Fix lib file 2023-02-27 13:25:28 +00:00
Mikhail f. Shiryaev
5b6e581c1a
Preset description on the tweak reset 2023-02-27 14:20:34 +01:00
avogar
3411c33fdf Merge branch 'master' of github.com:ClickHouse/ClickHouse into split-bc-check 2023-02-27 13:12:35 +00:00
Peignon Melvyn
8fe08bc458
Add a warning to the schema_inference_hints 2023-02-27 14:02:10 +01:00
Boris Kuschel
891cb1e225 Update src/CMakeLists.txt
Co-authored-by: Yakov Olkhovskiy <99031427+yakov-olkhovskiy@users.noreply.github.com>
2023-02-27 08:01:15 -05:00
bkuschel
97fc091b1f Fix link order for gnu ld 2023-02-27 08:01:15 -05:00
bkuschel
77607ba0d4 Fix setenv string call 2023-02-27 08:01:15 -05:00
Peignon Melvyn
7c5bd4a5f1
Update schema-inference.md 2023-02-27 13:53:44 +01:00
Peignon Melvyn
e680cd7b12
Update schema-inference.md
Fixed the example
2023-02-27 13:48:54 +01:00
Mikhail f. Shiryaev
c74296e399
Merge pull request #46959 from ClickHouse/fix-format-description
Fix missing format_description
2023-02-27 13:20:02 +01:00
Mikhail f. Shiryaev
cb460c6903
Fix missing format_description 2023-02-27 13:11:17 +01:00
Robert Schulze
3880ac97af
Merge pull request #46875 from ClickHouse/rs/fix-incorrect-LIKE-to-substring-search-translation
Fix wrong results of some LIKE searches when the LIKE pattern contains quoted non-quotable characters
2023-02-27 12:34:07 +01:00
Nikolay Degterinsky
10c04d5a38
Fix clone() for ASTColumnMatchers 2023-02-27 12:26:36 +01:00
Vladimir C
77e5b8272d
Merge pull request #46928 from juunone/patch-1 2023-02-27 12:21:40 +01:00
Sema Checherinda
29a0d766a0
Merge pull request #46886 from azat/async-metrics-intervals
Add new metrics to system.asynchronous_metrics
2023-02-27 11:25:38 +01:00
Vladimir C
6a4d0849f6
Merge pull request #46841 from azat/url-functions-fixes 2023-02-27 11:16:25 +01:00
Robert Schulze
4c9b9b362c
Replace dynamic_cast by typeid_cast 2023-02-27 10:01:21 +00:00
Robert Schulze
22d09caea2
SIZES_OF_ARRAYS_DOESN_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH 2023-02-27 08:31:40 +00:00
Robert Schulze
edde5e591f
Merge pull request #46939 from ClickHouse/rs/doc-update
Docs: Update sidebar entries
2023-02-27 09:20:58 +01:00
Robert Schulze
e153aae54e
Capitalize "Map" in heading 2023-02-27 08:15:04 +00:00
Robert Schulze
86dd9b9855
Docs: Sidebar: Remove leading "For" from "Searching/Replacing in Strings" 2023-02-27 08:13:24 +00:00
Robert Schulze
d32a3035fe
Docs: Sidebar entry "Working with maps" --> Maps 2023-02-27 08:10:19 +00:00
Alexey Milovidov
3f55782d5f
Merge pull request #46781 from ClickHouse/lazy-mergeable
Reduce updates of Mergeable Check
2023-02-27 09:14:33 +03:00
Alexey Milovidov
eb8cb4b4e2
Merge pull request #46920 from ClickHouse/45072_Increase_ddl_timeout_backup_restore_tests
Increase ddl timeout for DROP statement in backup restore tests
2023-02-27 09:11:43 +03:00
Alexey Milovidov
44f9688fa4
Merge pull request #45607 from chhetripradeep/pchhetri/add-grace-hash-stress
Add join_algorithm='grace_hash' to stress tests
2023-02-27 08:32:03 +03:00
Alexey Milovidov
a27e7460fc
Merge pull request #45480 from chhetripradeep/pchhetri/fix-query-in-stress
Fix query in stress script
2023-02-27 08:26:47 +03:00
jun won
458c711799
docs: fixed Moving Sliding Average (per 10 days) query typo
fixed Moving Sliding Average (per 10 days) query typo
2023-02-27 14:04:19 +09:00
Alexey Milovidov
cf4abcd988
Merge pull request #46915 from azat/tests/expect-fasttest
Fix some expect tests leftovers and enable them in fasttest
2023-02-27 07:34:29 +03:00
Pradeep Chhetri
389803ca62
Merge branch 'master' into pchhetri/fix-query-in-stress 2023-02-27 11:27:16 +08:00
Pradeep Chhetri
c8dcea9539
Merge branch 'master' into pchhetri/add-grace-hash-stress 2023-02-27 11:26:48 +08:00
Alexey Milovidov
a649311fa1
Merge pull request #46922 from ClickHouse/review-tavplubix
Code review from @tavplubix
2023-02-27 05:15:43 +03:00
Nikolay Degterinsky
a4434a3125
Merge pull request #46924 from den-crane/patch-65
Doc. asterisk_include_materialized_columns / asterisk_include_alias_columns
2023-02-27 01:49:37 +01:00
Denny Crane
fd97f7ad0a
Update settings.md 2023-02-26 19:25:13 -04:00
Alexey Milovidov
e047646c6b
Merge pull request #46917 from ClickHouse/rs/better-syntaxexception
Make SyntaxExceptions easier to understand
2023-02-27 01:01:32 +03:00
Alexey Milovidov
c32f579d67 Review from @tavplubix 2023-02-26 22:58:40 +01:00
Robert Schulze
cc0c0c6133
A better alternative to #46344
The (experimental) inverted index writes/reads files different from the
standard files written by the other skip indexes. The original problem
was that with database engine "ordinary", DROP TABLE of a table with
inverted index finds unknown files in persistence and complains. The
same will happen with engine "atomic" but deferred. As a hotfix, the
error was silenced by explicitly adding the four files created in a
specific test to the deletion code.

This PR tries a cleaner solution where all needed files are provided via
the normal checksum structure. One drawback remains which is that the
affected files were written earlier and we don't have their checksums
available. Therefore, the inverted index is currently excluded from
CHECK TABLE.

Minimal repro:
  SET allow_experimental_inverted_index = 1;
  DROP TABLE IF EXISTS tab;
  CREATE TABLE tab(s String, INDEX af(s) TYPE inverted(2)) ENGINE = MergeTree() ORDER BY s;
  INSERT INTO tab VALUES ('Alick a01');
  CHECK TABLE tab;
  DROP TABLE IF EXISTS tab;

  run ./clickhouse-test with --db-engine Ordinary
2023-02-26 21:06:38 +00:00
Alexey Milovidov
73aec86f5a Change exception message 2023-02-26 21:36:26 +01:00
Alexey Milovidov
1afbf49a63
Merge pull request #46832 from HarryLeeIBM/hlee-s390x-xz
Fix http xz compression issue for s390x
2023-02-26 22:31:57 +03:00
Alexey Milovidov
df5c7c98e6
Merge pull request #46897 from ClickHouse/fix-fill-empty-block
Fix - WITH FILL would produce abort when FillingTransform processing empty block
2023-02-26 22:30:50 +03:00
Robert Schulze
db3fbc871c
Merge pull request #46803 from ClickHouse/rs/cmake-too-old-arm
CMake: Add best effort checks that the build machine isn't too old
2023-02-26 20:28:53 +01:00
Robert Schulze
61706dfa53
Merge pull request #46869 from ClickHouse/rs/like-with-trailing-percentage
Small optimization of LIKE patterns with > 1 trailing %
2023-02-26 20:14:21 +01:00
robot-clickhouse
5f7220e498 Automatic style fix 2023-02-26 18:15:55 +00:00
Smita Kulkarni
4c5d39725c Updated node to check BACKUP_CREATED to node1 in test_concurrent_backups_on_different_nodes 2023-02-26 19:08:26 +01:00
Smita Kulkarni
10c92b6cb0 Increased ddl timeout during DROP of table and updated node for concurrent backups on different node 2023-02-26 19:06:31 +01:00
Azat Khuzhin
92dde41e2a Fix 01180_client_syntax_errors flakiness
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-26 18:27:51 +01:00
Azat Khuzhin
e83efb590b Fix few more expect tests
- remove helpers to simplify them
- use CLICKHOUSE_TMP for uniq name [1]
  [1]: https://s3.amazonaws.com/clickhouse-test-reports/46915/c8c8d4b42f277f223ae2a866389b35a9bc58e876/stateless_tests__aarch64_/run.log
- use more unique string to make this test really test something

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-02-26 16:48:36 +01:00
Robert Schulze
b20ac16d08
Slightly easier to read SyntaxExceptions
E.g. exception text for input '2 ':

- before:
  Syntax error: Not a valid integer: 2

- now:
  Syntax error: Not a valid integer: '2 '
2023-02-26 15:17:28 +00:00