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
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
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
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 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 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
chenxing.xc
ff6e849c0f
address review comments |
2018-11-25 12:22:01 +08:00
Alexey Milovidov
7d6fffff48
More style checks [#CLICKHOUSE-3]
2018-11-24 04:48:06 +03:00
Alexey Milovidov
cc06488ddc
Whitespace #2601
2018-11-24 03:10:51 +03:00
alexey-milovidov
507990d5f2
Merge branch 'master' into master
2018-11-23 23:41:38 +03:00
Alexey Milovidov
dbbacf4f87
Added more style checks [#CLICKHOUSE-3]
2018-11-23 21:52:00 +03:00
alexey-milovidov
af013285e9
Merge branch 'master' into base64_functions
2018-11-23 21:33:56 +03:00
alexey-milovidov
0822f500f8
Merge pull request #3642 from yandex/odbc_bridge_die_with_server
...
ODBC bridge die with server
2018-11-23 16:44:53 +03:00
alexey-milovidov
c6bc4279ee
Merge pull request #3377 from s-mx/CLICKHOUSE-4032
...
Added support for column COMMENTs in table definition.
2018-11-23 16:43:58 +03:00
alexey-milovidov
429d65e4f7
Update StorageReplicatedMergeTree.h
2018-11-23 01:08:00 +03:00
alexey-milovidov
6d7aa73e44
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:07:35 +03:00
alexey-milovidov
9580a87409
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:06:02 +03:00
alexey-milovidov
6f1846f1cc
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:05:36 +03:00
alexey-milovidov
65e6d447b8
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:04:25 +03:00
alexey-milovidov
4cfb51b14e
Update StorageReplicatedMergeTree.cpp
2018-11-23 01:03:51 +03:00
Alexey Milovidov
c0e97a97cd
Resolved inconsistencies in documentation #3539
2018-11-23 01:00:03 +03:00
Alexey Milovidov
d3bb69be74
More correct documentation + miscellaneous name change #3644
2018-11-23 00:27:52 +03:00
alexey-milovidov
49d2d8a1b8
Merge pull request #3644 from proller/fix4
...
Add VERSION_INT (ClickHouse version in integer format like 18014009) …
2018-11-23 00:22:19 +03:00
alexey-milovidov
2c2d75cceb
Don't allow exceptions without code ( #3645 )
...
* Don't allow exceptions without code #3633
* Don't allow exceptions without code #3633
2018-11-23 00:19:58 +03:00
alexey-milovidov
b680029030
Update ColumnsDescription.cpp
2018-11-22 22:36:56 +03:00
proller
f410c93fb1
Add VERSION_INT (ClickHouse version in integer format like 18014009) to system.metrics and system.build_options
2018-11-22 21:24:38 +03:00
alesapin
1e879850bb
Kill odbc-bridge with clickhouse-server
2018-11-22 18:59:00 +03:00
Sabyanin Maxim
3a67b505c5
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-4032
2018-11-22 16:54:10 +03:00
Sabyanin Maxim
060fce3899
make ReplicatedMergeTree work with comments. ignore empty comments when make column_comments hashmap
2018-11-22 16:51:43 +03:00
Alexey Milovidov
ab5d76fc42
Fixed error introduced in #3553 and prevent it happening
2018-11-21 23:56:37 +03:00
proller
1d40c2c871
Better link and deps ( #3631 )
...
* try fix 1
* Better deps
* fix
* fix
* fix
* Update CMakeLists.txt
* Update CMakeLists.txt
* fix
* fix
* fix
* disable old
* Update find_odbc.cmake
2018-11-21 22:20:27 +03:00
小路
0bf4aa46db
Merge branch 'master' into click_update
2018-11-21 22:40:05 +08:00
alexey-milovidov
5038f13b08
Merge pull request #3514 from abyss7/CLICKHOUSE-3766
...
Implement 'ALTER … FREEZE' command
2018-11-21 07:17:21 +03:00
alexey-milovidov
5cf9beabe3
Update StorageDistributed.cpp
2018-11-21 07:02:56 +03:00
alexey-milovidov
f67e54dbf3
Merge pull request #3594 from yandex/CLICKHOUSE-4112
...
Add http connection pool between replicas
2018-11-21 06:57:22 +03:00
alesapin
57ea89c5f3
Merge branch 'master' into CLICKHOUSE-4112
2018-11-20 20:23:08 +03:00
Ivan Lezhankin
1e070a7c51
Move FREEZE_ALL command source code inside |PartitionCommand|
2018-11-20 20:13:59 +03:00
Marek Vavruša
8fad726d95
Added null guards for all CurrentThread::attachToIfDetached()
...
refs #3622
2018-11-20 09:10:34 -08:00
Ivan Lezhankin
74fe350451
Refactor partition commands handling into separate interface method.
2018-11-20 17:59:34 +03:00
alesapin
00f1329c59
Merge branch 'master' of github.com:yandex/ClickHouse
2018-11-20 17:04:07 +03:00
alexey-milovidov
a008a41374
Merge pull request #3609 from s-mx/CLICKHOUSE-4090
...
Add primary_key, order_key, partition_key and sample_key to system.tables.
2018-11-20 16:39:54 +03:00
Sabyanin Maxim
7d175e4666
Merge branch 'CLICKHOUSE-4090' of github.com:s-mx/ClickHouse into CLICKHOUSE-4090
2018-11-20 15:22:54 +03:00
Sabyanin Maxim
e3fc18fcb8
add getters of expressions names in StorageReplicatedMergeTree
2018-11-20 15:19:12 +03:00
root
3df876d541
better
2018-11-20 19:02:45 +08:00
root
e7e94826a7
Merge branch 'update_22' of https://github.com/nicelulu/ClickHouse into update_22
2018-11-20 18:59:19 +08:00
root
811c7e9aef
better
2018-11-20 18:55:40 +08:00
root
f69524cf49
better
2018-11-20 18:50:42 +08:00
小路
74579138b8
Merge branch 'click_update' into update_22
2018-11-20 16:51:55 +08:00
root
cc7ec374d5
better
2018-11-20 16:10:33 +08:00
Sabyanin Maxim
4ac727e7ad
fix style
2018-11-19 20:21:34 +03:00
alexey-milovidov
72fb78a0f8
Update StorageBuffer.cpp
2018-11-19 18:20:34 +03:00
alexey-milovidov
9a3701cc50
Update StorageBuffer.cpp
2018-11-19 18:20:05 +03:00
alexey-milovidov
33eb64269f
Update StorageBuffer.cpp
2018-11-19 18:14:44 +03:00
alexey-milovidov
5a40a67500
Update StorageSystemColumns.cpp
2018-11-19 18:07:43 +03:00
alexey-milovidov
6ad4519c81
Update IStorage.h
2018-11-19 18:05:48 +03:00
Sabyanin Maxim
08fc057a15
make is_in_primary_key and etcetera work. add test.
2018-11-19 17:31:16 +03:00
chenxing.xc
76843c2dc0
hdfs read support
2018-11-19 16:17:09 +08:00
Vitaly Baranov
a029034d8c
CLICKHOUSE-4127: Fix ALTER of destination table for the BUFFER engine.
2018-11-19 09:14:36 +03:00
nicelulu
f96111b423
Fixed the way to get username and password.
2018-11-17 22:03:32 +08:00
chertus
b4b58b292f
remove hack for StorageDistributed & insert_sample_with_metadata
2018-11-16 22:19:47 +03:00
alesapin
2a4a8d180b
Try to change stupid naming
2018-11-16 16:33:43 +03:00
alesapin
0266f058c9
Merge branch 'master' into CLICKHOUSE-4112
2018-11-16 16:21:27 +03:00
alesapin
d4ce674b93
Add http connection pool between replicas
2018-11-16 16:15:17 +03:00
proller
160ffb2283
Build fixes (clang 7.0.0+) ( #3582 )
2018-11-16 15:22:51 +03:00
Sabyanin Maxim
49dc9939d4
fix serializing of ColumnsDescription
2018-11-16 15:01:52 +03:00
Gleb Kanterov
1b8e5f9b47
Optimization to skip unused shards for Distributed engine
...
Hide behind `distributed_optimize_skip_select_on_unused_shards` setting.
2018-11-16 10:21:06 +00:00
chertus
65d34ca231
do not override current_database in context [CLICKHOUSE-3578]
2018-11-15 18:03:13 +03:00
Sabyanin Maxim
d9e6789f78
make MergeTree work with comments
2018-11-15 16:12:27 +03:00
Sabyanin Maxim
035049d1a8
make modify column comment work
2018-11-15 01:46:39 +03:00
chertus
ebf3d60186
column defaults without CapNProto [CLICKHOUSE-3578]
2018-11-14 21:20:16 +03:00
Alexey Zatelepin
b071547b2d
add checks for ALTER MODIFY ORDER BY [#CLICKHOUSE-3859]
2018-11-14 20:12:32 +03:00
Alexandr Krasheninnikov
177a00f09a
Merge https://github.com/yandex/ClickHouse into base64_functions
2018-11-14 12:32:42 +03:00
Sabyanin Maxim
3e4c981db2
small changes
2018-11-13 22:17:40 +03:00
Alexey Zatelepin
29b34365e6
Merge branch 'master' into alter-order-by
...
Conflicts:
dbms/src/Interpreters/ExpressionAnalyzer.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataSelectExecutor.cpp
2018-11-13 16:27:19 +03:00
Alexey Zatelepin
2cc0aae82c
rearrange AST members in MergeTreeData [#CLICKHOUSE-3859]
2018-11-13 16:15:17 +03:00
Alexey Zatelepin
7167bfd7b3
fix prewhere with FINAL for VersionedCollapsingMergeTree [#CLICKHOUSE-3859]
2018-11-13 16:15:12 +03:00
Alexey Zatelepin
8b85822192
store original key ASTs, and not extracted ASTExpressionLists [#CLICKHOUSE-3859]
2018-11-13 16:14:44 +03:00
Alexey Zatelepin
31a6a6b4fd
calculate ReplicatedMergeTreeTableMetadata diff [#CLICKHOUSE-3859]
2018-11-13 16:13:55 +03:00
Alexey Zatelepin
74c48ed226
apply metadata changes on startup [#CLICKHOUSE-3859]
2018-11-13 16:13:50 +03:00
Alexey Zatelepin
106800b857
apply changes in ReplicatedMergeTreeAlterThread [#CLICKHOUSE-3859]
2018-11-13 16:13:40 +03:00
Alexey Zatelepin
4036ec83af
write metadata znode in StorageReplicatedMergeTree::alter() [#CLICKHOUSE-3859]
2018-11-13 16:13:34 +03:00
Alexey Zatelepin
0c0c4fd28d
add sorting_and_primary_keys_independent [#CLICKHOUSE-3859]
2018-11-13 16:13:19 +03:00
Alexey Zatelepin
07a22100cb
ALTER ORDER BY for ordinary MergeTree [#CLICKHOUSE-3859]
2018-11-13 16:13:14 +03:00
Alexey Zatelepin
02337242b5
ALTER MODIFY ORDER BY syntax [#CLICKHOUSE-3859]
2018-11-13 16:13:10 +03:00
Alexey Zatelepin
c4bf38ef07
comments [#CLICKHOUSE-3859]
2018-11-13 16:13:06 +03:00
Alexey Zatelepin
f4c26e78d2
renames [#CLICKHOUSE-3859]
2018-11-13 16:13:01 +03:00
Alexey Zatelepin
0fa86162d9
separate sorting key and primary key, allow setting primary key separately [#CLICKHOUSE-3859]
2018-11-13 16:12:55 +03:00
Alexey Zatelepin
9a92c0a55c
sort key is distinct from primary key [#CLICKHOUSE-3859]
2018-11-13 16:12:49 +03:00
Alexey Zatelepin
580146eedb
add primary key syntax [#CLICKHOUSE-3859]
2018-11-13 16:12:14 +03:00
Sabyanin Maxim
6296f58186
fix typo
2018-11-13 15:22:32 +03:00
Sabyanin Maxim
befaea63d2
add is_mutable method to AlterCommand. change comment column test
2018-11-13 15:08:07 +03:00
Sabyanin Maxim
b869cfed9a
fixed couple of mistakes.
2018-11-12 18:45:35 +03:00
chertus
9966f975a3
Merge branch 'master' into issue-3578
2018-11-12 17:58:00 +03:00
chertus
2fe3cdb3f5
restore lost commits [CLICKHOUSE-3578]
2018-11-12 17:52:30 +03:00
Ivan Lezhankin
4eb0f33ec2
Add some locks on freeze and support |freezeAll()| for replicated merge-tree.
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
baf9566413
Fix style
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
5d3da110a8
Refactor |freezePartition()| and |freezeAll()|
2018-11-12 15:26:15 +03:00
abyss7
0cdb808ded
Fix comments
2018-11-12 15:26:15 +03:00
Ivan Lezhankin
935615a647
Reimplement FREEZE command.
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
a837060454
Lock table structure before freezing.
2018-11-12 15:26:14 +03:00
Ivan Lezhankin
03e6a29eb2
Implement 'ALTER … FREEZE' command.
...
Need some tests!
2018-11-12 15:26:14 +03:00
Sabyanin Maxim
94594d8c06
add order_key section in system.tables
2018-11-11 18:44:21 +03:00
Sabyanin Maxim
9befbd94e4
is_in_order_key, is_in_partition_key, is_in_sample_key in system.columns works, is_in_primary_key not yet
2018-11-09 18:39:21 +03:00
Nikolai Kochetov
1e9aeba603
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-09 18:01:18 +03:00
Sabyanin Maxim
ac6aaa37b5
add is_primary_key, is_order_key, is_partition_key, is_sampling_key sections in system.columns
2018-11-09 15:02:08 +03:00
Sabyanin Maxim
51c7284583
add getSecondaryExpression
2018-11-09 12:41:52 +03:00
Sabyanin Maxim
c9d8dc6171
add primary_key, partition_key, sampling_key sections in system.tables. add getPartitionExpression method in IStorage.
2018-11-08 20:45:41 +03:00
Nikolai Kochetov
726ae0cb9a
Split ExpressionAnalyzer and SyntaxAnalyzer.
2018-11-08 19:47:12 +03:00
Sabyanin Maxim
f8f2779f7b
make ColumnComment just a hashmap
2018-11-08 15:03:42 +03:00
Sabyanin Maxim
dacd999d4f
Merge branch 'master' into CLICKHOUSE-4032
2018-11-06 16:50:07 +03:00
Sabyanin Maxim
bdcdc15b1e
fixed comment test.
...
remove ColumnComment struct.
style fixes
2018-11-06 16:26:43 +03:00
chertus
2f5fb25de6
Merge branch 'master' into joins
2018-11-02 13:39:19 +03:00
proller
c2a818b64d
StorageSystemContributors clean ( #3524 )
...
* StorageSystemContributors clean
* Fix
2018-11-01 21:01:10 +03:00
alexey-milovidov
b1db9ec23c
Merge pull request #3436 from amosbird/master
...
Flexible fields assignment
2018-11-01 20:22:28 +03:00
alexey-milovidov
4dedead38f
Update StorageSystemDataTypeFamilies.cpp
2018-11-01 20:21:43 +03:00
alexey-milovidov
1a4a99377a
Update StorageSystemFunctions.cpp
2018-11-01 20:21:15 +03:00
alexey-milovidov
e10fd083ef
Update StorageSystemFunctions.cpp
2018-11-01 20:20:41 +03:00
alexey-milovidov
ac10a55b6f
Update StorageSystemDataTypeFamilies.cpp
2018-11-01 20:20:14 +03:00
proller
f86d1a7034
CONTRIB-254 Arcadia fixes ( #3475 )
...
* Macos: set ENABLE_EMBEDDED_COMPILER=0 by default (because contrib/llvm temporary broken under macos)
* \n
* arcadia fix
* fix arcadia link
* wip
* wip
* wip
* fix
* wip
* wip
* fix
* try use users from server dir
* Revert "try use users from server dir"
This reverts commit 79b2c6fd9c
.
* Fix logging
* fix
* Update ZooKeeperImpl.h
2018-11-01 20:07:20 +03:00
chertus
d6defafad2
use AddDefaultDatabaseVisitor for views [CLICKHOUSE-3145]
2018-11-01 17:49:37 +03:00
proller
71403c3ff8
StorageSystemContributors.sh debug ( #3491 )
...
* Sql fuzzy test
* wip
* wip
* wip
* wip
* wip
* Build fixes
* better
* bugs
* wip
* fix
* Fix test
* build fixes
* better
* wip
* fix test
* StorageSystemContributors.sh debug
* debug
* wip
* more
* Fix jemalloc include
* more
2018-11-01 17:07:14 +03:00
proller
a7437b93a9
Commited StorageSystemContributors.generated.cpp ( #3510 )
...
* CLICKHOUSE-4085 system.contributors
* fi
* Fix random
* Commited StorageSystemContributors.generated.cpp
* fix
* Update CMakeLists.txt
2018-11-01 17:05:37 +03:00
Artem Zuikov
eb535c4b9b
Merge pull request #3500 from 4ertus2/joins
...
refactoring: one place for db and table extraction from AST
2018-11-01 14:59:56 +03:00
chertus
3931a4db5c
Merge branch 'master' into joins
2018-10-31 18:11:23 +03:00
alesapin
791a1422de
Enable merge with DIRECT_IO when summary size of participating parts more than 10GB
2018-10-31 12:24:58 +03:00
chertus
4ff0391ca6
DatabaseAndTableWithAlias - the only place for db & table expraction from AST
2018-10-30 19:31:21 +03:00
chertus
d2518fdb3f
more refactoring: funcs to extract database_and_table from AST
2018-10-29 22:04:28 +03:00
Alex Zatelepin
83ac918bab
Merge pull request #3477 from hotid/master
...
stop generating empty WHERE () section in mysql queries (#3431 )
2018-10-29 18:23:14 +03:00
Alex Zatelepin
fc99b7d389
style fixes
2018-10-29 17:17:58 +03:00
Sabyanin Maxim
73e9f5057d
fix code style checker errors
2018-10-27 23:39:59 +03:00
Sabyanin Maxim
65bd40e290
Merge branch 'master' of github.com:yandex/ClickHouse into CLICKHOUSE-4032
2018-10-27 22:33:52 +03:00
proller
c35c979285
CLICKHOUSE-4085 system.contributors ( #3452 )
...
* CLICKHOUSE-4085 system.contributors
* fi
* Fix random
2018-10-26 20:43:50 +03:00
hotid
f22779ad15
stop generating empty WHERE () section in mysql queries
2018-10-26 20:14:43 +03:00
Amos Bird
3cf2177268
Flexible fields assignment
...
Field f;
before:
f = Int64(-42);
after:
f = -42;
2018-10-24 08:47:33 +08:00
alexey-milovidov
bb00bb8592
Merge pull request #3405 from yandex/CLICKHOUSE-2211
...
CLICKHOUSE-2211: Fix aio reading (with correct buffer size), reduce M…
2018-10-24 01:37:05 +03:00
alesapin
72e435893d
Better comment
2018-10-23 14:19:01 +03:00
Alexey Milovidov
bac6b6f381
Fixed error #2863
2018-10-23 11:19:47 +03:00
Alexey Milovidov
b8cfa77ea0
Fixed build [#CLICKHOUSE-2]
2018-10-22 23:58:16 +03:00
alexey-milovidov
98c2ed582c
Merge pull request #2863 from VadimPE/ISSUES-2581
...
ISSUES-2581 fix SELECT with sequential consistency
2018-10-22 23:55:33 +03:00
alexey-milovidov
2deb510c59
Merge branch 'master' into master
2018-10-22 23:45:26 +03:00
alexey-milovidov
00d49602d3
Merge pull request #3404 from CurtizJ/CLICKHOUSE-3274
...
Add lock for .inner. table while insert. [CLICKHOUSE-3274]
2018-10-22 23:32:12 +03:00
VadimPE
31794b7a46
fix codestyle
2018-10-22 14:58:56 +03:00
proller
2659e94573
Fix use after pop_back()
2018-10-19 20:27:38 +03:00
proller
67eb30d192
CLICKHOUSE-4074 Fix merge_tree_uniform_read_distribution=0
2018-10-19 19:31:51 +03:00
proller
abfe675097
Build fixes ( #3419 )
2018-10-18 22:28:05 +03:00
Marek Vavruša
37e03bd938
StorageKafka: check dependencies recursively, add max_block setting
...
Changes:
* Check table dependencies recursively before starting streaming
* Use actual number of created consumers when streaming
* Add size limits hint to Kafka consumer stream
* Configurable `kafka_max_block_size` per table
2018-10-18 09:20:34 -07:00
VadimPE
f2db463ab0
fix bug with merge part, wich us inserted with quorum
2018-10-18 17:14:07 +03:00
VadimPE
451114c9a3
rename partition -> part
2018-10-18 15:16:53 +03:00
VadimPE
4a93d3b836
fix addedparts
2018-10-18 14:51:40 +03:00
alesapin
87bb06fdd8
CLICKHOUSE-2211: Add exception for impossible case
2018-10-18 12:24:16 +03:00
alesapin
fe6406eac1
CLICKHOUSE-2211: Fix accident delition
2018-10-17 19:18:14 +03:00
alesapin
d78d569d42
CLICKHOUSE-2211: Fix aio reading (with correct buffer size), reduce MergeTreeReader creation and add useless test
2018-10-17 17:56:15 +03:00
CurtizJ
d81ed27004
add lock for .inner. table
2018-10-17 17:08:52 +03:00
Alexey Milovidov
99a64d3b92
Presumably better #2278
2018-10-17 06:13:00 +03:00
Alexey Milovidov
7c4d24ce39
Added comment [#CLICKHOUSE-3901]
2018-10-17 00:25:45 +03:00
Alexey Milovidov
98543b7c41
Fixed vertical merge of multidimensional Nested structures [#CLICKHOUSE-3901]
2018-10-17 00:22:41 +03:00
Sabyanin Maxim
e050bc0428
Merge branch 'master' into CLICKHOUSE-4032
2018-10-14 18:35:45 +03:00
Sabyanin Maxim
ab050c8466
add comment section in column declaration.
...
add comment column type in alter method.
add comment section in system.columns.
2018-10-14 18:30:06 +03:00
Kirill Shvakov
5600c35847
check drop type
2018-10-14 00:37:16 +03:00
Kirill Shvakov
0f509b9eb5
ReplicatedMergeTree: send drop request to the leader replica
2018-10-13 23:58:04 +03:00
Alexey Milovidov
f720a5bf95
Fixed typos in code #3373
2018-10-13 17:33:43 +03:00
Vadim
25b100c1f0
Update StorageReplicatedMergeTree.cpp
2018-10-10 19:23:50 +03:00
VadimPE
4db6eab5a3
ISSUES-2581 fix name
2018-10-10 19:20:15 +03:00
Alexey Zatelepin
d9a0432c6c
don't quote single-field partition keys #3109 [#CLICKHOUSE-4054]
2018-10-10 18:57:04 +03:00
VadimPE
d4a56af660
ISSUES-2581 fix bug with new partition
2018-10-10 16:22:55 +03:00
alesapin
8591038748
Fix style and clang build
2018-10-10 11:38:54 +03:00
alexey-milovidov
1472e3ae66
Merge pull request #3210 from alex-krash/jdbc-bridge
...
External database access unification (jdbc/odbc bridges)
2018-10-10 02:26:56 +03:00
alesapin
32c6d0c699
Merge pull request #3182 from VadimPE/CLICKHOUSE-3947
...
CLICKHOUSE-3947 add LIKE and IN () for ODBC and MySQL
2018-10-09 20:12:32 +03:00
Alexey Milovidov
227ff8c606
Fixed comment [#CLICKHOUSE-2]
2018-10-09 17:30:05 +03:00
VadimPE
bcf8d5517e
CLICKHOUSE-3947 fix const
2018-10-09 17:21:19 +03:00
VadimPE
da712d0036
CLICKHOUSE-3947 fix copy-paste and const
2018-10-09 17:13:08 +03:00
alexey-milovidov
ba62a24926
Merge pull request #3283 from yandex/FileOpenFixes_CLICKHOUSE-3943_
...
File open fixes clickhouse 3943
2018-10-05 00:00:47 +03:00
alexey-milovidov
b9d1eb4154
Merge pull request #3298 from yandex/fix-prewhere-with-altered-columns
...
Fix prewhere with altered columns
2018-10-04 23:57:11 +03:00
Nikolai Kochetov
b1fa3fab9d
Fix prewhere whith final. #2827
2018-10-04 21:18:54 +03:00
alesapin
5a218a7363
CLICKHOUSE-3943: Change naming
2018-10-04 11:52:56 +03:00
Nikolai Kochetov
a6d0094835
Fix readnig missing column with prewhere. #2827
2018-10-04 10:51:06 +03:00
alesapin
252f9d0080
CLICKHOUSE-3943: Style
2018-10-03 20:12:38 +03:00
alesapin
441069fc5c
[WIP] CLICKHOUSE-3943: Store last_readed_mark in MergeTreeThreadBlockInputStream and don't recreate reader if it stopped in appropriate position
2018-10-03 20:10:23 +03:00
VadimPE
40350c47e1
CLICKHOUSE-3947 del unused result_string
2018-10-03 15:10:35 +03:00
VadimPE
8df97e32af
CLICKHOUSE-3947 fix bug with query.clone()
2018-10-03 15:03:39 +03:00
Alexandr Krasheninnikov
c7fee9374c
fix formatting errors according code review
2018-10-03 13:44:43 +03:00
VadimPE
4152c34fbb
CLICKHOUSE-4021 fix build
2018-10-03 13:08:02 +03:00
alexey-milovidov
94b0432faa
Merge pull request #3262 from proller/fix17
...
Arcadia sync
2018-10-01 22:00:01 +03:00
alexey-milovidov
7c6b08c21c
Merge pull request #3251 from CurtizJ/table-db-macros
...
Support {database} and {table} macros in ReplicatedMergeTree [CLICKHOUSE-3897]
2018-10-01 21:45:52 +03:00
proller
ca03cd6606
Sync with arcadia
2018-10-01 18:43:48 +03:00
Vadim
0849e1e218
Update transformQueryForExternalDatabase.cpp
2018-10-01 17:06:36 +03:00
VadimPE
d0981b733d
CLICKHOUSE-3947 add recursive search for constant expressions
2018-10-01 16:27:39 +03:00
CurtizJ
ed77e40dfe
fix implicit macros
2018-10-01 12:01:50 +03:00
alexey-milovidov
fd04b2b89a
Merge pull request #3215 from vavrusa/fix-kafka-lockups
...
Storages/Kafka: fixed deadlocks, moved to background pool
2018-10-01 04:30:03 +03:00
alexey-milovidov
bb0f76dd25
Update StorageKafka.cpp
2018-10-01 04:29:17 +03:00
alexey-milovidov
b9e6b02719
Update StorageKafka.cpp
2018-10-01 04:26:52 +03:00
Nikolai Kochetov
97add69825
Rename WithDictionary to LowCardinality.
2018-09-28 13:44:59 +03:00
Alexander Krasheninnikov
ceea4b9b33
New bridge interaction, quote identifier via api
2018-09-28 05:46:33 +03:00
Alexandr Krasheninnikov
4b431264db
Implement quote getter from ODBC
2018-09-27 18:23:42 +03:00
CurtizJ
90240cb64b
support database and table macros
2018-09-27 13:01:10 +03:00
alexey-milovidov
b6e53d22e1
Merge pull request #3200 from yandex/low-cardinality-function-result-cache
...
Added cache for low cardinality function result.
2018-09-26 18:12:48 +03:00
Marek Vavruša
ea32434888
Storages/Kafka: fixed deadlocks, moved to background pool
...
This fixes two deadlocks in Kafka engine found previously:
* When exception is thrown before starting reading, consumer
was never returned to the storage. Now it is claimed only
when actually starting reading.
* Fixed lockup on deinitialization when consumer only unsubscribed,
but didn't close, and the endine then timeouted when waiting for
consumer destruction.
This also moves the stream thread to background worker pool.
The reason for that is that it will compete with other tasks for
time, so it will form a backpressure on insertion when the system
is busy.
2018-09-25 22:51:07 -07:00
Alexandr Krasheninnikov
647d1041f1
Implement jdbc/idbc bridge connectors
2018-09-25 17:29:44 +03:00
Nikolai Kochetov
d526859011
Added cache for low cardinality function result. [#CLICKHOUSE-3904]
2018-09-25 16:48:52 +03:00
VadimPE
28102bc3b5
ISSUES-2581 get pointer to max_blocls
2018-09-24 12:53:28 +03:00
alexey-milovidov
4185351c8d
Merge pull request #3197 from yandex/fix_odbc_table_function
...
Fix odbc table function
2018-09-23 18:48:02 +03:00
alesapin
7c47644f7b
Reuse base class function
2018-09-23 12:16:16 +03:00
alesapin
2aee8a5814
Fix odbc table function
2018-09-22 17:58:03 +03:00
alexey-milovidov
65f7c390f0
Merge pull request #3159 from zhang2014/fix/ISSUES-3134
...
ISSUES-3134 fix merge and distributed engine query stage
2018-09-22 00:09:06 +03:00
Alexey Zatelepin
c2c12f22f7
try to immediately delete the part after checksums mismatch [#CLICKHOUSE-2837]
2018-09-21 19:07:21 +03:00
Vadim
8c413e3f1f
Update ReplicatedMergeTreeQuorumAddedParts.h
2018-09-21 18:20:31 +03:00
VadimPE
17aa0356e5
del include
2018-09-21 18:15:35 +03:00
VadimPE
33545a41b6
fix style. And del getMaxBlock...()
2018-09-21 18:07:43 +03:00
VadimPE
8b8697bc5d
Merge remote-tracking branch 'origin/master' into ISSUES-2581
2018-09-21 17:11:57 +03:00
Alexey Zatelepin
230a9fff2d
Write the columns list of the resulting part in the same order as all_columns [#CLICKHOUSE-13]
2018-09-21 15:40:34 +03:00
VadimPE
60653fc042
CLICKHOUSE-3947 fix style
2018-09-21 14:33:58 +03:00
zhang2014
e0e805b1f6
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 11:19:25 +08:00
zhang2014
8a8189c7e9
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 09:08:44 +08:00
zhang2014
80d83bb50f
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 09:08:44 +08:00
zhang2014
882125dd6d
ISSUES-3134 fix merge and distributed engine query stage
2018-09-21 09:08:44 +08:00
alexey-milovidov
5d3027d4d0
Merge pull request #3171 from yandex/fix_segfault_on_incomplete_block
...
Reorder Squashing and adding default output stream in insert
2018-09-20 21:11:45 +03:00
alexey-milovidov
a2d8ee1caa
Merge pull request #3183 from 4ertus2/refactoring
...
refactoring: hide ASTIdentifier kind
2018-09-20 20:38:06 +03:00
VadimPE
3547334ba5
fix
2018-09-20 17:39:02 +03:00
VadimPE
c377389f62
CLICKHOUSE-3947 add LIKE and IN ()
2018-09-20 17:34:30 +03:00
Alexey Zatelepin
0ec0a24bc9
fix use of temp variable after it gets out of scope
2018-09-20 16:55:22 +03:00
chertus
6442b5b167
refactoring: hide ASTIdentifier kind
2018-09-20 16:13:33 +03:00
alesapin
b87a084f38
Strict order of evaluated and added columns
2018-09-20 14:16:15 +03:00
VadimPE
89d408224b
fix bug with part_name
2018-09-19 18:07:20 +03:00
VadimPE
2396b44519
fix
2018-09-19 17:44:30 +03:00
VadimPE
66b4a606d5
fix bug with add new partition in quorum
2018-09-19 17:34:41 +03:00
Alexey Zatelepin
b7cb8d1ae1
write correct columns list when UPDATEd part doesn't contain all columns [#CLICKHOUSE-13]
2018-09-19 16:04:52 +03:00
VadimPE
f05d93897b
Del old class
2018-09-19 14:10:56 +03:00
VadimPE
17ffa8c310
fix class for added parts
2018-09-19 14:08:04 +03:00
VadimPE
96b117cb00
Revert "Update ReplicatedMergeTreeQuorumWriter.h"
...
This reverts commit e3add7f0c7
.
2018-09-19 13:23:52 +03:00
Nikolai Kochetov
501940fa7e
Fix reading from merge over distributed with prewhere.
2018-09-18 22:01:29 +03:00
alexey-milovidov
ded83c215c
Merge pull request #3150 from splichy/fix-storage-kafka-arg-schema
...
Fix Storage Kafka: Schema positional argument number
2018-09-17 21:49:48 +03:00
alexey-milovidov
13779bc75d
Merge pull request #3152 from zhang2014/fix/ISSUES-3149
...
ISSUES-3149 fix incorrectly masks rows in views
2018-09-17 18:57:47 +03:00
zhang2014
745696b888
ISSUES-3149 fix incorrectly masks rows in views
2018-09-17 23:30:15 +08:00
Vadim
e3add7f0c7
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 16:05:20 +03:00
Vadim
3fabac31f6
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 16:02:30 +03:00
Vadim
3b155638a0
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 15:54:20 +03:00
Vadim
df9a01585a
Update ReplicatedMergeTreeQuorumWriter.h
2018-09-17 15:51:42 +03:00
Vadim
4dee095b9d
Update MergeTreeDataSelectExecutor.cpp
2018-09-17 15:43:14 +03:00
Vadim
204e1d437f
Merge branch 'master' into ISSUES-2581
2018-09-17 15:30:08 +03:00
VadimPE
5defbadb4a
Add new class for write new parts
2018-09-17 15:28:29 +03:00
Vojtech Splichal
5aca7f3c6e
Fix Storage Kafka: Schema positional argument number
...
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
2018-09-17 13:01:10 +02:00
Alexey Milovidov
7f27f0e4ca
Fixed build #3146
2018-09-17 06:44:29 +03:00
Alexey Milovidov
5e3b507bd6
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 06:09:56 +03:00