Commit Graph

75886 Commits

Author SHA1 Message Date
Kseniia Sumarokova
fba0e11cff
Merge pull request #29471 from lingtaolf/feature/fucntion-mapContainsKeyLike
New function `mapContainsKeyLike`
2021-10-28 09:21:51 +03:00
Alexey Milovidov
8b4a6a2416 Remove cruft 2021-10-28 02:10:39 +03:00
Kseniia Sumarokova
afc0b2068c
Update Settings.h 2021-10-28 01:04:16 +03:00
alexey-milovidov
fab8da1c64
Merge pull request #30722 from ucasfl/filelog-engine
remove some unneeded header files
2021-10-27 23:35:03 +03:00
Azat Khuzhin
9eef2ad0c2 perf: reduce number of times the query will run
Before this patch:

- upstream/master and PR's *with* perf tests or pef scripts changes:
  --runs=13 --max-queries=0

- PRs *without* perf changes:
  --runs=7 --max-queries=20

- PRs w/ only perf tests changes:
  --runs-13 --max-queries=0 <list of perf tests>

After:

- upstream/master and PR's *with* perf tests changes:
  --runs=13 --max-queries=0

- PRs *without* perf changes:
  --runs=7 --max-queries=10

- PRs w/ only perf tests changes:
  --runs-13 --max-queries=0 <list of perf tests>

So to underline, now we will not look at perf scripts changes anymore,
and we will also decrease number of random queries to run to 10.
2021-10-27 23:20:51 +03:00
Azat Khuzhin
7957079f95 perf: disable query/memory profiling for non prewarm queries 2021-10-27 23:20:51 +03:00
Azat Khuzhin
190459db33 perf: add queries with errors during process too to the perf artifacts
Sometimes queries fails with timeout, and you will not get any perf
metrics for it before this patch.

Example: https://clickhouse-test-reports.s3.yandex.net/30611/5ff6c5536558821824d5fdf25a75729e5b82060d/performance_comparison/report.html#partial-queries.flat_dictionary.5
2021-10-27 23:20:51 +03:00
Azat Khuzhin
722d528218 perf: pin clickhouse-driver to 0.2.1 for tzlocal <0.3 to avoid warning
CI report [1]:

    /usr/local/lib/python3.6/dist-packages/clickhouse_driver/columns/datetimecolumn.py:199: PytzUsageWarning: The zone attribute is specific to pytz's interface; please migrate to a new time zone provider. For more details on how to do so, see https://pytz-deprecation-shim.readthedocs.io/en/latest/migration.html

  [1]: https://clickhouse-test-reports.s3.yandex.net/30626/dfc85841134aa96b4e04c401462898eb305e8657/performance_comparison/report.html#changes-in-performance.format_date_time.1
2021-10-27 23:20:51 +03:00
kssenii
9461e225bb Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read 2021-10-27 22:47:47 +03:00
Anton Popov
2bb586bed3
Merge pull request #30541 from gyuton/gyuton-DOCSUP-14941-Document-asynchronous-insert-mode
DOCSUP-14941-Document-asynchronous-inserts
2021-10-27 20:25:17 +03:00
Vitaly Baranov
697776186a
Merge pull request #30725 from azat/fix-gtest_disk_encrypted
Fix gtest_disk_encrypted (for new readFile/createReadBufferFromFileBase() interfaces)
2021-10-27 19:49:23 +03:00
Kseniia Sumarokova
18dc17f9c7
Update 01083_expressions_in_engine_arguments.sql 2021-10-27 18:52:52 +03:00
Maksim Kita
d6c0cde173 Updated UserDefinedSQLFunctionFactory 2021-10-27 18:49:18 +03:00
Maksim Kita
a332a4d15f
Merge pull request #30501 from kitaisreal/hashed-array-dictionary-optimize-read-multiple-attributes
HashedArrayDictionary optimize read multiple attributes
2021-10-27 18:45:07 +03:00
tavplubix
ac4a9bcf23
Fix 00975_move_partition_merge_tree (#30717)
* Revert "Fix race between MOVE PARTITION and merges/mutations for MergeTree"

This reverts commit e9ce859b02.

* fix

* Update StorageMergeTree.cpp

Co-authored-by: alesapin <alesapin@gmail.com>
2021-10-27 18:19:41 +03:00
alesapin
c3007e8aae Fix copy-paste errors 2021-10-27 16:51:13 +03:00
tavplubix
d07d53f1b1
Merge pull request #29328 from aiven/kmichel-recover-replica-race
Fix hanging DDL queries on Replicated database
2021-10-27 16:43:21 +03:00
tavplubix
d7c69f6c02
Merge pull request #29202 from aiven/kmichel-replicated-database-alter-attach
Allow non-replicated ALTER TABLE FETCH/ATTACH in Replicated databases
2021-10-27 16:42:54 +03:00
gyuton
527474da64 Fix wording 2021-10-27 16:21:50 +03:00
gyuton
456d548b6b
Apply suggestions from code review
Co-authored-by: Anton Popov <pad11rus@gmail.com>
2021-10-27 16:17:56 +03:00
Alexander Tokmakov
5e622d4c98 fix another issue 2021-10-27 15:59:26 +03:00
Kseniia Sumarokova
8f8423aecc
Update 01083_expressions_in_engine_arguments.sql 2021-10-27 15:04:15 +03:00
Kseniia Sumarokova
4d8f913af5
Update 01083_expressions_in_engine_arguments.sql 2021-10-27 15:00:16 +03:00
凌涛
996706101d optimized code 2021-10-27 19:53:53 +08:00
Maksim Kita
db18cb194c
Merge pull request #30736 from kitaisreal/dictionary-source-unknown-column-name-in-dictionary-fix
DictionarySource unknown column name in dictionary fix
2021-10-27 14:10:54 +03:00
tavplubix
7b66cc754e
Merge pull request #30723 from azat/fix-test_part_uuid
Fix test_part_uuid::test_part_uuid_wal
2021-10-27 14:08:28 +03:00
alesapin
57c30cdaca
Update functional_test_check.py 2021-10-27 13:23:18 +03:00
alesapin
cb61f0daf9
Update functional_test_check.py 2021-10-27 13:01:11 +03:00
alesapin
642c2486b4
Update functional_test_check.py 2021-10-27 12:58:21 +03:00
alesapin
9430f774d2
Merge pull request #30677 from ClickHouse/better_check_for_started_node 2021-10-27 12:51:13 +03:00
Kseniia Sumarokova
a2fd921465
Update 01083_expressions_in_engine_arguments.sql 2021-10-27 12:34:20 +03:00
Kseniia Sumarokova
b96bd7ee42
Update 01083_expressions_in_engine_arguments.sql 2021-10-27 12:29:43 +03:00
alexey-milovidov
9f9b4968d7
Merge pull request #30663 from ClickHouse/fix_five_years_old_bug
Fix case-insensetive search in UTF8 strings
2021-10-27 12:10:12 +03:00
Maksim Kita
9e5337b5d4 DictionarySource unknown column name in dictionary fix 2021-10-27 11:51:47 +03:00
alesapin
072d272448 Followup 2021-10-27 11:41:24 +03:00
alesapin
0b70edec9b
Merge pull request #30733 from azat/style-check-ci-scripts
Run pylint over python scripts for github actions
2021-10-27 11:36:43 +03:00
Maksim Kita
d523b28459 SQLUserDefinedFunctions support ON CLUSTER 2021-10-27 11:28:21 +03:00
Maksim Kita
fd002e327c Updated HashedArrayDictionary 2021-10-27 11:26:42 +03:00
alesapin
abdb45b159 Fix build downloader 2021-10-27 11:25:06 +03:00
alesapin
fc19a06a99
Merge pull request #30646 from ianton-ru/MDB-14537-2
Retry on Yandex.S3 throttle
2021-10-27 11:18:38 +03:00
alesapin
2af950d4d5
Merge pull request #30658 from ClickHouse/std_mutex_alter_lock
Change `alter_lock` from `RWLock` to `std::timed_mutex`
2021-10-27 11:14:11 +03:00
alesapin
ef3de97235 Fix repo copy 2021-10-27 11:05:16 +03:00
alesapin
f726bc0b8c Better checks 2021-10-27 11:02:30 +03:00
alesapin
a29711f1d0
Merge pull request #30651 from ClickHouse/fix_intersecting_parts_to_do
Fix intersecting parts in `parts_to_do`
2021-10-27 10:52:21 +03:00
Mátyás Jani
290bd317fb
Update documentation for TSVWithNames parsing
The documentation of the format TabSeparatedWithNames stated during parsing
the first row (header) is ignored. It is not true anymore, the header is parsed, and
the column position is determined from the header.
2021-10-27 09:49:54 +02:00
alesapin
8749f4a31a
Merge pull request #29043 from nvartolomei/nv/parts-uuid-move-shard-kill
Part movements between shards improvements and cancel support
2021-10-27 10:46:00 +03:00
alesapin
300c18d329 Fix 2021-10-27 10:27:11 +03:00
alesapin
f52ae7f678 Fix cmd 2021-10-27 10:24:44 +03:00
alesapin
9d087ae1c2 Add functional tests 2021-10-27 10:21:48 +03:00
alesapin
ce22666c2a
Merge pull request #30727 from azat/fix-docker_images_check
tests/ci/docker_images_check: add missing time import
2021-10-27 10:19:34 +03:00