alexey-milovidov
02636b3388
Merge pull request #3729 from amosbird/dryrun
...
Function execution with dry runs
2018-12-02 22:45:07 +03:00
alexey-milovidov
48b30edcf5
Merge branch 'master' into alter-order-by
2018-12-02 21:06:38 +03:00
alexey-milovidov
af110b8202
Merge pull request #3693 from yandex/simplier_merge_read_logic
...
Simplify merge stream read logic
2018-12-02 20:59:43 +03:00
Amos Bird
3cc0829cc1
Function execution with dry runs
...
This commit prevents stateful functions like rowNumberInAllBlocks from being modified in getHeader() calls.
2018-12-02 19:02:04 +08:00
Alexey Milovidov
2930da2880
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 05:52:49 +03:00
Alexey Milovidov
70a1275d50
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 05:47:47 +03:00
Alexey Milovidov
dbbf148a98
Every function in its own file, part 8 [#CLICKHOUSE-2]
2018-12-02 04:57:01 +03:00
alexey-milovidov
01d39892f5
Merge pull request #3725 from vitlibar/CLICKHOUSE-4127-fix-assertion-in-debug-build
...
CLICKHOUSE-4127: Fix assertion in debug build.
2018-12-02 03:51:46 +03:00
Alexey Milovidov
c9b8cd0626
Fixed errors and improved PR #3724
2018-12-02 03:47:34 +03:00
alexey-milovidov
c5dac3d496
Merge pull request #3724 from ClickHouse-Ninja/master
...
timeSlots: add optional parameter 'Size'
2018-12-02 03:34:52 +03:00
Vitaly Baranov
7c03b35bc4
CLICKHOUSE-4127: Fix assertion in debug build.
...
Do reading faster if the structure isn't altered.
2018-12-01 15:42:56 +03:00
Kirill Shvakov
566644b171
timeSlots: add optional parameter 'Size'
2018-12-01 10:01:20 +02:00
Alexey Milovidov
2cf627457a
Fixed error #3720
2018-12-01 05:38:54 +03:00
Alexey Milovidov
b7d9910bd3
Merge branch 'master' into dont-allocate-too-much-memory-to-parse-query
2018-12-01 04:54:01 +03:00
Alexey Milovidov
024a4ba73c
Fixed build after merge #3689
2018-12-01 02:52:20 +03:00
alexey-milovidov
bf7b68cf95
Merge pull request #3689 from abyss7/CLICKHOUSE-3936
...
CLICKHOUSE-3936
2018-12-01 01:50:04 +03:00
alexey-milovidov
32b0b61d25
Merge pull request #3699 from amosbird/master
...
NonJoinedStream[ALL] bypasses max_block_size
2018-12-01 01:48:48 +03:00
alexey-milovidov
2a6b7b3d00
Merge pull request #3719 from yandex/fix-buffer-read-locking
...
Fix destination table locking for Buffer engine reads
2018-12-01 01:27:39 +03:00
Alexey Milovidov
be80b7b188
Added suggestion from Nikolay Kochetov #3720
2018-11-30 22:47:47 +03:00
Alexey Milovidov
ca1d38914a
Don't log to stderr within RE2 library [#CLICKHOUSE-2]
2018-11-30 22:37:31 +03:00
Alexey Milovidov
35f6fb5ae6
Avoid memory over-allocation when large value of "max_query_size" is specified [#CLICKHOUSE-4169]
2018-11-30 18:36:41 +03:00
Alexey Zatelepin
2d71338b78
examine structure of the destination table of Buffer storage under lock
2018-11-30 18:34:24 +03:00
Amos Bird
d092d35fa9
NonJoinedStream[ALL] bypasses max_block_size
2018-11-30 22:59:17 +08:00
alexey-milovidov
cee0d48ce6
Merge pull request #3703 from dqminh/fix-empty-fixed-string
...
Fix buffer overflow for EmptyImpl with FixedString
2018-11-30 17:30:35 +03:00
proller
cd2af4b6d2
Update Contributors
2018-11-30 16:49:53 +03:00
Daniel Dao
eb91b19a99
Fix buffer overflow for EmptyImpl with FixedString
...
Signed-off-by: Daniel Dao <dqminh89@gmail.com>
2018-11-30 02:17:01 +00:00
alesapin
51f73651dd
Inject columns after creating header
2018-11-29 18:16:08 +03:00
proller
1cc69100f1
Fix macos build
2018-11-29 17:37:56 +03:00
alesapin
fc379c1d5c
Inject column names before types
2018-11-29 15:03:58 +03:00
alesapin
b2fd3e804a
Add special logic for alter
2018-11-29 14:55:34 +03:00
alesapin
e2e88324d0
Rename MergeTree streams for select
2018-11-29 12:19:42 +03:00
alesapin
a0862efc17
Merge remote-tracking branch 'origin/master' into simplier_merge_read_logic
2018-11-29 10:58:45 +03:00
alexey-milovidov
9cc36d3d3c
Merge pull request #3692 from yandex/fix-create-table-engine-parsing
...
Fix CREATE TABLE engine parsing
2018-11-29 00:22:20 +03:00
Alexey Milovidov
b4d218a890
Fixed race condition, part 1 (ad-hoc) [#CLICKHOUSE-2]
2018-11-28 21:40:02 +03:00
Alexey Milovidov
97280bb361
Whitespace [#CLICKHOUSE-2]
2018-11-28 21:28:30 +03:00
alesapin
d4059ba507
Inject default column
2018-11-28 20:21:27 +03:00
Nikolai Kochetov
540a99c93a
Fix engine parsing in create query.
2018-11-28 19:52:46 +03:00
Alexey Milovidov
f615b062d8
Fixed build [#CLICKHOUSE-2]
2018-11-28 19:29:56 +03:00
Alexey Zatelepin
f425803418
don't overwrite table metadata file in case of offline ALTER after ATTACH [#CLIKCHOUSE-3859]
2018-11-28 19:05:29 +03:00
Ivan
448846fc0d
Merge branch 'master' into CLICKHOUSE-3936
2018-11-28 18:59:57 +03:00
Ivan Lezhankin
8b5a05947c
Remove redundant information from RWLock.
...
And fix broken exception in some race conditions
2018-11-28 18:50:52 +03:00
Alexey Zatelepin
57f25e978a
update comments and docs [#CLICKHOUSE-3859]
2018-11-28 18:12:44 +03:00
alesapin
23aa6595cd
Missed file
2018-11-28 18:05:53 +03:00
alesapin
b7cdd8fe7f
Trying to simplify merge reading logic
2018-11-28 18:05:28 +03:00
alexey-milovidov
6f007f45a1
Merge pull request #3673 from yandex/fix-insert-distributed-sync
...
Fix insert_distributed_sync
2018-11-28 17:48:06 +03:00
alexey-milovidov
a4fd7f4eb3
Update configReadClient.h
2018-11-28 17:45:58 +03:00
alexey-milovidov
a991781937
Update configReadClient.cpp
2018-11-28 17:45:01 +03:00
proller
eea1ca8920
Merge remote-tracking branch 'upstream/master' into fix4
2018-11-28 17:42:33 +03:00
proller
7e9d053d5d
Benchmark: use client config for ssl options
2018-11-28 17:41:51 +03:00
alexey-milovidov
b8cb6c8f5e
Merge pull request #3687 from yandex/date-type-and-number-comparsion
...
Date type and number comparsion
2018-11-28 17:34:46 +03:00
Alexey Milovidov
52fea90a86
Removed useless code [#CLICKHOUSE-2]
2018-11-28 17:33:40 +03:00
Alexey Zatelepin
1b27fb046d
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/programs/server/Server.cpp
2018-11-28 16:47:07 +03:00
Alexey Milovidov
3c551b43b8
Updated comment [#CLICKHOUSE-2]
2018-11-28 16:40:24 +03:00
Alexey Zatelepin
9ae79c60e8
get rid of (ASTPtr *) in AlterCommands::apply [#CLICKHOUSE-3859]
2018-11-28 16:34:57 +03:00
Nikolai Kochetov
05ac77dbde
Added test with Date and numbers comparsion.
2018-11-28 15:10:01 +03:00
Alexey Zatelepin
ceea7bde2e
better names in ZooKeeperNodeCache [#CLICKHOUSE-3859]
2018-11-28 14:40:59 +03:00
proller
dd2371e071
CLICKHOUSE-4137 DictionaryFactory, DictionarySourceFactory ( #3653 )
...
* Split ComplexKeyCacheDictionary to faster compile (part2)
* Dictionaries as lib WIP
* wip
* clean
* Fix build with old capnp
* fix
* wip
* fixes
* fix
* clean
* clean
* clean
* wip
* wip
* wip
* flat
* wip
* cache
* clean
* wip
* faster
* fix style
* fixes
* clean
* clean
* Split CacheDictionary.cpp for faster compile
* fix
* fix
* Less memory usage while compiling
* missing file
* format
* Update registerDictionaries.h
* clean
2018-11-28 14:37:12 +03:00
Nikolai Kochetov
6bd61d17c9
Disable Date and numeric types comparsion.
2018-11-28 14:11:10 +03:00
Alexey Milovidov
0dfa73221c
Removed temporary compatibility fix for Yandex.Metrika. [#CLICKHOUSE-2]
2018-11-28 13:37:08 +03:00
root
6f699e9f94
b
2018-11-28 14:22:21 +08:00
root
5a120db014
Compatible with LowCardinality type data write
2018-11-28 14:19:45 +08:00
root
94164ef250
Compatible with LowCardinality type data write
2018-11-28 12:51:04 +08:00
root
c19199e23e
Merge remote-tracking branch 'master/master'
2018-11-28 12:46:25 +08:00
alexey-milovidov
e95bf5d888
Merge pull request #3681 from yandex/fix-low-cardinality-permutation
...
Fix low cardinality permutation
2018-11-27 22:40:38 +03:00
Alexey Milovidov
cdb272848c
Fixed typo in comment [#CLICKHOUSE-2]
2018-11-27 21:44:19 +03:00
Alexey Milovidov
b1bc7481d9
Whitespace #3603
2018-11-27 21:43:55 +03:00
alexey-milovidov
a12927a439
Merge pull request #3603 from vitlibar/CLICKHOUSE-4127
...
CLICKHOUSE-4127: Fix ALTER of destination table for the BUFFER engine.
2018-11-27 21:38:40 +03:00
Nikolai Kochetov
65e5494326
Fixed size for LowCardinality dictionary permutation.
2018-11-27 21:08:54 +03:00
alexey-milovidov
b77043c462
Merge pull request #3680 from yandex/background-processing-pool-fix-race-condition
...
Fixed race condition in BackgroundProcessingPool
2018-11-27 20:41:07 +03:00
Alexey Zatelepin
e085bc9816
adapt code of #3609 [#CLICKHOUSE-3859]
2018-11-27 20:07:10 +03:00
Ivan Lezhankin
470f96ce19
Minor refactoring
2018-11-27 19:45:45 +03:00
proller
f1791e94e2
Do not write preprocessed configs to /etc/ ( #2443 )
2018-11-27 19:11:46 +03:00
proller
1ea31e0491
Fix icu link #3631 ( #3671 )
2018-11-27 18:34:21 +03:00
Alexey Milovidov
dba43be6c8
Fixed race condition in BackgroundProcessingPool [#CLICKHOUSE-2]
2018-11-27 17:59:10 +03:00
Vitaly Baranov
44ca56c731
CLICKHOUSE-4127: Convert destination table's data when reading from
...
StorageBuffer.
2018-11-27 03:43:58 +03:00
Alexey Milovidov
2115c31dda
Fixed wrong exception message [#CLICKHOUSE-2]
2018-11-26 20:11:04 +03:00
alexey-milovidov
7e9e5c383a
Merge pull request #3670 from abyss7/CLICKHOUSE-3766
...
Rename method partition() → alterPartition()
2018-11-26 20:09:37 +03:00
alexey-milovidov
a7d75c527b
Merge pull request #3652 from yandex/unquote-partition
...
Don't quote single-field partition keys
2018-11-26 19:57:01 +03:00
alexey-milovidov
e00ce0bb57
Every function in its own file, part 7 ( #3666 )
...
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Every function in its own file, part 7 [#CLICKHOUSE-2]
* Fixed build #3666
2018-11-26 19:20:40 +03:00
Alexey Zatelepin
01501fa8db
correct column list for rewritten INSERT query into Distributed [#CLICKHOUSE-4161]
2018-11-26 17:57:25 +03:00
Ivan Lezhankin
73aa7f2027
Rename method partition() → alterPartition()
...
Also fix build with internal shared libraries.
2018-11-26 17:43:40 +03:00
Alexey Milovidov
e793a27cc3
Restored old test util #3665
2018-11-26 16:57:54 +03:00
Alexey Zatelepin
d3d9242462
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Parsers/ASTAlterQuery.h
dbms/src/Parsers/ParserAlterQuery.cpp
dbms/src/Storages/AlterCommands.cpp
dbms/src/Storages/AlterCommands.h
2018-11-26 16:01:48 +03:00
Alexey Zatelepin
3a3dda5ec5
use standard Tuple serialization [#CLICKHOUSE-4054]
2018-11-26 15:41:17 +03:00
Alexey Milovidov
5a0feee45e
Removed "conditional computations" feature, because it is not ready #2272
2018-11-26 04:39:04 +03:00
Alexey Milovidov
c77930fe30
Whitespaces [#CLICKHOUSE-2]
2018-11-26 03:56:50 +03:00
alexey-milovidov
0b2848b0f2
Merge pull request #3662 from yandex/fixed-error-in-lower-upper-utf8
...
Fixed error in lowerUTF8 and upperUTF8 functions
2018-11-26 02:24:41 +03:00
alexey-milovidov
5b1eaba276
Every function in its own file, part 6 ( #3661 )
...
* Every function in its own file, part 6 [#CLICKHOUSE-2]
* Every function in its own file, part 6 [#CLICKHOUSE-2]
* Every function in its own file, part 6 [#CLICKHOUSE-2]
2018-11-26 02:24:26 +03:00
Alexey Milovidov
4cb7f2896c
Fixed error in lowerUTF8 and upperUTF8 functions [#CLICKHOUSE-2]
2018-11-26 01:26:36 +03:00
chenxing.xc
ff6e849c0f
address review comments |
2018-11-25 12:22:01 +08:00
Alexey Milovidov
68e0a687c8
Removed unused method [#CLICKHOUSE-2]
2018-11-25 04:24:03 +03:00
Alexey Milovidov
5a045ff11c
Fixed error in URL functions [#CLICKHOUSE-2]
2018-11-25 03:31:24 +03:00
Alexey Milovidov
b53c1ea913
Removed useless include [#CLICKHOUSE-2]
2018-11-25 03:16:14 +03:00
Alexey Milovidov
af9ad0f8ae
Fixed bad code [#CLICKHOUSE-2]
2018-11-25 03:15:43 +03:00
Alexey Milovidov
141e9799e4
Fixed error with "extractURLParameter" function (read after buffer); improved performance; added support for zero bytes in URLs; renamed Chars_t type [#CLICKHOUSE-2]
2018-11-25 03:08:50 +03:00
Alexey Milovidov
73e3a7b662
Fixed bad code; added generic implementation for "arrayReverse" function; added test [#CLICKHOUSE-3]
2018-11-24 06:14:54 +03:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
Alexey Milovidov
e82241553a
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-24 04:20:37 +03:00
Alexey Milovidov
bbed8a8ca8
Fixed bad code [#CLICKHOUSE-3]
2018-11-24 04:20:27 +03:00
alexey-milovidov
bedca47bca
Merge pull request #3649 from yandex/low-cardinaliry-left-array-join
...
Low cardinaliry left array join
2018-11-24 04:16:38 +03:00