Commit Graph

49405 Commits

Author SHA1 Message Date
alexey-milovidov
1d309c34c8
Merge pull request #15497 from filipecaixeta/master
Add an SQL function formatReadableTimeDelta to format time delta
2020-10-14 22:36:57 +03:00
Nikita Mikhaylov
57575a5a12
Merge pull request #15973 from nikitamikhaylov/db-gen-usability
db_generator command line arguments
2020-10-14 20:24:02 +03:00
Alexander Kuzmenkov
cb15e72229 make some perf tests slower 2020-10-14 18:39:27 +03:00
nikitamikhaylov
0cfb8b94cd better 2020-10-14 16:11:53 +03:00
nikitamikhaylov
c1fa34a9af done 2020-10-14 16:03:13 +03:00
Alexey Milovidov
298b321f4a Merge with master 2020-10-14 15:51:53 +03:00
Alexander Kuzmenkov
71a860dc8f
Merge pull request #15873 from den-crane/tests/14053_max_length_alias
test for a bug from #14053
2020-10-14 15:49:55 +03:00
Anna
580ecf4a66
DOCSUP-2964: Document the new format LineAsString (#15766)
* Add desc of format LineAsString

* Add example, translate to russian

* Update

* Fixed links

* Fixed links, updated the wording
2020-10-14 15:44:58 +03:00
Alexey Milovidov
87fe8f2a00 Merge branch 'master' into filipecaixeta-master 2020-10-14 15:27:58 +03:00
Anton Popov
7470ac98bb
Merge pull request #15855 from hexiaoting/dev_fetch
Add Support for OFFSET_FETCH_CLAUSE
2020-10-14 15:21:28 +03:00
AnaUvarova
b1cdcf2d31
DOCSUP-2018-formatDateTime_description_update: added two modificators into the table of supported modificators (#15614)
* Added two modificators into the table of supported modificators

* Clarified description of added modifiers and started to add info according to the template of function description

* fixed link

* fix link again

* edits

* Update docs/en/sql-reference/functions/date-time-functions.md

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

* Update docs/en/sql-reference/functions/date-time-functions.md

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

* Update docs/en/sql-reference/functions/date-time-functions.md

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

* comments from ticket

* +

* +

* polishing

* Update docs/en/sql-reference/functions/date-time-functions.md

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

* external link for understanding

* Перевод на русский

* Доработала русский перевод

* Причесала перевод

* Уточнение части перевода

* Шлифовка части перевода

Co-authored-by: BayoNet <da-daos@yandex.ru>
2020-10-14 14:33:23 +03:00
alexey-milovidov
f3655fb9eb
Merge pull request #15945 from azat/tests-lv-fix-flackiness
Fix flackiness of LIVE VIEW tests by increasing timeout for HTTPConnection
2020-10-14 14:13:40 +03:00
tavplubix
f7991f4073
Merge pull request #15961 from ClickHouse/revert-14295-write_structure_of_table_functions
Revert "Write structure of table functions to metadata"
2020-10-14 13:59:53 +03:00
tavplubix
c65d1e5c70
Revert "Write structure of table functions to metadata" 2020-10-14 13:59:29 +03:00
tavplubix
6a0249bf91
Merge pull request #15954 from zhang2014/fix/ISSUES-15265
ISSUES-15265 try fix crash when create database failure
2020-10-14 13:49:20 +03:00
alesapin
d51deaeecf Fix flaky 01509_parallel_quorum_insert_no_replicas 2020-10-14 10:49:50 +03:00
hexiaoting
2c72cdef44 Fix error for offset_fetch without only/with ties 2020-10-14 15:05:02 +08:00
zhang2014
a00bcbb8ba ISSUES-15265 try fix crash when create failure 2020-10-14 13:26:28 +08:00
alexey-milovidov
4a6adac5db
Merge pull request #15879 from azat/client-optimize-history-save-v2
Avoid creating separate replxx instance
2020-10-14 02:05:17 +03:00
Azat Khuzhin
628e2b472c Fix flackiness of LIVE VIEW tests by increasing timeout for HTTPConnection
Trace from [1]:

    2020-10-13 01:37:06 00966_live_view_watch_events_http:                                      [ FAIL ] - return code 1
    2020-10-13 01:37:06 Exception in thread Thread-2:
    2020-10-13 01:37:06 Traceback (most recent call last):
    2020-10-13 01:37:06   File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    2020-10-13 01:37:06     self.run()
    2020-10-13 01:37:06   File "/usr/lib/python3.7/threading.py", line 870, in run
    2020-10-13 01:37:06     self._target(*self._args, **self._kwargs)
    2020-10-13 01:37:06   File "/usr/share/clickhouse-test/queries/0_stateless/helpers/httpexpect.py", line 48, in reader
    2020-10-13 01:37:06     data = response.read(1).decode()
    2020-10-13 01:37:06   File "/usr/lib/python3.7/http/client.py", line 457, in read
    2020-10-13 01:37:06     n = self.readinto(b)
    2020-10-13 01:37:06   File "/usr/lib/python3.7/http/client.py", line 491, in readinto
    2020-10-13 01:37:06     return self._readinto_chunked(b)
    2020-10-13 01:37:06   File "/usr/lib/python3.7/http/client.py", line 586, in _readinto_chunked
    2020-10-13 01:37:06     chunk_left = self._get_chunk_left()
    2020-10-13 01:37:06   File "/usr/lib/python3.7/http/client.py", line 554, in _get_chunk_left
    2020-10-13 01:37:06     chunk_left = self._read_next_chunk_size()
    2020-10-13 01:37:06   File "/usr/lib/python3.7/http/client.py", line 514, in _read_next_chunk_size
    2020-10-13 01:37:06     line = self.fp.readline(_MAXLINE + 1)
    2020-10-13 01:37:06   File "/usr/lib/python3.7/socket.py", line 589, in readinto
    2020-10-13 01:37:06     return self._sock.recv_into(b)
    2020-10-13 01:37:06 socket.timeout: timed out

  [1]: https://clickhouse-test-reports.s3.yandex.net/15879/f7bf94b5d361d0a54e85673c14e630cfdf8dbe01/functional_stateless_tests_(release,_polymorphic_parts_enabled)/test_run.txt.out.log
2020-10-14 01:21:51 +03:00
alexey-milovidov
56e7e6ed62
Merge pull request #15886 from zhang2014/fix/ISSUES-12513
ISSUES-12513 fix difference expressions with same alias when analyze queries again
2020-10-14 00:55:11 +03:00
alexey-milovidov
7d2f96ade9
Merge pull request #14508 from olgarev/revolg-DOCSUP-1675-Doc_the_cast_keep_nullable_setting
DOCSUP-1675 Docs for the cast_keep_nullable setting
2020-10-14 00:06:03 +03:00
alexey-milovidov
f60ccb4edf
Merge pull request #14295 from ClickHouse/write_structure_of_table_functions
Write structure of table functions to metadata
2020-10-13 23:56:09 +03:00
alexey-milovidov
3744547e2c
Merge pull request #15845 from kitaisreal/setting-date-time-output-format
Added OutputFormat setting date_time_output_format
2020-10-13 23:48:36 +03:00
alexey-milovidov
fc83bd1088
Merge branch 'master' into setting-date-time-output-format 2020-10-13 23:48:27 +03:00
alexey-milovidov
173ee78122
Merge pull request #15876 from azat/connections_with_failover_max_tries-endless-loop
Fix query hang with connections_with_failover_max_tries = 0 (endless loop)
2020-10-13 23:47:34 +03:00
Alexey Milovidov
dbd4366aa4 Merge branch 'master' of github.com:filipecaixeta/ClickHouse into filipecaixeta-master 2020-10-13 23:45:43 +03:00
Alexey Milovidov
da4e4c5cdb Merge branch 'master' into filipecaixeta-master 2020-10-13 23:44:48 +03:00
alexey-milovidov
c87cc24d65
Merge pull request #15937 from ClickHouse/fix-bad-docs
Fix broken links in docs
2020-10-13 23:05:39 +03:00
alexey-milovidov
b4701c9488
Update adopters.md 2020-10-13 23:02:51 +03:00
Alexey Milovidov
db4db42b65 Fix broken links in docs 2020-10-13 20:23:29 +03:00
alexey-milovidov
c30bcd79e3
Fix trash #15935 2020-10-13 19:17:04 +03:00
damozhaeva
e1fcbe749c
Edit and translate to Russian. (#15462)
Co-authored-by: Daria Mozhaeva <dmozhaeva@yandex-team.ru>
2020-10-13 18:29:28 +03:00
alexey-milovidov
37c2a57202
Update WriteHelpers.h 2020-10-13 15:23:50 +03:00
alesapin
f64344f7c5
Merge pull request #15890 from ClickHouse/fix_test_many_parallel_quorum_inserts
Fix test 01509_check_many_parallel_quorum_inserts
2020-10-13 14:29:55 +03:00
Maksim Kita
adaae8a12c Added OutputFormat setting date_time_output_format 2020-10-13 13:59:43 +03:00
Vitaly Baranov
13896cf4c9
Merge pull request #15875 from vitlibar/rbac-fix-deadlock
Fix possible deadlocks in RBAC
2020-10-13 12:58:57 +03:00
Nikita Mikhaylov
835c480056
Merge pull request #15858 from ClickHouse/fix_alter_default_validation
Fix alter default validation
2020-10-13 12:47:18 +03:00
tavplubix
6c1d59cd49
Merge pull request #15743 from azat/Atomic-DROP-TABLE-hang-fix
Fix DROP TABLE hangs with Atomic engine
2020-10-13 12:40:36 +03:00
alesapin
700b6b8a38 Fix test 01509_check_many_parallel_quorum_inserts 2020-10-13 10:14:31 +03:00
zhang2014
14ef354a16 ISSUES-12513 try fix test failure 2020-10-13 14:52:05 +08:00
alesapin
321a7ae6bf
Merge pull request #15852 from ClickHouse/fix_reverse_processor
Fix block structure mismatch after ALTER
2020-10-13 09:49:26 +03:00
zhang2014
72f8153f01 ISSUES-12513 add stateless test 2020-10-13 13:48:16 +08:00
zhang2014
d79d0127ad ISSUES-12513 try fix difference expressions with same alias 2020-10-13 13:30:56 +08:00
hexiaoting
dea965832a Fix error for previous offset test 2020-10-13 11:32:43 +08:00
Vitaly Baranov
6a58bb5c23 Enable rbac tests with thread sanitizer. 2020-10-13 01:03:51 +03:00
Vitaly Baranov
eddd26cf3a Fix deadlock in InterpreterGrantQuery. 2020-10-13 01:03:47 +03:00
Azat Khuzhin
f7bf94b5d3 Check return value of the history_save/history_load
The coding style is different and this is the intention, to make look
like surrounding code.
2020-10-12 23:57:00 +03:00
Azat Khuzhin
f211d33841 Avoid creating separate replxx instance
This replxx object is pretty heavy and in debug build may slow down [1]
(although I cannot confirm 0.5s delay for each query in debug build) the
client and besides it is not required since ClickHouse-Extras/replxx#10,
which changes the behaviour of history_save(), and now it will not
update current session anymore, only save the history to the disk.

  [1]: https://github.com/ClickHouse/ClickHouse/pull/13086#issuecomment-667719026
2020-10-12 23:56:29 +03:00
alexey-milovidov
4798234002
Merge pull request #15843 from ClickHouse/check-executable-files
Check for executable bit on non-executable files
2020-10-12 23:54:00 +03:00