Commit Graph

20555 Commits

Author SHA1 Message Date
cmsxbc
366ee3deba
Support PostgreSQL style ALTER MODIFY COLUMN 2021-11-30 21:07:14 +08:00
Anton Popov
53559523da
Merge pull request #31694 from Algunenano/speedup_avg_sumcount
Speedup avg and sumCount aggregate functions
2021-11-30 15:55:15 +03:00
michael1589
a74cf9cfb0 Merge branch 'master' of https://github.com/michael1589/ClickHouse 2021-11-30 20:48:35 +08:00
michael1589
92feada9e6
Merge branch 'ClickHouse:master' into master 2021-11-30 20:48:10 +08:00
michael1589
f2f8826621 build check fail 2021-11-30 20:46:54 +08:00
Kseniia Sumarokova
18e200b1e2
Merge pull request #31967 from ucasfl/fix-filelog
Fix FileLog engine unnesessary create meta data directory when create table failed
2021-11-30 15:38:05 +03:00
Alexander Tokmakov
caaae03df3 change to switch-case 2021-11-30 15:29:05 +03:00
Haavard Kvaalen
68deea739d MaterializedMySQL: Fix corruption of DECIMAL data
If the first byte of a DECIMAL value happened to be just after we
had reached the end of the ReadBuffer, the value could get
corrupted because we would get the "is negative" bit from a byte
after the current end of the buffer.

Closes #29468
2021-11-30 13:16:49 +01:00
mergify[bot]
d729cd50b3
Merge branch 'master' into fixnullablekey 2021-11-30 11:44:35 +00:00
tavplubix
78224ef273
Merge pull request #31738 from ClickHouse/fix_segfault_on_attach_partition
Fix segfault on attach parititon
2021-11-30 14:32:50 +03:00
Kseniia Sumarokova
a515767c51
Merge pull request #31741 from kssenii/fix-positional-args-setting
Fix aliases with positional args enabled
2021-11-30 13:17:45 +03:00
kssenii
0e24eebc80 Merge branch 'master' of github.com:ClickHouse/ClickHouse into materialized-postgresql-fix 2021-11-30 12:26:10 +03:00
Kseniia Sumarokova
7e324d5894
Ping CI 2021-11-30 12:21:26 +03:00
alesapin
438fa60902
Merge pull request #21326 from excitoon-favorites/flexiblemutations2
Skip mutations of unrelated partitions in `StorageMergeTree`
2021-11-30 12:15:29 +03:00
kssenii
f658a8c181 Small simplification, some comments 2021-11-30 11:16:24 +03:00
michael1589
80dd01e66b style check fail 2021-11-30 15:18:26 +08:00
alesapin
9c4002658c
Merge pull request #31960 from ClickHouse/fix_segfault_in_materialized_mysql
Fix segfault in MaterializedMySQL
2021-11-30 10:16:27 +03:00
michael1589
3f56dde858 style check fail 2021-11-30 15:07:18 +08:00
michael1589
93efc75dc7
Merge branch 'ClickHouse:master' into master 2021-11-30 15:05:24 +08:00
feng lv
0efabb39cf Fix FileLog engine unnesessary create meta data directory when create table failed.
fix style
2021-11-30 04:39:55 +00:00
alexey-milovidov
bab8ea144b
Merge pull request #31866 from ClickHouse/fix-31687
Support toUInt8/toInt8 for if constant condition optimization.
2021-11-30 05:54:58 +03:00
alexey-milovidov
e943be340a
Merge pull request #31566 from arenadata/ADQM-388
get Build ID via Section headers first
2021-11-30 05:52:11 +03:00
alexey-milovidov
a7de366741
Merge pull request #31957 from traceon/macos-fixes
Give some love to macOS platform
2021-11-30 04:15:32 +03:00
mergify[bot]
c8533aab07
Merge branch 'master' into fix-positional-args-setting 2021-11-29 20:53:55 +00:00
kssenii
b0415b6482 Fix tests under Replicated database engine 2021-11-29 23:34:52 +03:00
Kseniia Sumarokova
edf1ec776a
Merge pull request #31824 from azat/system-log-tables-recreate-different-engine
Recreate system.*_log tables in case of different engine/partition_by
2021-11-29 22:56:36 +03:00
Alexander Tokmakov
b96fcd90e4 fix segfault in MaterializedMySQL 2021-11-29 22:02:32 +03:00
tavplubix
be5bb7fe25
Merge pull request #31295 from ClickHouse/tavplubix-patch-4
Add assertions to ZooKeeperLock
2021-11-29 22:00:25 +03:00
Alexander Tokmakov
2cf4b51029 fix 2021-11-29 21:54:46 +03:00
Raúl Marín
a7ae715950 Merge remote-tracking branch 'blessed/master' into pull_timeout 2021-11-29 19:51:18 +01:00
Raúl Marín
f3a22166a1 Merge remote-tracking branch 'blessed/master' into speedup_avg_sumcount 2021-11-29 19:50:28 +01:00
Alexander Tokmakov
56b613068b fix 2021-11-29 21:47:08 +03:00
Raúl Marín
fc48172980 Expected: Drop duplicates 2021-11-29 19:46:51 +01:00
Kseniia Sumarokova
8f0fc225b1
Update ExpressionAnalyzer.cpp 2021-11-29 18:07:11 +03:00
kssenii
2ea4e7c4e7 Better 2021-11-29 15:05:02 +00:00
Nikolai Kochetov
7bf7735470
Update OptimizeIfWithConstantConditionVisitor.cpp 2021-11-29 17:31:54 +03:00
Kseniia Sumarokova
c7a8ad69c4
Merge pull request #31825 from azat/query_views_log-test
Cover query_views_log
2021-11-29 16:10:56 +03:00
Amos Bird
29c87b2f44
Fix nullable key 2021-11-29 20:49:01 +08:00
MaxWk
f2ca2175d1 fix deserializeText 2021-11-29 20:31:04 +08:00
Raúl Marín
8439f4c96c Inline IParserBase wrappers 2021-11-29 13:09:53 +01:00
Raúl Marín
6218fc4ad5 Inline IParser depth 2021-11-29 13:09:53 +01:00
Raúl Marín
740451c723 Inline Expected add 2021-11-29 13:09:53 +01:00
Raúl Marín
89734819ca Inline TokenIterator 2021-11-29 13:09:53 +01:00
Raúl Marín
e9ae49c68b IParser: Set to vector 2021-11-29 13:09:53 +01:00
mergify[bot]
8d5460b469
Merge branch 'master' into feature-support-bool-type 2021-11-29 11:50:18 +00:00
Maksim Kita
05da57f7a6 Fix identity user defined function 2021-11-29 13:19:54 +03:00
kssenii
2f0fe4a21f Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into rabbit-kafka-select-commit 2021-11-29 10:08:14 +00:00
MaxWk
beaa5b5596 support TRUE/FALSE for vaules 2021-11-29 18:05:15 +08:00
kssenii
d81fd72895 Fix 2021-11-29 09:35:38 +00:00
Vladimir C
7a356bee44
Merge pull request #31806 from Algunenano/speedup_count 2021-11-29 10:48:40 +03:00
loneylee
496c3acd1c
Merge branch 'ClickHouse:master' into master 2021-11-29 15:15:23 +08:00
Vladimir Chebotarev
100e61ab0e Rebase fix. 2021-11-29 10:15:00 +03:00
loneylee
fb159c0227 fix pr's bug @31839 2021-11-29 15:14:27 +08:00
michael1589
1bf49ab637 style check fail 2021-11-28 21:51:39 +08:00
alesapin
c1f38752c4
Merge pull request #31859 from JackyWoo/keeper_timeout
keeper session timeout doesn't work
2021-11-28 16:28:17 +03:00
alexey-milovidov
d1e1255e38
Merge pull request #31707 from ClickHouse/fix-decrypt-nullable
Fix exception on some of the applications of "decrypt" function on Nullable columns
2021-11-28 16:21:49 +03:00
michael1589
efeb9b59c8
Merge branch 'ClickHouse:master' into master 2021-11-28 16:59:17 +08:00
michael1589
70264b37a1 style check fail 2021-11-28 16:47:26 +08:00
alexey-milovidov
336322b988
Merge pull request #31923 from ClickHouse/remove-some-trash-from-build
Remove some trash from build
2021-11-28 10:02:26 +03:00
alexey-milovidov
93ed4948b4
Merge pull request #31922 from azat/fix-debug-helpers
Fix magic_enum for debug helpers (fixes build w/ USE_DEBUG_HELPERS)
2021-11-28 08:05:55 +03:00
Alexey Milovidov
1ded1e7181 Remove some trash from build 2021-11-28 08:05:24 +03:00
Alexey Milovidov
0e07fe1002 Fix error 2021-11-28 07:18:00 +03:00
Azat Khuzhin
bdc6163b88 Fix magic_enum for debug helpers 2021-11-28 06:28:19 +03:00
Alexey Milovidov
e865b49293 Merge branch 'master' into fix-decrypt-nullable 2021-11-28 06:12:06 +03:00
alexey-milovidov
80dbe8aaa4
Merge pull request #31899 from ClickHouse/reproducible-build-4
Reproducible build (4)
2021-11-28 06:06:01 +03:00
vxider
98740eec2e fix AST Fuzzer 2021-11-27 17:53:43 +00:00
vxider
e27a158b92 fix typo 2021-11-27 17:53:07 +00:00
michael1589
dbfe637f7b
Merge branch 'ClickHouse:master' into master 2021-11-27 23:30:25 +08:00
vxider
d3a68c1498 update code style 2021-11-27 14:46:43 +00:00
Anton Popov
120cb79bac
Merge pull request #31826 from CurtizJ/fix-uncompressed-cache
Fix reading with uncompressed cache
2021-11-27 17:36:52 +03:00
Alexander Tokmakov
2fb00172a9 try parse partition key value from partition_id 2021-11-27 15:07:08 +03:00
kssenii
5be36f6908 rm NativeBlockOutputStream 2021-11-27 09:47:25 +00:00
kssenii
be3b4ca8fe Merge branch 'master' of github.com:ClickHouse/ClickHouse into versioning 2021-11-27 09:44:31 +00:00
kssenii
515261f5dd Better 2021-11-27 09:40:46 +00:00
vxider
f9a0b1aa13 fix AST Fuzzer 2021-11-27 08:38:53 +00:00
Alexey Milovidov
870800e54b Add a comment 2021-11-27 03:00:00 +03:00
Alexey Milovidov
5d2ccd4289 Experiment with the order of sources 2021-11-27 02:55:04 +03:00
Alexey Milovidov
a96e4fe393 More reproducible builds 2021-11-27 02:24:09 +03:00
alexey-milovidov
d9292395e8
Merge pull request #31832 from ClickHouse/strange-code-typelist
Fix the issue that LowCardinality of Int256 cannot be created.
2021-11-27 00:36:56 +03:00
alexey-milovidov
75ac0f72bc
Merge pull request #31883 from CurtizJ/fix-empty-uuid
Fix function `empty` with `UUID` type
2021-11-27 00:23:47 +03:00
alexey-milovidov
83391977f8
Merge pull request #31896 from Algunenano/parser_deps
Reduce the files that depend on parser headers
2021-11-27 00:18:31 +03:00
vxider
d95d181cbe fix code style 2021-11-26 18:30:22 +00:00
Raúl Marín
7781fc12ed Reduce dependencies on ASTSelectWithUnionQuery.h
521 -> 77 files requiring changes
2021-11-26 19:27:16 +01:00
vxider
82a53a5e54 fix typo 2021-11-26 18:23:50 +00:00
Vxider
71d9d80275 timezone support for Tumble/Hop Start/End 2021-11-26 18:03:41 +00:00
Raúl Marín
f0ee0724ac Reduce dependencies on ASTSelectQuery.h
243 -> 152
2021-11-26 18:35:24 +01:00
Raúl Marín
b2cfa70541 Reduce dependencies on ASTFunction.h
481 -> 230
2021-11-26 18:21:54 +01:00
Raúl Marín
91bf938075 Reduce dependencies on ASTLiteral.h
590 -> 537
2021-11-26 17:54:57 +01:00
Raúl Marín
ac6ccf7d9a Reduce IParser.h dependencies and dependents
533 -> 500 objects on change
Less direct dependencies
2021-11-26 17:19:47 +01:00
Raúl Marín
0b6ae2e508 Reduce dependencies on IParser.h
533 -> 500 files rebuilt on change
2021-11-26 17:04:21 +01:00
Raúl Marín
051dddd8df Reduce dependencies on ASTIdentifier.h
Goes from rebuilding 483 objects to 165 when it's modified
2021-11-26 16:49:40 +01:00
Anton Popov
982163c54b
Merge pull request #31886 from CurtizJ/fix-typos
Fix typos
2021-11-26 18:18:11 +03:00
Anton Popov
923159d408 fix typos 2021-11-26 17:47:40 +03:00
Anton Popov
7237343fd6 fix function 'empty' with uuid type 2021-11-26 17:39:29 +03:00
alexey-milovidov
d7939a3b61
Merge pull request #31838 from ClickHouse/reproducible-build-3
Reproducible builds (3)
2021-11-26 15:48:48 +03:00
Nikolai Kochetov
185c20cf88 Support toUInt8/toInt8 for if constant condition optimization. 2021-11-26 15:38:32 +03:00
Kruglov Pavel
af998af710
Merge pull request #31489 from Avogar/parallel-formatting
Support parallel formatting almost for all text formats
2021-11-26 15:21:22 +03:00
Raúl Marín
eb0435c51d Reduce header exposure to ProcessList.h 2021-11-26 12:52:51 +01:00
Raúl Marín
c498b7ba59 Move limits check to ProcessList 2021-11-26 12:44:39 +01:00
Raúl Marín
be60759e68 Merge remote-tracking branch 'blessed/master' into pull_timeout 2021-11-26 11:37:19 +01:00
JackyWoo
4c6ad94109 fix ch keeper session timeout doesn't work 2021-11-26 18:17:49 +08:00
Kruglov Pavel
efe26ddefa
Merge pull request #31804 from Avogar/fix-tskv
Fix possible Assertion '!hasPendingData()' failed in TSKV format
2021-11-26 12:30:45 +03:00
Vladimir C
41c9067f48
Merge pull request #31706 from yandd/master 2021-11-26 12:29:09 +03:00
Vladimir Chebotarev
fae71279e7
Windowed time decay functions (#29799) 2021-11-26 11:29:26 +03:00
Kseniia Sumarokova
c786c0a52a
Merge pull request #31749 from kssenii/clickhouse-dictionary-conf
ClickHouse dictionary source support named collections
2021-11-26 10:55:03 +03:00
Nikolai Kochetov
bda8cb6b7e
Merge pull request #31805 from ClickHouse/fix-31349
Check time limit sending data for global in.
2021-11-26 10:41:13 +03:00
Azat Khuzhin
5fafeea763 Recreate system.*_log tables in case of different engine/partition_by.
- Mark getCreateTableQuery() non virtual to call it from ctor
- Make check for CREATE TABLE simpler (by caching result)
- Extend error message.

v2: at SystemLog tables has not been initialized yet, so SHOW CREATE
cannot be obtained for the existing table, move the check to the
prepareTable() call.
v3: reset UUID and SETTINGS of MergeTree in CREATE TABLE query
v4: fix re-creating table with the same UUID
2021-11-26 10:05:20 +03:00
Azat Khuzhin
89d2270e1d Add ability to reset any type of AST 2021-11-26 10:05:20 +03:00
Alexey Milovidov
79f6f5a202 More reproducible builds 2021-11-26 05:44:08 +03:00
loneylee
56307bb2fa issue #29730 2021-11-26 10:05:31 +08:00
Denis Glazachev
e41ed7cc6e Fix GCC compilation in macOS 2021-11-26 02:03:04 +03:00
Nikita Mikhaylov
619ad46340
Fix oss-fuzz build (#31818) 2021-11-26 01:14:34 +03:00
Azat Khuzhin
f0628073bb Use comments that can be parsed by clang-tidy in ThreadStatus::initQueryProfiler() 2021-11-26 01:13:55 +03:00
Azat Khuzhin
ee0258e128 Add sanity check into ThreadStatus::disableProfiling() 2021-11-26 01:13:55 +03:00
Azat Khuzhin
2840405c8a Fix typo in ThreadStatus::query_profiler_enabled 2021-11-26 01:13:55 +03:00
kssenii
223048d395 Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view 2021-11-26 01:06:06 +03:00
Alexey Milovidov
85cec911be Fix strange code in TypeList 2021-11-25 23:55:02 +03:00
Anton Popov
645c4958cd
disable uncompressed cache 2021-11-25 22:54:04 +03:00
Anton Popov
c3f076fd84 fix reading with uncompressed cache 2021-11-25 21:20:03 +03:00
Maksim Kita
1fa57c96b2 FunctionsExternalDictionaries removed areTypesEqual 2021-11-25 19:06:37 +03:00
Maksim Kita
df3ac768db Fix recursive user defined functions crash 2021-11-25 19:03:56 +03:00
Nikolai Kochetov
8a92202c55 Chack time limit sending data for global in. 2021-11-25 18:41:50 +03:00
Raúl Marín
a22f7c159e Implement AggregateFunctionCountNotNullUnary::addBatchSinglePlace 2021-11-25 16:41:48 +01:00
avogar
aa2da98844 Add test 2021-11-25 18:06:46 +03:00
michael1589
fe501d4dd4 fix merge error 2021-11-25 23:03:01 +08:00
tavplubix
f320a404e0
Fix 'there are no such cluster here' (#31723)
* Update Context.cpp

* Update DDLTask.cpp
2021-11-25 17:28:06 +03:00
Vladimir Chebotarev
bb2f21b1ad Rebase fix. 2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
e414fa01e0 Rebase fix. 2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
c6e73d7b60 Synced clearOldMutations() with rest of changes. 2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
7bbaa14aee Better comment. 2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
ec1f909d74 Fixed wrong lock order. 2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
12f36206cf Deadlock fix. 2021-11-25 17:11:54 +03:00
Vladimir Chebotarev
84ffcb479b Additional comments. 2021-11-25 17:11:52 +03:00
Vladimir Chebotarev
e0a453aadf Minor fix. 2021-11-25 17:11:29 +03:00
Vladimir Chebotarev
863f3565ad Test fixes. 2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
390416b24d Rebase fix. 2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
30cd133418 Fixed duplication commands bug. 2021-11-25 17:11:28 +03:00
Vladimir Chebotarev
aa3eecbd6d Fixed bug with frozen mutations. 2021-11-25 17:11:27 +03:00
Vladimir Chebotarev
6599124dba Attempt to skip mutations of different partitions in StorageMergeTree. 2021-11-25 17:10:11 +03:00
Maksim Kita
a480eb89ef Function dictGet with type Nullable fix 2021-11-25 17:06:35 +03:00
Raúl Marín
b398a7bab6 Avg: Use countBytesInFilter 2021-11-25 13:50:04 +01:00
avogar
37abab7fdb Better naming 2021-11-25 15:09:13 +03:00
Kruglov Pavel
b39c19399f
Merge pull request #31691 from kssenii/testing-1
Allow named_collections for kafka / rabbit
2021-11-25 14:06:31 +03:00
Kruglov Pavel
f28130193a
Merge branch 'master' into fix-whole-text-serialization 2021-11-25 14:00:20 +03:00
Kruglov Pavel
5d1520be72
Merge pull request #31736 from Avogar/fix-json-with-progress
Fix race in JSONEachRowWithProgress output format
2021-11-25 13:58:41 +03:00
Haavard Kvaalen
fa7b547212 Always quote table name
This fixes an issue if the database contained a table named 'table'.
We would previously generate a query that ClickHouse could not parse.
2021-11-25 11:49:23 +01:00
Kruglov Pavel
5f17109a84
Merge pull request #31712 from Avogar/fix-write-after-finalize
Fix possible Logical error: Cannot write to finalized buffer
2021-11-25 13:43:14 +03:00
Alexander Tokmakov
1ab8b5d4df fix segfault on attach parititon 2021-11-25 13:04:39 +03:00
kssenii
39588579dc Fix 2021-11-25 12:26:26 +03:00
alesapin
fe7f21acf9
Merge pull request #31697 from ClickHouse/fix_31686
Fix parsing of domain data types
2021-11-25 11:31:41 +03:00
Kseniia Sumarokova
87b920594e
Merge pull request #31678 from ucasfl/log
fix typo
2021-11-25 11:29:36 +03:00
Kseniia Sumarokova
93cf66df12
Merge pull request #30936 from kssenii/seekable-read-buffers
Reduce memory usage for some formats when reading with s3/url/hdfs
2021-11-25 11:19:24 +03:00
Raúl Marín
78656f4956 Merge remote-tracking branch 'blessed/master' into speedup_avg_sumcount 2021-11-25 09:17:10 +01:00
Vladimir C
e835671c88
Merge pull request #31624 from nicelulu/fix_sparkbar 2021-11-25 11:01:25 +03:00
freedomDR
c8c827fc78 fix code comment 2021-11-25 11:11:25 +08:00
alexey-milovidov
e1c2e629d8
Merge pull request #30011 from ClickHouse/hermetic-builds
Hermetic builds
2021-11-25 05:27:25 +03:00
alexey-milovidov
423d497b27
Merge pull request #31742 from CurtizJ/fix-map
Fix usage of `Buffer` table engine with type `Map`
2021-11-25 04:56:37 +03:00
Alexey Milovidov
2373456866 Fix build 2021-11-25 04:18:54 +03:00
kssenii
20c59b66f9 ClickHouse dictionary support named collections 2021-11-25 01:51:38 +03:00
Alexey Milovidov
310367fad1 Merge branch 'master' into hermetic-builds 2021-11-25 01:35:06 +03:00
alexey-milovidov
ac66433650
Merge pull request #31672 from ClickHouse/better-crosscompiling-freebsd
More easy cross-compiling for FreeBSD
2021-11-25 01:31:41 +03:00
Anton Popov
37350e007c fix mutate of ColumnMap 2021-11-25 00:05:08 +03:00
kssenii
038bdcf9b9 Fix 2021-11-24 23:56:36 +03:00
Azat Khuzhin
df67af0c88 Fix disabling query profiler
Before there was two incorrect checks:
- timer_id != nullptr, but first timer is 0x0 and the comparison does
  not work
- previous_handler should also be reseted regardless it was nullptr or
  not, plus it also incorrectly uses 'sigaction * previous_handler'
  before.

Which leads to permanent query profiler enabled for particular thread,
this is especially visible if you have query profiler disabled and you
are running some query with profiler enabled, i.e.:

  select 1 settings query_profiler_real_time_period_ns=1

After, QueryPipelineEx will eat lots of CPU due because of profiler.
2021-11-24 23:28:20 +03:00
Alexey Milovidov
a4e57228cf Add a test from #31662 2021-11-24 23:09:50 +03:00
Alexey Milovidov
21f112b30e Merge branch 'better-crosscompiling-freebsd' into hermetic-builds 2021-11-24 22:43:30 +03:00
Alexey Milovidov
f1b8e2a2c8 Fix build 2021-11-24 22:43:12 +03:00
Kruglov Pavel
690b460c3d
Fix style 2021-11-24 22:36:36 +03:00
avogar
e4ba685d15 Fix race in JSONEachRowWithProgressRowOutputFormat 2021-11-24 22:29:43 +03:00
Kruglov Pavel
ad7768e42a
Fix 2021-11-24 22:25:41 +03:00
Kruglov Pavel
b20f4439df
Make better 2021-11-24 22:25:03 +03:00
kssenii
46d2fdc5e6 Update 2021-11-24 21:53:53 +03:00
tavplubix
bebee01b34
Merge pull request #31638 from ClickHouse/fix_rename_dictionary
Fix rename dictionary
2021-11-24 20:25:35 +03:00
avogar
1bd8c57908 Fix 2021-11-24 20:21:21 +03:00
Alexey Milovidov
8e4c7fccc3 Fix build 2021-11-24 20:19:52 +03:00
mergify[bot]
9ce9aef40a
Merge branch 'master' into parallel-formatting 2021-11-24 15:40:01 +00:00
Kruglov Pavel
758c0e1c5e
Fix build 2021-11-24 18:35:18 +03:00
avogar
7c84d95908 Fix possible Logical error: Cannot write to finalized buffer 2021-11-24 18:32:41 +03:00
zhangxiao871
f8190b7074 Fix min_x max_x and AST Fuzzer check 2021-11-24 23:25:30 +08:00
Alexey Milovidov
438619389f Fix build 2021-11-24 16:53:51 +03:00
Alexey Milovidov
bd1964a2eb Fix exception on some of the applications of "decrypt" function on Nullable columns 2021-11-24 16:46:20 +03:00
avogar
8d34f0c59f Minor change 2021-11-24 16:43:54 +03:00
avogar
f5447a5e74 Fix tests, support parallel formatting for Template format 2021-11-24 16:42:07 +03:00
michael1589
8b99138701
Merge branch 'ClickHouse:master' into master 2021-11-24 21:35:36 +08:00
yandd
7b43608e1f
Fixed function ngrams 2021-11-24 21:18:38 +08:00
Kseniia Sumarokova
7cf6bb5aa3
Update ExternalDataSourceConfiguration.cpp 2021-11-24 16:13:26 +03:00
mergify[bot]
2ab091a85b
Merge branch 'master' into fix-whole-text-serialization 2021-11-24 12:44:53 +00:00
Kruglov Pavel
31f1103cdd
Fix style 2021-11-24 15:44:26 +03:00
Alexander Tokmakov
e5972e6f71 fix 2021-11-24 15:44:04 +03:00
Alexey Milovidov
ecf7822153 Fix build 2021-11-24 15:28:54 +03:00
alexey-milovidov
82fd7cc212
Merge pull request #31673 from ClickHouse/remove-wrong-code-live-view
Remove outstandingly wrong code with LIVE VIEW
2021-11-24 15:20:54 +03:00
Raúl Marín
5dd3cc6595 Share code between Avg and SumCount 2021-11-24 13:13:54 +01:00
tavplubix
04b98ee1d7
Revert "Fixed null pointer exception in MATERIALIZE COLUMN" 2021-11-24 14:56:12 +03:00
kssenii
980c87c466 Add named collection for kafka / rabbit 2021-11-24 14:53:01 +03:00
Raúl Marín
34d0f403dc Make clang-tidy happy 2021-11-24 12:32:08 +01:00
alesapin
646cf38213
Merge pull request #28981 from JackyWoo/add_4_letter_words_commands
Add four letter commands to keeper
2021-11-24 13:32:36 +03:00
Raúl Marín
dde264cd53 Implement batching for SumCount 2021-11-24 11:14:31 +01:00
Raúl Marín
d2dcbdd1ee Implement batch operators for avg 2021-11-24 11:14:31 +01:00
kssenii
29579962cb Update test, tiny changes 2021-11-24 12:55:36 +03:00
Maksim Kita
527480bd8e
Merge pull request #31679 from excitoon-favorites/fixmaterializecolumn
Fixed null pointer exception in `MATERIALIZE COLUMN`
2021-11-24 12:29:23 +03:00
Maksim Kita
801c6c1e99
Merge pull request #31119 from nautaa/fix-file-log
remove unnecessary assert in StorageFileLog
2021-11-24 12:28:13 +03:00
tavplubix
5eae7710ea
Update DatabaseOnDisk.cpp 2021-11-24 12:06:19 +03:00
Raúl Marín
cb6f99fe6f
Use getContext
Co-authored-by: Azat Khuzhin <a3at.mail@gmail.com>
2021-11-24 09:58:03 +01:00
Vladimir Chebotarev
4f7f9795a1 Fixed null pointer exception in MATERIALIZE COLUMN. 2021-11-24 09:17:43 +03:00
feng lv
89e9569ad6 fix typo 2021-11-24 04:34:25 +00:00
Alexey Milovidov
e59e833cc6 Fix build 2021-11-24 03:11:22 +03:00
Alexey Milovidov
1acbafdffe Remove outstandingly wrong code 2021-11-24 00:48:57 +03:00
Alexander Tokmakov
9237b251d5 allow rename dict in Ordrinary, fix another issue 2021-11-23 20:53:45 +03:00
avogar
4470365fb3 Fix 2021-11-23 19:56:44 +03:00
avogar
b81d8426d3 Clean up 2021-11-23 19:56:43 +03:00
avogar
a900a26691 Support parallel formatting for all text output formats 2021-11-23 19:56:43 +03:00
Kruglov Pavel
6987e5bfd0
Update SerializationDecimal.cpp 2021-11-23 17:30:52 +03:00
Raúl Marín
15dc86bd37 Fix 00613_shard_distributed_max_execution_time flakyness 2021-11-23 14:50:23 +01:00
Kruglov Pavel
d68880754c
Merge pull request #31652 from ClickHouse/Avogar-patch-1
Try to fix possible data race in RemoteQueryExecutorReadContext
2021-11-23 16:47:29 +03:00
Kruglov Pavel
b63b47f0f0
Merge pull request #31265 from Avogar/fix-write-buffers
Fix and refactor WriteBiffer-s a little
2021-11-23 16:46:09 +03:00
Kruglov Pavel
6d942401bb
Merge pull request #31510 from azat/fix-progress-for-insert
Fix progress for short INSERT SELECT queries
2021-11-23 16:37:06 +03:00
Ilya Golshtein
ae15126d20 just more verbose comment 2021-11-23 12:56:14 +00:00
Ilya Golshtein
e27ce34cf2 get Build ID via Section headers first 2021-11-23 12:56:14 +00:00
Raúl Marín
cbe3a47f2f PipelineExecutor: Avoid throwing in constructor after saving the querystatus
Otherwise the query status would keep a pointer to the executor which is dying at
that very moment
2021-11-23 13:24:51 +01:00
michael1589
2bbb90e6c8
Merge branch 'ClickHouse:master' into master 2021-11-23 20:21:47 +08:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
alesapin
16f034fe4c Flush bytes after 4 letter commands 2021-11-23 13:31:10 +03:00
Kruglov Pavel
65233110ae
Try to fix possible data race 2021-11-23 12:43:06 +03:00
tavplubix
7a43a87f5b
Use shard and replica name from Replicated database arguments (#31488)
* fix another issue

* use shard and replica name from Replicated database

* fix

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-23 12:41:54 +03:00
Raúl Marín
f39648dafb Style 2021-11-23 09:23:22 +01:00
Raúl Marín
c6d3065885 Check max_execution_time in the pipeline and pulling executors 2021-11-23 09:23:22 +01:00
michael1589
75b0c0abd5
Merge branch 'master' into master 2021-11-23 11:37:46 +08:00
Vitaly Baranov
8eae84b8cf
Merge pull request #31607 from vitlibar/stop-reloading-all-configs-on-shutdown-early
Stop all periodic reloading of all the configuration files on shutdown earlier
2021-11-22 22:45:14 +03:00
kssenii
7fae3b1cc9 Update tests 2021-11-22 20:57:31 +03:00
tavplubix
d2aa56fc1f
Update DatabaseOnDisk.cpp 2021-11-22 20:44:06 +03:00
Alexander Tokmakov
5868f7590c fix race between replicas 2021-11-22 19:46:34 +03:00
Alexander Tokmakov
ba6adafae3 Merge branch 'master' into tavplubix-patch-4 2021-11-22 18:50:38 +03:00
tavplubix
667dbef4a0
Merge branch 'master' into fix_rename_dictionary 2021-11-22 18:48:22 +03:00
Alexander Tokmakov
d56950a207 fix rename dictionary 2021-11-22 18:41:35 +03:00
kssenii
4c41e719ed Add comments 2021-11-22 18:09:45 +03:00
alesapin
5825242a7d Merge branch 'add_4_letter_words_commands' of github.com:JackyWoo/ClickHouse into JackyWoo_add_4_letter_words_commands 2021-11-22 18:02:22 +03:00
alesapin
35de9e42d9
Merge branch 'master' into add_4_letter_words_commands 2021-11-22 18:02:02 +03:00
tavplubix
0772f6c215
Merge pull request #31584 from ClickHouse/debug_expired_sessions
Try to debug expired sessions
2021-11-22 17:06:46 +03:00
mergify[bot]
2adaf54d33
Merge branch 'master' into fix-whole-text-serialization 2021-11-22 14:00:51 +00:00
mergify[bot]
a9c1fd1647
Merge branch 'master' into fix-write-buffers 2021-11-22 13:59:31 +00:00
Anton Popov
43cfa4467b
Merge pull request #31476 from CurtizJ/merging-constraints
Merging #18787 (Constraints)
2021-11-22 15:57:59 +03:00
MaxWk
dac41b0d75 fix read string from different format 2021-11-22 20:21:12 +08:00
Kruglov Pavel
8391f1f315 Update ISerialization.cpp 2021-11-22 14:26:48 +03:00
avogar
9bee988e16 Fix tests 2021-11-22 14:26:48 +03:00
avogar
ec9e87aff1 Fix deserializeWholeText 2021-11-22 14:26:48 +03:00
mergify[bot]
a7ba3e23a0
Merge branch 'master' into fix-write-buffers 2021-11-22 11:24:27 +00:00
avogar
b8695e8236 Fix comments 2021-11-22 14:19:26 +03:00
tavplubix
dc6d48ff83
Merge pull request #31292 from stigsb/materialized-mysql-atomic-only
Drop support for DatabaseOrdinary in MaterializedMySQL
2021-11-22 14:03:50 +03:00
Kruglov Pavel
814a36ba69
Merge pull request #31434 from Avogar/custom-with-names-and-types
Add formats CustomSeparatedWithNames/WithNamesAndTypes
2021-11-22 13:24:00 +03:00
zhangxiao871
5f10159a7d Fix sparkbars are not aligned. 2021-11-22 18:07:08 +08:00