Alexey Milovidov
696f773267
Remove ZooKeeper from unit tests
2020-08-15 07:29:02 +03:00
Alexey Milovidov
0c75ebcba3
Fix typo
2020-08-15 06:28:48 +03:00
Alexey Milovidov
c260ecb58e
Remove debug output
2020-08-15 06:27:36 +03:00
zhang2014
2f3042ba86
ISSUES-4006 try fix build
2020-08-15 11:16:55 +08:00
Alexey Milovidov
52c3857225
Fix server restart after stress test
2020-08-15 06:10:57 +03:00
alexey-milovidov
7e72437b9d
Merge pull request #13680 from ClickHouse/use_atomic_engine_for_system_db
...
Use Atomic engine for system database
2020-08-15 01:15:09 +03:00
alexey-milovidov
9e33f41dec
Merge pull request #13709 from ClickHouse/fix-array-combinator
...
Fix error with batch aggregation and -Array combinator
2020-08-15 01:10:34 +03:00
Azat Khuzhin
df359bd289
Fix logging Settings.Names/Values when log_queries_min_type > QUERY_START
2020-08-15 00:42:59 +03:00
Azat Khuzhin
6fd0faa00f
Fix performance-no-automatic-move in InterpretersMySQLDDLQuery
2020-08-14 23:41:22 +03:00
myrrc
54f5c0e35a
fixed the String impl non-const offset bug
2020-08-14 23:07:31 +03:00
Azat Khuzhin
c97a9de7e2
Fix -Wpessimizing-move in InterpretersMySQLDDLQuery
...
gcc10 reports:
../src/Interpreters/MySQL/InterpretersMySQLDDLQuery.cpp:354:44: warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move]
354 | return std::move(column_declaration);
2020-08-14 22:15:42 +03:00
Azat Khuzhin
194d1d514c
Fix compilation MySQLReplication with gcc10 and libstdc++
...
gcc10 reports:
../src/Core/MySQLReplication.cpp:62:46: error: use of deleted function ‘std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char8_t) [with _Traits = std::char_traits<char>]’
2020-08-14 22:15:17 +03:00
Nikolai Kochetov
8e631a98ea
Refactor ActionsChain.
2020-08-14 21:24:58 +03:00
Nikolai Kochetov
246c2cafb7
Refactor splitActionsBeforeArrayJoin.
2020-08-14 21:24:03 +03:00
Nikolai Kochetov
6934974fc5
Lift up ARRAY JOIN step.
2020-08-14 21:24:31 +03:00
Nikolai Kochetov
85d0f1a480
Add ARRAY JOIN to ActionsChain
2020-08-14 21:24:19 +03:00
Nikolai Kochetov
95bbda3667
Specify columns after ARRAY JOIN and JOIN.
...
Add ArrayJoinTransform and ArrayJoinStep.
2020-08-14 21:24:03 +03:00
myrrc
a519559644
updated ColumnVector to compare with other U, cleaned ImplString
2020-08-14 21:08:30 +03:00
Nikolai Kochetov
4af4d25db4
Merge pull request #13690 from ClickHouse/sql_fuzzy_timeout
...
Fix timeout in sql_fuzzy test
2020-08-14 19:21:47 +03:00
zhang2014
b49c3cebb5
ISSUES-4006 try fix build
2020-08-14 23:52:47 +08:00
Alexander Tokmakov
03eb8f5f21
fix sync 2
2020-08-14 16:51:32 +03:00
Nikolai Kochetov
76df13c31c
Fix tests.
2020-08-14 16:16:36 +03:00
roman
b637699ccd
[mergeTree]: fail fast if max_rows_to_read limit exceeded on parts scan
...
The motivation behind this change is to skip ranges scan for all selected parts
if it is clear that `max_rows_to_read` is already exceeded. The change is quite
noticeable for queries over big number of parts.
2020-08-14 13:53:48 +01:00
Javi Santana
c6780148ec
return 200 when replicas status is ok and verbose = 1
2020-08-14 14:29:16 +02:00
tavplubix
e6df1f4868
Merge pull request #13676 from amosbird/bd
...
Make drop table a little bit more robust
2020-08-14 14:14:58 +03:00
Alexander Tokmakov
d8d50f20fd
fix sync 1
2020-08-14 14:04:47 +03:00
Alexander Tokmakov
128b19fdba
Merge branch 'master' into use_atomic_engine_for_system_db
2020-08-14 13:47:44 +03:00
Artem Zuikov
89e9673336
Hotfix for pushdown with StorageMerge ( #13679 )
2020-08-14 12:38:18 +03:00
Alexey Milovidov
8c85ab3753
Fix error with batch aggregation and -Array combinator
2020-08-14 09:52:28 +03:00
Alexey Milovidov
1c939b6d89
Merge branch 'master' into sql_fuzzy_timeout
2020-08-14 08:32:25 +03:00
zhang2014
4199baf69d
Merge branch 'master' of github.com:yandex/ClickHouse into refactor/materialize_mysql_database
2020-08-14 13:30:12 +08:00
Alexey Milovidov
7a6e0deea5
Fix build after merge
2020-08-14 08:28:26 +03:00
zhang2014
7ff62b090e
ISSUES-4006 try fix build and style failure
2020-08-14 09:59:59 +08:00
Amos Bird
de4a070d6a
log error message
2020-08-14 09:54:51 +08:00
alexey-milovidov
e1a25053dd
Merge pull request #13681 from azat/optimize_move_functions_out_of_any-arrayJoin
...
Do not optimize any(arrayJoin()) -> arrayJoin() under optimize_move_functions_out_of_any
2020-08-14 04:39:06 +03:00
Alexey Milovidov
baa85f0a88
Fix timeout in sql_fuzzy test
2020-08-14 04:35:02 +03:00
alexey-milovidov
c06cfda3cb
Merge pull request #13678 from ClickHouse/fix-typo-2
...
Fix typo due to copy-paste
2020-08-14 04:15:23 +03:00
alexey-milovidov
c1d10d9d09
Merge pull request #13685 from ClickHouse/fix-build
...
Fix clang build of example tools.
2020-08-14 04:15:05 +03:00
alexey-milovidov
eeefcd6493
Merge pull request #13337 from ClickHouse/refactor-pipes-3
...
Refactor Pipe
2020-08-14 04:12:22 +03:00
alexey-milovidov
3b05c315e4
Update Pipe.h
2020-08-14 04:10:10 +03:00
Alexey Milovidov
52cf85eaee
Fix clang build
2020-08-13 23:13:13 +03:00
Azat Khuzhin
17b27b6c28
Do not optimize any(arrayJoin()) -> arrayJoin() under optimize_move_functions_out_of_any
...
Otherwise the following query will be optimized incorrectly:
SELECT
*,
any(arrayJoin([[], []]))
FROM numbers(1)
GROUP BY number
And the result will be:
┌─number─┬─arrayJoin(array(array(), array()))─┐
│ 0 │ [] │
│ 0 │ [] │
└────────┴────────────────────────────────────┘
While should be:
┌─number─┬─any(arrayJoin(array(array(), array())))─┐
│ 0 │ [] │
└────────┴─────────────────────────────────────────┘
2020-08-13 22:17:49 +03:00
Alexander Tokmakov
cd3155ff19
fix
2020-08-13 21:05:31 +03:00
Alexander Tokmakov
0f1c4bc9c4
attach all system tables
2020-08-13 20:09:40 +03:00
zhang2014
e3b78c5a31
ISSUES-4006 try fix build and style failure
2020-08-14 00:51:51 +08:00
Alexey Milovidov
bcd29dc9f8
Fix typo due to copy-paste
2020-08-13 18:41:26 +03:00
Amos Bird
3b92692458
Make drop table a little bit more robust
2020-08-13 22:22:04 +08:00
myrrc
a9c9bae47e
fixed the columnvector test
2020-08-13 17:17:49 +03:00
myrrc
0edf3a693d
fixing the processGeneric ColumnVector type bug
2020-08-13 16:44:13 +03:00
zhang2014
57bf007b82
ISSUES-4006 add ya make
2020-08-13 20:51:29 +08:00
zhang2014
96bd3ac34b
ISSUES-4006 split mysql protocol
2020-08-13 20:41:36 +08:00
zhang2014
34f4c8972e
ISSUES-4006 split replication packets
2020-08-13 20:07:02 +08:00
Nikita Mikhaylov
9765588b9f
better
2020-08-13 14:12:16 +03:00
Nikita Mikhaylov
7082baa96c
add locks to fix datarace
2020-08-13 14:12:16 +03:00
zhang2014
4061254cb1
ISSUES-4006 split authentication
2020-08-13 18:39:15 +08:00
zhang2014
c76d7e3121
ISSUES-4006 split generic packets
2020-08-13 18:17:13 +08:00
zhang2014
57c772e3aa
ISSUES-4006 split connection packets
2020-08-13 17:38:00 +08:00
zhang2014
c0d42b764e
ISSUES-4006 split protocol text packet
2020-08-13 17:20:45 +08:00
zhang2014
4fcc178deb
ISSUES-4006 split mysql protocol
2020-08-13 16:17:33 +08:00
zhang2014
688836cdc4
ISSUES-4006 split msql protocol & fix build
2020-08-13 14:30:29 +08:00
zhang2014
0162c39838
ISSUES-4006 split mysql protocol
2020-08-13 13:02:16 +08:00
zhang2014
a8d3b5f65d
ISSUES-4006 better exception message
2020-08-13 10:14:59 +08:00
alexey-milovidov
b243a0c37a
Merge pull request #13626 from ClickHouse/fix_deadlock_in_replication_queue
...
Fix deadlock and logical error in replication queue
2020-08-13 00:53:09 +03:00
Alexander Tokmakov
a6ff049eec
use Atomic for system database
2020-08-12 23:40:13 +03:00
myrrc
e2e38e30d0
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-12 19:12:08 +03:00
myrrc
1ed406dfd8
empty commit to restart CI
2020-08-12 19:11:35 +03:00
tavplubix
4aff48dc3f
Merge pull request #10851 from zhang2014/feature/materialize_mysql_database
...
ISSUES-4006 support MaterializeMySQL database engine
2020-08-12 15:59:28 +03:00
Mikhail Filimonov
a0ae1b2b42
tzdata improvements
...
Expose version of embedded tzdata via TZDATA_VERSION in system.build_options.
Autogenerate list of shipped timezones. Script to check tzdb updates.
2020-08-12 14:21:40 +02:00
Azat Khuzhin
6097f769c7
Fix assertion for carriage return in the header in TSVWithNames* format.
...
TabSeparatedRowInputFormat::readPrefix() tries to check for carriage
return (via checkForCarriageReturn()), however it does the check after
checking the column is exists, reorder the codepath a little bit to
run checkForCarriageReturn() before.
2020-08-12 11:13:19 +03:00
Alexander Kuzmenkov
ef5882639b
Merge pull request #13459 from Jokser/s3-multithreaded-disk-copy
...
Move parts from DiskLocal to DiskS3 in parallel
2020-08-12 07:36:03 +03:00
alexey-milovidov
90a5dface3
Merge pull request #13631 from amosbird/roc
...
remove obsolete comments
2020-08-12 06:01:41 +03:00
Amos Bird
ffcbfc383b
remove obsolete comments
2020-08-12 09:30:40 +08:00
Alexander Tokmakov
829f7e65de
try fix sync, add experimetal flag
2020-08-12 00:59:46 +03:00
Alexander Tokmakov
e4da1d8e51
fix deadlock and logical error in replication queue
2020-08-12 00:36:02 +03:00
Nikita Mikhaylov
4c89fb8f84
better
2020-08-11 22:50:48 +03:00
Nikita Mikhaylov
519c5c500e
first attempt
2020-08-11 22:39:48 +03:00
Pavel Kovalenko
ea46ee74ae
Don't allocate Executor instance on each disk->getExecutor() call.
2020-08-11 22:08:32 +03:00
zhang2014
e3b51835ff
ISSUES-4006 try fix ci
2020-08-11 21:35:50 +08:00
Alexander Kazakov
6e0d536327
Merge branch 'master' into bug/low-cardinality-arrays-optimisations
2020-08-11 16:25:20 +03:00
myrrc
eabcc293eb
fixed generic LC impl
2020-08-11 14:15:43 +03:00
Alexander Kuzmenkov
8b3e239957
Merge pull request #13589 from ClickHouse/aku/podarray
...
Do not overallocate when creating PODArray with given size
2020-08-11 14:04:27 +03:00
Alexander Kuzmenkov
70f0ba1c1f
Merge pull request #13343 from azat/format-fixes-20.7
...
WithNames format fixes
2020-08-11 13:31:45 +03:00
zhang2014
93d73c78c9
ISSUES-4006 resolve review comment & add test case
2020-08-11 17:03:43 +08:00
Vladimir Chebotarev
7371cf6bd1
Proper remote host checking in S3 redirects ( #13404 )
...
* Proper remote host checking in S3 redirects.
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-08-11 09:09:08 +03:00
Azat Khuzhin
72205cd326
Call writePrefix() from ctor in SinkToOutputStream
...
This will fix lack of headers for the following formats if there are
zero rows:
- TSVWithNames
- CSVWithNames
- TSVWithNamesAndTypes
2020-08-11 00:52:35 +03:00
Azat Khuzhin
d5a2e1e61c
Call doWritePrefix() if IOutputFormat works as Processor (i.e. clickhouse-local)
...
This fixes the *WithNames output format (lack of header before this
patch).
2020-08-11 00:52:35 +03:00
Azat Khuzhin
ba92213d21
Write header only once in TSVWithNames*
2020-08-11 00:52:35 +03:00
Alexander Kuzmenkov
d42dbfce98
Do not overallocate when creating PODArray with given size
...
Another part of #12278
2020-08-10 23:36:52 +03:00
myrrc
659c78c7ab
more canonical resize
2020-08-10 18:37:04 +03:00
myrrc
8562c36ea4
fix: false processing
2020-08-10 18:32:02 +03:00
zhang2014
2311cda334
ISSUES-4006 convert _sign & _version to materialized column
2020-08-10 22:32:05 +08:00
myrrc
565cedbf1c
updating functions
2020-08-10 17:22:35 +03:00
tavplubix
bb832f204c
Merge pull request #13495 from vitlibar/fix-getting-query-settings
...
Fix getting settings specified in query.
2020-08-10 16:28:55 +03:00
Pavel Kovalenko
bece61b1cc
Fix codestyle.
2020-08-10 14:40:31 +03:00
Pavel Kovalenko
f503273d41
Merge remote-tracking branch 'origin/master' into s3-multithreaded-disk-copy
...
# Conflicts:
# src/Disks/S3/DiskS3.cpp
2020-08-10 14:35:26 +03:00
myrrc
403a47bd1e
reverted the code back to constant args handling
2020-08-10 13:34:19 +03:00
Nikolai Kochetov
9b67cd9faf
Merge branch 'master' into refactor-pipes-3
2020-08-10 10:50:17 +03:00
Alexey Milovidov
0c15f3b6c8
Allow server to startup if there are leftovers from unsuccessfull database creations
2020-08-10 05:58:08 +03:00
zhang2014
90b7628496
ISSUES-4006 try fix test failure & add some test
2020-08-10 10:25:08 +08:00
Alexey Milovidov
84584659b6
Better error messages
2020-08-10 04:06:06 +03:00
Alexey Milovidov
8054a08c55
Fix build after merge
2020-08-10 03:44:21 +03:00
alexey-milovidov
8912a1cda3
Merge pull request #13082 from CurtizJ/fix-redis
...
Fix access to redis dictionary after connection was dropped once
2020-08-10 03:29:17 +03:00
Vitaly Baranov
3b9f5a827c
Fix getting settings specified in query.
2020-08-10 01:07:23 +03:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
...
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
alexey-milovidov
180ea39bf8
Merge pull request #13099 from ClickHouse/fixed-hash-map-implicit-zero-6
...
Slightly improve performance of aggregation by UInt8/UInt16 keys, part 6
2020-08-09 23:13:53 +03:00
alexey-milovidov
fa1c4d1eef
Merge pull request #13538 from CurtizJ/fix-skip-indices
...
Fix secondary indices corruption in compact parts
2020-08-09 20:13:13 +03:00
zhang2014
933f287db4
ISSUES-4006 resolve review comment & support alter renmae command
2020-08-09 20:10:30 +08:00
Anton Popov
2280619ad0
fix secondary indices corruption in compact parts
2020-08-09 04:45:10 +03:00
Vitaly Baranov
61c3735dfc
Support compound identifiers for custom settings.
2020-08-09 02:46:46 +03:00
Vitaly Baranov
2c5a2b2f43
Add function isValidIdentifier().
2020-08-09 02:46:42 +03:00
Alexey Milovidov
182e2929f3
Merge branch 'master' into embed-configs
2020-08-09 02:41:44 +03:00
Alexey Milovidov
b4ac900462
Fix "Arcadia" build
2020-08-09 02:38:53 +03:00
alexey-milovidov
be38b0fe75
Merge pull request #13497 from amosbird/tdm
...
Better toDate/toDateTime functions.
2020-08-09 02:14:58 +03:00
alexey-milovidov
7de9c2183a
Merge pull request #13517 from vladimir-golovchenko/fix-time-interval-for-create-alter-quota-queries
...
Fixed docs, document blocks and tests: added the missed types of interval (WEEK, MONTH, QUARTER, YEAR) to CREATE/ALTER QUOTA statements
2020-08-09 02:12:13 +03:00
Alexey Milovidov
a2d9be1ed4
Merge branch 'fixed-hash-map-implicit-zero-6' of github.com:yandex/ClickHouse into fixed-hash-map-implicit-zero-6
2020-08-09 01:50:41 +03:00
Alexey Milovidov
d2351dc7f3
Fix clang static analyzer
2020-08-09 01:50:20 +03:00
Alexey Milovidov
350b8e87a7
Merge branch 'master' into fixed-hash-map-implicit-zero-6
2020-08-09 01:48:12 +03:00
alexey-milovidov
8e3f8aa0ab
Merge pull request #13491 from ClickHouse/aku/podarray
...
Avoid overallocation in PODArray assignment
2020-08-09 01:41:47 +03:00
alexey-milovidov
ba5988dcf6
Merge pull request #13446 from ClickHouse/fix-netloc
...
Function "netloc": fix wrong code.
2020-08-09 01:39:46 +03:00
alexey-milovidov
aefa9b297b
Merge pull request #13449 from ClickHouse/mixed_granularity_parts_by_default
...
Enable mixed granularity parts by default
2020-08-09 01:36:59 +03:00
Amos Bird
ba204fe3b2
fix test and add alias to FROM_UNIXTIME
2020-08-09 00:24:43 +08:00
alexey-milovidov
beed3c8244
Merge pull request #13500 from ClickHouse/hardening-and-better-error-messages
...
Hardening and better error messages
2020-08-08 17:13:43 +03:00
alexey-milovidov
c0fef71507
Merge pull request #13511 from ClickHouse/codespell
...
Fix typos in code with codespell.
2020-08-08 17:09:16 +03:00
alexey-milovidov
92fb97c76b
Merge pull request #13416 from ClickHouse/storage-memory-race
...
Possibly fix race in StorageMemory.
2020-08-08 17:08:13 +03:00
Alexey Milovidov
306aefd33e
Change error code #13416
2020-08-08 17:05:46 +03:00
alexey-milovidov
3af1eba808
Merge pull request #13510 from ClickHouse/fix-assert-lcm
...
Fix assert in "lcm"
2020-08-08 17:02:56 +03:00
vladimir golovchenko
679c2c0a7a
Fixed documentation blocks: added the missed types of interval (week, month, quarter, year) to CREATE/ALTER QUOTA statements.
2020-08-08 01:19:48 -07:00
Amos Bird
d9de96716a
string to date is not monotonic
2020-08-08 14:30:50 +08:00
Alexey Milovidov
0f79eb3cc5
Embed configs into binary
2020-08-08 06:42:42 +03:00
alexey-milovidov
321d4ed643
Merge pull request #13490 from zlobober/patch-4
...
Demangle exception classname for std::exception
2020-08-08 05:10:39 +03:00
Alexey Milovidov
6663f21fdd
Fix error
2020-08-08 05:02:36 +03:00
Alexey Milovidov
add08dbc47
Fix style
2020-08-08 04:58:40 +03:00
Alexey Milovidov
6be6ac9c14
Possibly fix clang-tidy
2020-08-08 04:58:04 +03:00
Alexey Milovidov
0cbbe153cd
Fix typos, the last 1%
2020-08-08 04:21:04 +03:00
Alexey Milovidov
12f66fa82c
Fix 99% of typos
2020-08-08 04:01:47 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
Alexey Milovidov
bbbc52362b
Remove strange file
2020-08-08 03:13:51 +03:00
Alexey Milovidov
ac2de4cc95
Fix build
2020-08-08 03:08:41 +03:00
alexey-milovidov
378b2b7e04
Update average.cpp
2020-08-08 02:06:55 +03:00
Alexey Milovidov
ec281cd703
Fix assert in "lcm"
2020-08-08 02:01:05 +03:00
Alexander Kuzmenkov
ddf0fe30b3
Merge pull request #13336 from ianton-ru/select_insert_time
...
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds
2020-08-08 01:05:46 +03:00
Alexander Kuzmenkov
6a596d5c40
Merge pull request #13076 from Jokser/s3-file-cache
...
Ability to cache mark and index files for S3 disk
2020-08-08 01:04:53 +03:00
Alexey Milovidov
d026d4e289
Fix error
2020-08-07 23:53:46 +03:00
myrrc
fe38e503b2
added special ColumnConst case
2020-08-07 23:46:56 +03:00
Vitaly Baranov
8d6e04835c
Merge pull request #13199 from vitlibar/fix-reading-row-policies-from-users-xml
...
Fix parsing row policies from users.xml
2020-08-07 23:32:28 +03:00
Vitaly Baranov
1a4a8a219c
Merge pull request #13305 from vitlibar/correct-error-message-if-setting-not-found-in-users_xml
...
Correct error message if setting not found in users.xml
2020-08-07 23:31:23 +03:00
Alexey Milovidov
3c3350451e
Merge branch 'master' into fix-netloc
2020-08-07 22:57:46 +03:00
alexey-milovidov
cbe9878e9e
Update FunctionsConversion.h
2020-08-07 22:53:52 +03:00
alexey-milovidov
65b3863a9e
Update FunctionsConversion.h
2020-08-07 22:52:21 +03:00
Alexey Milovidov
f968ae8804
Hardening continued
2020-08-07 22:45:29 +03:00
Amos Bird
9938e1f3f6
Better toDate/toDateTime function.
2020-08-08 03:38:34 +08:00
Alexey Milovidov
b6625006dc
Hardening and better error messages
2020-08-07 22:36:04 +03:00
Alexey Milovidov
e3235e5b6e
Fix build
2020-08-07 22:06:31 +03:00
alexey-milovidov
7786fd4119
Merge pull request #13228 from ClickHouse/decimal-too-large-negative-exponent
...
Fix assert when decimal has too large negative exponent
2020-08-07 21:57:20 +03:00
robot-clickhouse
a82c0f5371
Auto version update to [20.8.1.1] [54438]
2020-08-07 21:45:49 +03:00
zhang2014
6da8633741
ISSUES-4006 try fix build failure & test failure
2020-08-08 00:14:10 +08:00
Pavel Kovalenko
562102161b
Missed override.
2020-08-07 18:53:40 +03:00
myrrc
a13ee27d82
dispatched another column to get rid of virtual call
2020-08-07 18:38:26 +03:00
Alexander Kuzmenkov
c06210a89a
Avoid overallocation in PODArray assignment
...
Part of #12438
2020-08-07 18:18:32 +03:00
Max Akhmedov
026cb4ac1b
Demangle exception classname for std::exception
2020-08-07 17:52:32 +03:00
Alexander Kuzmenkov
5d60ab33a5
Merge pull request #13147 from ClickHouse/aku/podarray
...
Assert that the source type is the same before memcpy in PODArray::insert
2020-08-07 16:58:14 +03:00
Nikolai Kochetov
c9f81125bc
Review fixes.
2020-08-07 16:02:28 +03:00
Anton Popov
35d0328462
Merge pull request #13396 from CurtizJ/fix-13198
...
Fix assertion in FinishSortingTransform.
2020-08-07 15:36:17 +03:00
Nikolai Kochetov
63ace67409
Merge pull request #13420 from ClickHouse/fix-tuple-with-null-comparison
...
Fix tuple with null comparison
2020-08-07 15:32:52 +03:00
Nikolai Kochetov
79f30f9446
Merge pull request #13399 from hczhcz/patch-0806
...
Fix empty output of arrow related formats
2020-08-07 15:31:45 +03:00
Pavel Kovalenko
53ecd95302
Remove unused dependencies.
2020-08-07 14:44:35 +03:00
Pavel Kovalenko
a6ee09f696
Move parts to DiskS3 in parallel refactoring.
2020-08-07 14:40:19 +03:00
myrrc
ac77e2a88f
empty commit to restart CI
2020-08-07 14:24:07 +03:00
Alexey Milovidov
f74f5cfa06
Attempt to fix "Unbundled" build
2020-08-07 14:18:41 +03:00
alexey-milovidov
b5667e3b0f
Merge pull request #13441 from ClickHouse/fix-parse-date-time-best-effort
...
Fix error in parseDateTimeBestEffort
2020-08-07 14:02:59 +03:00
alesapin
77b8c9e332
Fix DDL worker
2020-08-07 12:18:34 +03:00
alesapin
5de2491eda
Enable mixed granularity parts by default
2020-08-07 11:55:51 +03:00
zhang2014
6fca8ad7df
ISSUES-4006 fix segfault on ClickHouse shutdown when MySQL is not available
2020-08-07 16:49:27 +08:00
Nikolai Kochetov
7a9b244f37
Push ci
2020-08-07 11:29:41 +03:00
Nikolai Kochetov
cb879f4cf5
Push ci
2020-08-07 11:28:12 +03:00
hcz
898e19e18d
Fix function names
2020-08-07 15:40:05 +08:00
zhang2014
d6bba8cbbb
ISSUES-4006 add settings for allows_query_when_mysql_lost & move dump event to logger
2020-08-07 14:12:27 +08:00
zhang2014
bd21f8e6b9
ISSUES-4006 fix conflicts commit when merge
2020-08-07 12:55:45 +08:00
zhang2014
e496225641
ISSUES-4006 try fix build failure & review comment
2020-08-07 12:53:33 +08:00
Alexey Milovidov
0ac3f0481f
Probably fix error
2020-08-07 04:27:29 +03:00
Alexey Milovidov
7094f5435c
Merge branch 'master' into decimal-too-large-negative-exponent
2020-08-07 04:23:59 +03:00
Alexey Milovidov
1f2d0dce3e
Remove useless header file
2020-08-07 04:07:51 +03:00
Alexey Milovidov
d1ed1fb83a
Fix error
2020-08-07 04:04:37 +03:00
Alexey Milovidov
476da6c1fe
Slightly better
2020-08-07 03:35:13 +03:00
Alexey Milovidov
cf618c1e23
Remove false statements
2020-08-07 03:33:17 +03:00
Alexey Milovidov
733bd0ecec
Fix error
2020-08-07 03:29:52 +03:00
Alexey Milovidov
5c1703bd6c
Merge branch 'master' into fixed-hash-map-implicit-zero-6
2020-08-07 02:58:57 +03:00
Alexey Milovidov
241017bc1f
Fix error in parseDateTimeBestEffort
2020-08-07 02:52:18 +03:00
Alexander Kuzmenkov
da7bc8962d
Merge pull request #13417 from vladimir-golovchenko/fix-quota-statements-interval-formatting
...
Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements
2020-08-07 01:50:25 +03:00
Artem Zuikov
e05dc65e73
fix duplicated any function rewrite ( #13419 )
2020-08-07 01:36:14 +03:00
Nikolai Kochetov
c35b704c14
Merge pull request #13394 from azat/PrettyCompactMonoBlock
...
Fix quirks for PrettyCompactMonoBlock
2020-08-06 22:53:11 +03:00
myrrc
d1412e5352
Merge branch 'bug/low-cardinality-arrays-optimisations' of github:myrrc/clickhouse into bug/low-cardinality-arrays-optimisations
2020-08-06 20:57:29 +03:00
myrrc
1c940a1921
got rid of a virtual col in loop in arrayIndex
2020-08-06 20:55:21 +03:00
Nikolai Kochetov
d83c7cc0e6
Merge branch 'master' into refactor-pipes-3
2020-08-06 17:32:50 +03:00
Nikolai Kochetov
ac52726f7d
Renamed iterators. Added comment.
2020-08-06 17:16:52 +03:00
Nikolai Kochetov
38c1d3b061
Fix build.
2020-08-06 16:47:08 +03:00
Alexander Kuzmenkov
511b097881
Merge pull request #13283 from ClickHouse/aku/dictionary-layout
...
Do not fuzz ASTDictionaryLayout
2020-08-06 16:44:10 +03:00
Alexander Kuzmenkov
e7e71b8615
Use the memcpy predicate from 6f8a274ba0
2020-08-06 16:34:23 +03:00
Alexander Kuzmenkov
9409629511
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-06 16:29:43 +03:00
Alexander Kazakov
8c1dbb3893
For compatibility with Arcadia
2020-08-06 16:27:19 +03:00
Nikolai Kochetov
285f323653
Fix build.
2020-08-06 16:22:17 +03:00
Nikolai Kochetov
b28e121967
Fix tuple with NULL exement comparison.
2020-08-06 15:54:14 +03:00
vladimir golovchenko
3c307064b9
Fix a 'Week'-interval formatting for ATTACH/ALTER/CREATE QUOTA-statements.
2020-08-06 05:45:01 -07:00
Nikolai Kochetov
caef062135
Possibly fix race in StorageMemory.
2020-08-06 15:34:16 +03:00
myrrc
c8f737c37c
fix: re-resizing, Arcadia compatibility, updated perftest
2020-08-06 15:33:16 +03:00
Nikolai Kochetov
20e63d2271
Refactor Pipe [part 6]
2020-08-06 15:24:05 +03:00
Pavel Kovalenko
36923ec782
Merge remote-tracking branch 'origin/master' into s3-multithreaded-disk-copy
2020-08-06 13:55:41 +03:00
Nikolai Kochetov
539be71635
Fix tests.
2020-08-06 13:05:27 +03:00
Azat Khuzhin
15be6a0dd5
Fix quirks for PrettyCompactMonoBlock
...
- Fix PrettyCompactMonoBlock for clickhouse-local (broken in 20.3+,
fails with an error `Unknown format PrettyCompactMonoBlock`, after #6239 )
- Fix extremes/totals with PrettyCompactMonoBlock (even before 20.3
breakage they were simply ignored)
2020-08-06 11:59:45 +03:00
hcz
dadcca6c08
Fix empty output of arrow related formats
2020-08-06 16:32:31 +08:00
zhang2014
a3bc18bed2
ISSUES-4006 try resolve review comment
2020-08-06 12:03:27 +08:00
Alexey Milovidov
8fd4038234
Fix UBSan error
2020-08-06 04:59:02 +03:00
Anton Popov
e7d3154d38
fix queries with order by prefix of primary key and constant columns
2020-08-06 02:37:39 +03:00
myrrc
2d27fa0fa8
fix: style error, unused check
2020-08-06 02:24:28 +03:00
Alexander Kuzmenkov
45b57f2df5
fixes
2020-08-06 00:53:35 +03:00
Alexander Kuzmenkov
3b1bacf390
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-06 00:15:06 +03:00
Pavel Kovalenko
7856852010
Move parts to DiskS3 in parallel.
2020-08-05 19:36:10 +03:00
Alexander Kuzmenkov
5c2d7fc569
fixes
2020-08-05 18:45:44 +03:00
myrrc
4dd39f6fb4
fixed comparison bug by cloning the col_arg_indices
2020-08-05 18:16:03 +03:00
Alexander Kuzmenkov
ead62bc9d7
Remove everything except static_assert for same type
2020-08-05 17:12:41 +03:00
Alexander Kuzmenkov
aa629a4c82
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-05 17:09:56 +03:00
myrrc
0021f67664
re-unioned the *NumImpl
2020-08-05 15:43:19 +03:00
Alexander Kuzmenkov
0eaab3d095
Merge pull request #13191 from ClickHouse/aku/semicolon-cleanup
...
Cleanup for #12999 . NFC
2020-08-05 14:53:27 +03:00
Anton Popov
1ac1955ffb
bump CI
2020-08-05 14:32:41 +03:00
Anton Popov
33699d8d4a
Merge pull request #13282 from amosbird/mha
...
Report broken parts in compact MergeTree
2020-08-05 14:27:32 +03:00
alexey-milovidov
85f28db714
Merge pull request #11524 from ClickHouse/stack-frams-size-limit
...
Avoid too large stack frames
2020-08-05 13:12:08 +03:00
Artem Zuikov
829955a538
Better errors in JOIN ON section ( #13330 )
2020-08-05 12:31:59 +03:00
alesapin
66982b404e
Merge pull request #13341 from ClickHouse/fix_moving_sum_segfault
...
Fix moving sum segfault
2020-08-05 11:44:51 +03:00
Alexander Kuzmenkov
d205b20c04
wip
2020-08-05 05:21:33 +03:00
Alexander Kuzmenkov
4417fb80e6
Merge pull request #13203 from oandrew/avro-confluent-skip-tombstone
...
AvroConfluent: skip Kafka tombstone records/skip broken records
2020-08-05 02:47:42 +03:00
Alexander Kuzmenkov
fcdfa2a125
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-05 02:25:50 +03:00
Alexander Kuzmenkov
0d947b64bd
fixup
2020-08-05 02:23:31 +03:00
alexey-milovidov
5b4482bf1a
Merge pull request #13234 from azat/roundUpToPowerOfTwoOrZero-safety
...
Return passed number for numbers with MSB set in roundUpToPowerOfTwoOrZero()
2020-08-05 00:43:01 +03:00
myrrc
807f1887f4
some data flow fixes
2020-08-04 22:51:15 +03:00
alesapin
2ef491bc53
Fix moving sum segfault
2020-08-04 22:45:39 +03:00
Vitaly Baranov
3778b7db90
Fix reading row policies from users.xml when names of databases or tables contain dots.
2020-08-04 20:48:57 +03:00
Anton Ivashkin
327090b7ea
Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQueryTimeMicroseconds to system.events, second attempt
2020-08-04 19:38:13 +03:00
Nikolai Kochetov
a153f05e10
Refactor Pipe [part 5].
2020-08-04 18:51:56 +03:00
myrrc
b210afb789
cloning the arr column to build the lc index
2020-08-04 18:00:42 +03:00
Nikolai Kochetov
9385f3de0e
Refactor Pipe [part 4].
2020-08-04 16:06:59 +03:00
Alexey Milovidov
c204035b55
Revert one modification
2020-08-04 15:29:24 +03:00
Alexey Milovidov
d91471ea00
Merge branch 'master' into stack-frams-size-limit
2020-08-04 15:28:47 +03:00
myrrc
98119af9de
Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations
2020-08-04 15:01:27 +03:00
zhang2014
c99da34039
ISSUES-4006 try fix unit test failure
2020-08-04 19:09:30 +08:00
Vitaly Baranov
5a14aeadea
Merge pull request #13279 from vitlibar/use-reference-while-iterating-settings
...
Use references while iterating through settings
2020-08-04 13:08:56 +03:00
alesapin
943eb2f990
bump CI
2020-08-04 12:42:51 +03:00
Amos Bird
019f6d3a76
Report broken parts in compact MergeTree
2020-08-04 16:45:52 +08:00
Nikolai Kochetov
09fbce1b1e
Merge branch 'master' into refactor-pipes-3
2020-08-04 11:32:34 +03:00
Nikolai Kochetov
389f895b43
Merge pull request #13290 from ClickHouse/fix-totals-for-delayed-replica
...
Fix totals for delayed replica
2020-08-04 11:26:09 +03:00
Andrew Onyshchuk
2883831564
AvroConfluent: skip broken messages
2020-08-04 02:43:42 -05:00
Andrew Onyshchuk
99c183da0f
AvroConfluent: skip tombstone records
2020-08-04 02:43:42 -05:00
vdimir
7260009978
Fix argument handling in string search functions
2020-08-04 10:10:50 +03:00
Azat Khuzhin
d28c4c4a6c
Merge remote-tracking branch 'upstream/master' into roundUpToPowerOfTwoOrZero-safety
...
* upstream/master:
fix left asof join with join_use_nulls (#13291 )
Revert "Add QueryTimeMicroseconds, SelectQueryTimeMicroseconds and InsertQuer…"
Add test
Added another check just in case
Fixup
Fix range checks in h3 functions
Fix configs
Update tests
Check ALTERs; update test
Sanity checks for MergeTreeSettings
2020-08-04 09:29:46 +03:00
zhang2014
0e3108cdf0
ISSUES-4006 fix parser use uuid
2020-08-04 12:26:16 +08:00
zhang2014
34f7fac76c
ISSUES-4006 try fix test failure
2020-08-04 12:22:12 +08:00
Alexander Tokmakov
cf78a1f8fc
try fix build
2020-08-04 10:31:27 +08:00
zhang2014
da2ad0799f
ISSUES-4006 try fix build failure after merge master
2020-08-04 10:31:27 +08:00
zhang2014
1eddb3fbc8
ISSUES-4006 fix build failure after merge master
2020-08-04 10:31:27 +08:00
zhang2014
7ea2eee98a
ISSUES-4006 add some check & add comment
2020-08-04 10:31:27 +08:00
zhang2014
c173bd391f
ISSUES-4006 try fix build & test failure
2020-08-04 10:31:27 +08:00
zhang2014
6b452cf83d
ISSUES-4006 try fix build failure & fix float 32 parser
2020-08-04 10:31:27 +08:00
zhang2014
c0db408c38
ISSUES-4006 try fix build failure
2020-08-04 10:31:27 +08:00
zhang2014
b76f218d90
ISSUES-4006 add mysql dml test
2020-08-04 10:31:27 +08:00
zhang2014
9996166860
ISSUES-4006 try fix check style
2020-08-04 10:31:27 +08:00
zhang2014
bd65a8f213
ISSUES-4006 try fix build failure
2020-08-04 10:31:27 +08:00
zhang2014
9d8234afd7
ISSUES-4006 try fix integration test
2020-08-04 10:31:27 +08:00
zhang2014
c5946f7697
ISSUES-4006 add mysql 8.0 integration test
2020-08-04 10:31:27 +08:00
zhang2014
9ba28d41ca
ISSUES-4006 skip drop database query for materialize mysql engine
2020-08-04 10:31:27 +08:00
zhang2014
ad187384f0
ISSUES-4006 try fix build failure
2020-08-04 10:31:27 +08:00
zhang2014
74f354d840
ISSUES-4006 add some check before create materialize mysql database
2020-08-04 10:31:27 +08:00
zhang2014
95b8afb8eb
ISSUES-4006 try fix unit test failure
2020-08-04 10:31:26 +08:00
zhang2014
e471f805b5
ISSUES-4006 try fix build failure & update integration test
2020-08-04 10:31:26 +08:00
zhang2014
1c17878f31
ISSUES-4006 try fix build failure
2020-08-04 10:31:26 +08:00
zhang2014
94a2a7791c
ISSUES-4006 add some integration test
2020-08-04 10:31:26 +08:00
zhang2014
1930b8f584
ISSUES-4006 support drop materialize mysql database engine
2020-08-04 10:31:26 +08:00
zhang2014
eace0153bd
ISSUES-4006 fix test failure
2020-08-04 10:31:26 +08:00
zhang2014
4e161bb42a
ISSUES-4006 remove unused metric
2020-08-04 10:31:26 +08:00
zhang2014
8f28df3514
ISSUES-4006 rename locality_data to MaterializeMySQL
2020-08-04 10:31:26 +08:00
zhang2014
cee16292a6
ISSUES-4006 fix restart failure
2020-08-04 10:31:26 +08:00
zhang2014
094ce895da
ISSUES-4006 fix test failure
2020-08-04 10:31:26 +08:00
zhang2014
a8e3e03d8b
ISSUES-4006 add rewrite alter query
2020-08-04 10:31:26 +08:00
zhang2014
3ec80e92ed
ISSUES-4006 add check test case
2020-08-04 10:31:26 +08:00
zhang2014
04c2ab5ab9
ISSUE-4006 add alter query parser
2020-08-04 10:31:26 +08:00
zhang2014
3dda4d7dfb
ISSUES-4006 add alter command parser
2020-08-04 10:31:26 +08:00
zhang2014
e3f2919f59
ISSUES-4006 add alter query
2020-08-04 10:31:26 +08:00
zhang2014
035760df9d
ISSUES-4006 refactor for external ddl
2020-08-04 10:31:26 +08:00
zhang2014
6562597064
ISSUES-4006 refactor interpreter
2020-08-04 10:31:26 +08:00
zhang2014
1583f67681
ISSUES-4006 remove unused code
2020-08-04 10:31:26 +08:00
zhang2014
54c3db0567
ISSUES-4006 some refactor for query convert
2020-08-04 10:31:26 +08:00
zhang2014
5fb92359d2
ISSUES-4006 some refactor for query convert
2020-08-04 10:31:26 +08:00
zhang2014
3afffaf303
ISSUES-4006 rename sign and version column
2020-08-04 10:31:26 +08:00
zhang2014
101a13b5c3
ISSUES-4006 remove unused code
2020-08-04 10:31:26 +08:00
zhang2014
a9e1794bd3
ISSUES-4006 filter sign = -1 rows
2020-08-04 10:31:26 +08:00
zhang2014
9324c0ee49
ISSUES-4006 fix crash when dump data
2020-08-04 10:31:26 +08:00
zhang2014
1df8bfe4fb
ISSUES-4006 fix build failure after refactor
2020-08-04 10:31:25 +08:00
zhang2014
4a99ca0d80
ISSUES-4006 refactor
2020-08-04 10:31:25 +08:00
zhang2014
0f75b2d0f0
ISSUES-4006 fix buidl failure
2020-08-04 10:31:25 +08:00
zhang2014
59465b58c2
ISSUES-4006 fix cmake
2020-08-04 10:31:25 +08:00
zhang2014
0336a4ad58
ISSUES-4006 suport synchronous MySQL incremental data[part 2]
2020-08-04 10:31:23 +08:00
zhang2014
0c52d425ba
ISSUES-4006 suport synchronous MySQL incremental data
2020-08-04 10:29:54 +08:00