Commit Graph

50883 Commits

Author SHA1 Message Date
Alexander Kuzmenkov
99ee127620 Support SETTINGS clause for File engine
Accept the usual user settings related to file formats.

Most of the diff are the mechanistic code changes required to allow
providing the required FormatSettings to the format factory. The File
engine then extracts these settings from the `CREATE` query, and specifies
them when creating the format parser.
2020-11-02 10:50:38 +03:00
alesapin
101aa9e931 Merge branch 'master' into no_background_pool_no_more 2020-11-02 10:49:19 +03:00
alesapin
432274a580
Merge pull request #16428 from ClickHouse/system_fetches_table
System replicated_fetches table
2020-11-02 10:34:38 +03:00
Alexander Kuzmenkov
dc5fc9ddcb
Merge pull request #16556 from ClickHouse/aku/perf-after-numa
Adjust perf test thresholds after NUMA binding
2020-11-02 09:40:11 +03:00
alexey-milovidov
780c6db90a
Merge pull request #16590 from ClickHouse/dependabot/pip/docs/tools/tornado-6.1
Bump tornado from 5.1.1 to 6.1 in /docs/tools
2020-11-02 09:28:38 +03:00
dependabot-preview[bot]
af76657855
Bump tornado from 5.1.1 to 6.1 in /docs/tools
Bumps [tornado](https://github.com/tornadoweb/tornado) from 5.1.1 to 6.1.
- [Release notes](https://github.com/tornadoweb/tornado/releases)
- [Changelog](https://github.com/tornadoweb/tornado/blob/master/docs/releases.rst)
- [Commits](https://github.com/tornadoweb/tornado/compare/v5.1.1...v6.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 06:10:24 +00:00
Amos Bird
13fee19778
Allow parameterized functions in APPLY 2020-11-02 11:10:20 +08:00
Alexander Tokmakov
33fa54cce6 better scheduling of drop table task 2020-11-01 20:37:54 +03:00
Denny Crane
de3f88c3fd
Update architecture.md 2020-11-01 12:17:17 -04:00
Denis Zhuravlev
4adef402e6 Doc/multiple_leaders 2020-11-01 12:14:25 -04:00
Dmitriy
08e523d5de Update settings.md
Добавил описание настройки max_concurrent_queries_for_all_users.
2020-11-01 17:58:37 +03:00
Amos Bird
643ee05288
add integration test 2020-11-01 16:02:09 +08:00
Azat Khuzhin
5363c62fc5 Fix overflow check in ErrorCodes 2020-11-01 09:00:19 +03:00
Dmitriy
1c03dc0586 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into master 2020-11-01 00:42:20 +03:00
Anna Shakhova
90dcc135b4
DOCSUP-3199: Support default arguments for Replicated engine (#16282)
* Init commit

* Fixed

* Fixed

* Fixed
2020-10-31 23:26:14 +03:00
Dmitriy
73cfe76c49 Update order-by.md
Удалил изменения.
2020-10-31 20:16:49 +03:00
Amos Bird
2a747ce5af
Allow WITH subqueries to take effect immediately 2020-11-01 00:02:52 +08:00
alesapin
ae53092536 Merge branch 'master' into system_fetches_table 2020-10-31 18:45:17 +03:00
Dmitriy
8b64d7be56 Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into master 2020-10-31 16:56:30 +03:00
Jacob Hayes
c9ad4e8d96 Add farmFingerprint64 docs 2020-10-31 09:04:18 -04:00
Jacob Hayes
2aa0362765 Add farmFingerprint64 function 2020-10-31 08:45:53 -04:00
tavplubix
cb139203b7
Merge pull request #16504 from TCeason/shrink_gtid_set
Shrink sequence gtid set
2020-10-31 15:12:35 +03:00
tavplubix
17ecafe452
Update MySQLGtid.h 2020-10-31 14:43:46 +03:00
tavplubix
8631b31ae0
Update MySQLGtid.cpp 2020-10-31 14:43:24 +03:00
tavplubix
db146ee615
Merge pull request #16555 from ClickHouse/yet_another_fix_for_00993
Better logging in replication queue, fix flacky test
2020-10-31 14:38:15 +03:00
Azat Khuzhin
d466d147e6 Add 01548_query_log_query_execution_ms into arcadia_skip_list
In attempt to fix "Yandex synchronization check (only for Yandex employees)"
2020-10-31 14:20:27 +03:00
Azat Khuzhin
c8f756707f Swap name and value in ErrorCodes definition 2020-10-31 11:32:44 +03:00
Azat Khuzhin
e07473f1ea Update comment for StorageSystemErrors 2020-10-31 11:29:17 +03:00
Azat Khuzhin
fff6b5549e Hide getCurrentTimeNanoseconds() to avoid possible errors
To avoid further errors like in:
- c0e15ba348 ("Fix RealTimeMicroseconds ProfileEvents")
- c856d02e0f4a519cd2a29ffbe1135196de0bc65a ("Fix query_thread_log.query_duration_ms unit")
2020-10-31 11:15:27 +03:00
Azat Khuzhin
3b188921dd Fix query_thread_log.query_duration_ms unit
There is a similar problem as in [1], the problem is that
getCurrentTimeNanoseconds() returns time using CLOCK_MONOTONIC.

  [1]: c0e15ba348 ("Fix RealTimeMicroseconds ProfileEvents")
2020-10-31 11:15:27 +03:00
alexey-milovidov
15a342e5e1
Merge pull request #16541 from ucasFL/parse-null
fix parseDateTimeBestEffortOrNull with empty string
2020-10-31 06:38:51 +03:00
alexey-milovidov
4b3c99530f
Merge pull request #16561 from azat/01541_max_memory_usage_for_user-flacky
Fix 01541_max_memory_usage_for_user flackiness
2020-10-31 06:38:25 +03:00
alexey-milovidov
022648a154
Merge pull request #16558 from azat/query_thread_log_current_database
Add current_database into query_thread_log
2020-10-31 06:36:10 +03:00
Azat Khuzhin
067a3f9814 Fix 01541_max_memory_usage_for_user flackiness 2020-10-31 01:26:07 +03:00
Azat Khuzhin
ccddf5e9cf Add 01547_query_log_current_database into arcadia_skip_list
In attempt to fix "Yandex synchronization check (only for Yandex employees)"
2020-10-30 22:56:11 +03:00
alesapin
94ae5aed73
Merge pull request #16550 from ClickHouse/remove_wrong_assertion
Remove wrong assertion from SSDComplexKeyCacheDictionary
2020-10-30 22:45:48 +03:00
Azat Khuzhin
831208e2cf Log the difference between process RSS and MemoryTracking metric 2020-10-30 22:02:02 +03:00
Azat Khuzhin
2832255164 Increase asynchronous_metrics_update_period_s to avoid syncing MemoryTracking with RSS 2020-10-30 22:02:02 +03:00
Ivan
9828ed9550
Update utils/make_changelog.py
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2020-10-30 21:16:50 +03:00
Azat Khuzhin
5bab7a5bc7 Add current_database into query_thread_log 2020-10-30 21:16:10 +03:00
myrrc
19fcea88f2 fixing gcc build err 2020-10-30 21:13:57 +03:00
myrrc
06ae95a10a fixing nan values for functions 2020-10-30 21:08:33 +03:00
ana-uvarova
1b60d1156c MICRO back 2020-10-30 21:06:29 +03:00
Alexander Kuzmenkov
e15a8d5ac0 fixup 2020-10-30 21:03:07 +03:00
Ivan Lezhankin
5481fcdf42 Fix script 2020-10-30 20:56:14 +03:00
olgarev
49d3b65cc2
DOCSUP-3537: Documented the output_format_pretty_row_numbers setting (#16446)
* Docs en, ru

* Update docs/en/operations/settings/settings.md

Co-authored-by: BayoNet <da-daos@yandex.ru>

* Docs for allow_experimental_bigint_types translated to Russian.

Co-authored-by: Olga Revyakina <revolg@yandex-team.ru>
Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-30 20:25:05 +03:00
myrrc
7d6f48263e Merge remote-tracking branch 'upstream/master' into improvement/diff-types-in-avg-weighted 2020-10-30 20:17:54 +03:00
myrrc
c24ffc72c7 fixed some other tests 2020-10-30 19:35:55 +03:00
myrrc
b3379e9cf0 fixed some wrong tests, updated docs 2020-10-30 19:17:57 +03:00
Alexander Kuzmenkov
7e76b7b510 more fixes 2020-10-30 18:54:38 +03:00