alesapin
c37a19f7b0
Better
2020-09-01 14:23:38 +03:00
alesapin
f0dc5a3085
First working test
2020-09-01 13:49:53 +03:00
alesapin
b751319f9e
Merge branch 'master' into recompression_in_background
2020-09-01 10:31:10 +03:00
alesapin
05b10048a6
Merge pull request #14116 from ClickHouse/parts_default_compression
...
Save parts default compression
2020-09-01 09:43:42 +03:00
alesapin
e28b477f79
Merge pull request #14263 from bharatnc/ncb/disallow-codec-for-alias
...
Disallow codec for ALIAS columns types
2020-09-01 09:42:53 +03:00
alesapin
4d96510a29
Merge pull request #14274 from ClickHouse/pipes-for-mutations
...
Use QueryPipeline in MutationsInterpreter.
2020-09-01 09:40:11 +03:00
robot-clickhouse
e2fa0eae2f
Auto version update to [20.9.1.1] [54439]
2020-08-31 23:07:41 +03:00
alesapin
46f833b7df
Some changes
2020-08-31 22:50:42 +03:00
bharatnc
c377c228ef
fix tests
2020-08-31 10:22:53 -07:00
alexey-milovidov
75ca3d217f
Merge pull request #14232 from zhang2014/fix/ISSUES-14231
...
ISSUES-14231 fix wrong lexer in MaterializeMySQL database engine dump stage
2020-08-31 19:03:04 +03:00
bharatnc
c4e235b000
Merge remote-tracking branch 'upstream/master' into ncb/disallow-codec-for-alias
2020-08-31 09:01:07 -07:00
bharatnc
caed8cd474
change error code to BAD_ARGUMENTS (36)
2020-08-31 09:00:32 -07:00
Alexander Kuzmenkov
bc8765d5ad
Merge pull request #14095 from azat/DistributedFilesToInsert-fix
...
Fix DistributedFilesToInsert metric (zeroed when it should not)
2020-08-31 18:58:30 +03:00
alexey-milovidov
f5a38fa78d
Merge pull request #14203 from donge/master
...
fix issue #14202
2020-08-31 17:48:39 +03:00
Alexander Kuzmenkov
134aae89f3
Merge pull request #14110 from 4ertus2/decimal
...
Fix Decimal to Float conversion and toDecimal256() function
2020-08-31 17:08:49 +03:00
alesapin
b20a0bc254
Add recompression flag in ReplicatedEntry
2020-08-31 16:42:42 +03:00
alesapin
067eb4599d
Fix empty columns case
2020-08-31 16:39:27 +03:00
alesapin
adc18f4d3f
Write with recompression TTL
2020-08-31 16:29:31 +03:00
Nikolai Kochetov
4ceb12b1de
Use QueryPipeline in MutationsInterpreter.
2020-08-31 15:45:20 +03:00
alesapin
42c210fcba
Recompress TTLs in memory metadata
2020-08-31 15:12:51 +03:00
alexey-milovidov
0586f0d555
Merge pull request #14253 from BohuTANG/mysql_replication_empty_transaction_issue14235
...
Fix MaterializeMySQL empty GTID transaction issue #14235
2020-08-31 15:08:34 +03:00
alesapin
4834bed35b
Add recompression TTL parser
2020-08-31 14:35:53 +03:00
alexey-milovidov
bd04658fc0
Merge pull request #14218 from markpapadakis/patch-4
...
Update AggregatingTransform.cpp
2020-08-31 14:30:26 +03:00
alesapin
034f1a895d
Merge branch 'master' into recompression_in_background
2020-08-31 11:10:14 +03:00
bharatnc
6bb575fae9
fix style check
2020-08-31 00:39:58 -07:00
alesapin
5b0822902b
Merge pull request #14155 from amosbird/fzk
...
Allow FETCH PARTITION from other zookeepers
2020-08-31 09:54:51 +03:00
bharatnc
5c83b09a2f
disallow CODEC setting for column type ALIAS
...
This commit adds checks in place during table creation
and updates to ensure that we don't allow `CODEC` for
ALIAS (`default_type` column) like:
```sql
CREATE TABLE compression_codec_on_alias
(
`c0` ALIAS c1 CODEC(ZSTD),
`c1` UInt64
)
ENGINE = MergeTree()
PARTITION BY c0
ORDER BY c1;
```
After these safeguards in place, when trying to create/update column
codec, we will get excaptions like this:
```sql
-- create
CREATE TABLE compression_codec_on_alias
(
`c0` ALIAS c1 CODEC(ZSTD),
`c1` UInt64
)
ENGINE = MergeTree()
PARTITION BY c0
ORDER BY c1
Received exception from server (version 20.8.1):
Code: 377. DB::Exception: Received from localhost:9000. DB::Exception: Cannot specify codec for column type ALIAS.
0 rows in set. Elapsed: 0.006 sec.
-- modify
ALTER TABLE compression_codec_on_alias
ADD COLUMN `c3` ALIAS c2 CODEC(ZSTD) AFTER c2
Received exception from server (version 20.8.1):
Code: 377. DB::Exception: Received from localhost:9000. DB::Exception: Cannot specify codec for column type ALIAS.
0 rows in set. Elapsed: 0.005 sec.
```
2020-08-30 23:45:53 -07:00
zhang2014
b38c5a844c
ISSUES-14231 better comment
2020-08-31 14:16:19 +08:00
zhang2014
761512413e
ISSUES-14231 allow dollar and numver in identifier
2020-08-31 14:14:02 +08:00
zhang2014
592b6dcdce
Revert "ISSUES-14231 add mysql identifier parser"
...
This reverts commit ab1d665006
.
2020-08-31 13:48:20 +08:00
zhang2014
d24bf8de51
ISSUES-14231 allow dollar sign in identifier
2020-08-31 12:46:41 +08:00
zhang2014
ab1d665006
ISSUES-14231 add mysql identifier parser
2020-08-31 12:33:33 +08:00
BohuTANG
4d4b4b9532
Fix MaterializeMySQL empty GTID transaction issue #14235
2020-08-30 15:55:34 +08:00
alexey-milovidov
b1efc5df01
Merge pull request #14225 from amosbird/bf1
...
Fix bug in mark inclusion search.
2020-08-30 02:58:22 +03:00
alexey-milovidov
2a514eae21
Merge pull request #14223 from nikitamikhaylov/update-permutaiton-bug-fix
...
Fixed incorrect sorting order if LowCardinality column.
2020-08-29 18:25:26 +03:00
alesapin
2d33a4029b
Merge pull request #14220 from ClickHouse/remove_redundant_flag
...
Disable force TTL on optimize final
2020-08-29 10:40:36 +03:00
zhang2014
4182596961
ISSUES-14231 try fix wrong lexer
2020-08-29 12:28:04 +08:00
Amos Bird
591a4d60d4
Fix bug in mark inclusion search.
2020-08-29 09:46:46 +08:00
alesapin
ebc163c924
Merge branch 'master' into parts_default_compression
2020-08-28 23:11:42 +03:00
alexey-milovidov
c6f55bbe6a
Merge pull request #14151 from 4ertus2/some
...
Add functions: isDecimalOverflow(), countDigits()
2020-08-28 22:01:54 +03:00
alesapin
10c7a6c45e
Add ability to specify Default codec for columns ( #14049 )
...
* Add ability to specify DefaultCompression codec which correspond to settings specified in config.xml
* Fix style
* Rename DefaultCompression to simple Default
* Fix compression codec
* Better codec description representation
* Less strange code and one method
* Fix delta
2020-08-28 20:40:45 +03:00
alesapin
65c33f0802
Merge pull request #13280 from amosbird/as
...
ALTER MODIFY SAMPLE BY
2020-08-28 19:32:09 +03:00
Nikita Mikhaylov
fc84d12542
better
2020-08-28 18:28:46 +03:00
Nikita Mikhaylov
9d1cb7e22e
done
2020-08-28 18:15:15 +03:00
alesapin
232c264d7d
Disable force TTL on optimise
2020-08-28 16:45:42 +03:00
Mark Papadakis
ff76790a59
Update AggregatingTransform.cpp
...
Replaced redundant call to chunk.getNumRows() with local var.
2020-08-28 16:08:06 +03:00
alesapin
c1ca09653e
Update custom parts of storage AST only if it has extended definition
2020-08-28 14:30:53 +03:00
alesapin
1ea00d5e7a
Fix test and better messages
2020-08-28 14:12:51 +03:00
alesapin
b599d0a1ff
Simplify function
2020-08-28 13:47:29 +03:00
alesapin
0896b49533
Small fixes
2020-08-28 13:18:56 +03:00