Vitaliy Lyudvichenko
eff3588f28
Rename DROP COLUMN FROM PARTITION -> CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-2896]
2017-06-22 16:18:19 +03:00
Alexey Milovidov
5c322f5756
Loosened threshold on amount of replica inconsistency to refuse server startup [#CLICKHOUSE-3076].
2017-06-21 22:07:08 +03:00
Alexey Milovidov
f16eaa99a1
Fixed error with unusual case of ARRAY JOIN [#METR-25109].
2017-06-21 21:21:37 +03:00
Alexey Milovidov
4738094d7e
Fixed error when dynamically compiled .so file is broken [#METR-25550].
2017-06-21 20:31:22 +03:00
Alexey Milovidov
6df5d556e5
Changed namespace [#DEVTOOLS-3381].
2017-06-21 11:35:38 +03:00
Alexey Milovidov
a99f25f2a0
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-21 04:24:10 +03:00
Alexey Milovidov
604de2bfeb
Better [#DEVTOOLS-3381].
2017-06-21 04:24:05 +03:00
Vitaliy Lyudvichenko
8b72f573d8
Get rid of SET GLOBAL command. [#MTRSADMIN-3068]
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
2167e4efdd
Removed SET GLOBAL query. [#MTRSADMIN-3068]
...
It even was not supported properly in console client.
2017-06-20 22:26:59 +03:00
Vitaliy Lyudvichenko
353dba545d
Correct cascade of user setting calculation. [#MTRSADMIN-3068] [#CLICKHOUSE-2906]
2017-06-20 22:26:59 +03:00
proller
9c7d30e0df
Fix missing includes
2017-06-20 17:16:51 +03:00
Георгий Кондратьев
a736ef618a
Put ClickHouse variant of CityHash into DB namespace [#DEVTOOLS-3381]
...
This avoids symbol conflict when linking external applications that use another
variant of CityHash in the global namespace with ClickHouse libraries.
2017-06-20 12:25:16 +03:00
Vitaliy Lyudvichenko
534b766250
CREATE of MergeTree checks that data dir is empty. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
515ffa5262
Add extra check. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Vitaliy Lyudvichenko
a098fb170a
Avoid creating multiple global Context. [#CLICKHOUSE-3083]
2017-06-20 10:49:18 +03:00
Alexey Milovidov
f578bbd459
Merge branch 'master' of github.com:yandex/ClickHouse
2017-06-19 23:06:53 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Vitaliy Lyudvichenko
b772eaa3a8
Resolved #891 . Fixed aliases for empty scalar subqueries. [#CLICKHOUSE-3]
2017-06-19 22:40:12 +03:00
Alexey Milovidov
b0c0432b71
Fixed build [#CLICKHOUSE-31].
2017-06-19 06:18:30 +03:00
Alexey Milovidov
eb47356e4f
Qualified names: continued [#CLICKHOUSE-31].
2017-06-19 06:05:05 +03:00
Alexey Milovidov
6fe3e432c5
Implemented qualified identifiers in a bad way [#CLICKHOUSE-31].
2017-06-19 05:14:18 +03:00
Alexey Milovidov
f51db5e1f6
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:55:46 +03:00
Alexey Milovidov
d64f2beaf8
Fixed build [#CLICKHOUSE-3044].
2017-06-18 08:43:29 +03:00
Vitaliy Lyudvichenko
aef0bf7e2e
Fix trying to load database.sql from incorrect path. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
Vitaliy Lyudvichenko
67fdd0f544
Load the system database first. [#CLICKHOUSE-3044]
2017-06-16 19:08:24 +03:00
alexey-milovidov
43a18b164d
Merge pull request #883 from yandex/fix-merge-global-in
...
Fix GLOBAL IN for Merge table over Distributed tables
2017-06-15 23:09:51 +03:00
Alexey Zatelepin
8ee85e6440
calculate isRemote() from underlying tables of StorageMerge [#CLICKHOUSE-2911]
2017-06-15 22:24:59 +03:00
Alexey Milovidov
9bf083625d
Removed support for QuickLZ (obsolete) [#CLICKHOUSE-2].
2017-06-15 21:21:59 +03:00
Vitaliy Lyudvichenko
6d74a5f5d1
Resolves #851 . Table was in shutdown state after aborted drop. [#CLICKHOUSE-2184]
2017-06-13 22:27:18 +03:00
Alexey Milovidov
a782f81f8f
Moved common code from Functions; fixed build after merge [#CLICKHOUSE-2].
2017-06-13 07:45:30 +03:00
alexey-milovidov
a669136ac2
Merge branch 'master' into CLICKHOUSE-5
2017-06-13 07:30:36 +03:00
Alexey Milovidov
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03:00
Alexey Milovidov
38885d00a3
Merge branch 'storage-startup-method'
2017-06-07 02:27:16 +03:00
Alexey Milovidov
0d7d379b44
Removed duplicate code [#CLICKHOUSE-2].
2017-06-06 21:36:13 +03:00
Alexey Milovidov
9c5ddce06d
Get rid of .hpp files [#CLICKHOUSE-2].
2017-06-06 20:18:32 +03:00
Alexey Milovidov
9ebf0b633f
Added IStorage::startup method to avoid starting replication and merging threads too early during server startup [#CLICKHOUSE-2].
2017-06-06 20:06:14 +03:00
Alexey Milovidov
9593119a64
Fixed error after merge; tiny modification [#CLICKHOUSE-2].
2017-06-05 17:40:44 +03:00
Vitaliy Lyudvichenko
1e4906816c
Avoid SIGSEGV in SystemLog destructors. [#CLICKHOUSE-3023]
2017-06-05 17:25:10 +03:00
f1yegor
8e261e34c5
translate comments: Interpreters
2017-06-03 19:21:00 +03:00
Alexey Milovidov
efc12f2334
Sessions in HTTP interface: modifications after merge [#CLICKHOUSE-2949].
2017-06-03 00:01:17 +03:00
Sergey V. Galtsev
07f14e05ee
Implement sessions in HTTP interface [#CLICKHOUSE-2949].
2017-06-02 22:35:05 +03:00
Vitaliy Lyudvichenko
1c367fc666
Fix DDLLogEntry::CURRENT_VERSION variable issue. [#CLICKHOUSE-5]
2017-06-01 13:49:22 +03:00
Vitaliy Lyudvichenko
6db8da82c6
Add requested changes. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
73e2aab9ec
Updated integration tests. Add integration test for DDL. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
226d84be09
Update doc. [#CLICKHOUSE-5]
2017-06-01 13:49:21 +03:00
Vitaliy Lyudvichenko
55aa8217f3
Disable DDL ALTER for replicated tables. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
3a2c1a195d
Add ZooKeeper session recovering and trashy integration test. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
9fd8d6b79f
Add ALTER queries. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
48ade83090
Parsers refactoring. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
91f45c628b
Add queue cleanup. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
feb1db051d
Add status stream for distributed DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
4322b0c5a9
Implemented global ZK queue for DDLs. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
209015574f
Workable version for CREATE DROP w/o ZK tests. [#CLICKHOUSE-5]
2017-06-01 13:49:20 +03:00
Vitaliy Lyudvichenko
aa7504a7f5
Distributed DDL PR rebase. [#CLICKHOUSE-5]
2017-06-01 13:49:19 +03:00
Alexey Zatelepin
1c903df8d7
move AccurateComparison.h [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Zatelepin
e9f8f99e06
Correct index comparisons in case constants cannot be precisely casted [#CLICKHOUSE-3002]
2017-05-25 05:34:26 +04:00
Alexey Milovidov
a77369d082
Preparation: Storages do not modify query [#CLICKHOUSE-31].
2017-05-25 04:12:41 +03:00
Alexey Milovidov
557c3dc7f4
Preparation: removed support for unreplicated data in Replicated tables [#CLICKHOUSE-31].
2017-05-25 00:38:56 +03:00
Alexey Milovidov
48f65e9097
Preparation: untangling [#CLICKHOUSE-31].
2017-05-25 00:06:29 +03:00
Alexey Milovidov
59ac7f8063
Preparation: untangle settings manipulation in InterpreterSelectQuery [#CLICKHOUSE-31].
2017-05-24 23:25:01 +03:00
Alexey Milovidov
cb83b200cb
Preparation [#CLICKHOUSE-31].
2017-05-24 23:13:04 +03:00
Alexey Milovidov
9fdd795087
Using more light method of query_id generation [#CLICKHOUSE-3025].
2017-05-24 22:31:50 +03:00
Alexey Milovidov
e073b62301
Fixed build [#CLICKHOUSE-31].
2017-05-23 21:58:38 +03:00
Alexey Milovidov
ce581bbf35
Preparations, part 3 [#CLICKHOUSE-31].
2017-05-23 21:33:48 +03:00
Alexey Milovidov
a822dedc45
Preparations, part 2 [#CLICKHOUSE-31].
2017-05-23 21:24:43 +03:00
Alexey Milovidov
66e209b492
Preparations, part 1 [#CLICKHOUSE-31].
2017-05-23 21:01:50 +03:00
Alexey Milovidov
bb2f0a0893
Always restore in case of corrupted query_log, part_log [#CLICKHOUSE-3020].
2017-05-23 20:35:05 +03:00
Alexey Milovidov
0f252046ca
Preparations [#CLICKHOUSE-2]
2017-05-22 01:25:25 +03:00
Vitaliy Lyudvichenko
45c1856556
Fix wrong implementation of CastTypeBlockInputStream ( #807 )
...
* Fix wrong implementation of CastTypeBlockInputStream. [#CLICKHOUSE-2957]
* Fix typos and add comments. [#CLICKHOUSE-2957]
2017-05-20 18:47:40 +04:00
Marek Vavruša
9520234365
Dictionaries/TrieDictionary: IP prefix dictionary
...
This commit implements a basic IP prefix dictionary
that allows storing IPv4/IPv6 prefixes and
matching them against a single IP address on query
time. This allows for doing IP -> ASN matching and
other similar things on query time.
The implementation is basic for start, using a
simple bitwise trie and reusing interface for
complex key dictionaries (so using tuple instead
of UInt32/FixedString(16) as the key). A faster
bitwise trie implementation (like poptrie) is
desired to improve lookup performance and
memory consumption with large prefix tables.
2017-05-15 10:51:03 +04:00
f1yegor
92b56c2c7d
translate comments
2017-05-14 19:03:55 +04:00
proller
fac00792f9
Move most AggregateFunctions to separate lib, use AggregateFunctionFactory as singletone, rename lib storages_system->clickhouse_storages_system
2017-05-05 16:59:18 -07:00
proller
b2e2233a59
rename CastEnumBlockInputStream -> CastTypeBlockInputStream
2017-04-29 06:37:38 +03:00
artpaul
d269827dfd
#215 convert to Enum with FunctionCast
2017-04-27 23:29:39 +03:00
Alexey Zatelepin
aeb83f9ef7
fix key columns indexing for RIGHT and FULL joins [#CLICKHOUSE-2979]
2017-04-27 23:15:45 +03:00
alexey-milovidov
9b543dec5c
Update SystemLog.h
2017-04-27 09:02:12 +03:00
alexey-milovidov
2f32c0e9d2
Update SystemLog.h
2017-04-27 09:02:12 +03:00
proller
8cdae06a2d
Add log error on query log fail
2017-04-27 09:02:12 +03:00
proller
2ca3fcf7d3
Fix deadlock when queue_log queue is full
2017-04-27 09:02:12 +03:00
artpaul
323a9aff6d
#215 cast strings or ints to enum on insert
2017-04-25 07:57:49 +03:00
Alexey Milovidov
aa2cd20823
Miscellaneous [#CLICKHOUSE-2].
2017-04-23 11:29:24 +03:00
Alexey Milovidov
48c9abc5cf
Added setting 'ignore_key_if_not_keyed' for quotas [#CLICKHOUSE-2969].
2017-04-20 23:30:33 +03:00
Alexey Zatelepin
baf0f70ba3
Failover if the needed table is missing on remote server [#CLICKHOUSE-2141]
2017-04-20 19:19:30 +03:00
Alexey Zatelepin
d1fa449f4a
PR fixes [#CLICKHOUSE-2141]
2017-04-20 17:04:38 +03:00
Alexey Zatelepin
ba254a082e
Merge branch 'master' into lagging-replicas-failover
...
Conflicts:
dbms/src/Core/ErrorCodes.cpp
2017-04-19 21:31:29 +03:00
Alexey Zatelepin
485c58b039
use only ConnectionPoolWithFailover in RemoteBlockInputStream [#CLICKHOUSE-2141]
2017-04-19 20:50:17 +03:00
Alexey Milovidov
53364dcc8d
Fixed totally wrong code; implemented function emptyArrayToSingle for generic case [#CLICKHOUSE-2963].
2017-04-19 08:08:22 +03:00
Alexey Milovidov
3de78d093b
Fixed LEFT ARRAY JOIN for constant arrays [#CLICKHOUSE-2946].
2017-04-19 07:03:11 +03:00
Alexey Milovidov
3ad87ec820
Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:31:15 +03:00
Alexey Milovidov
1fedee71fb
Removed useless includes [#CLICKHOUSE-2].
2017-04-19 02:17:40 +03:00
Alexey Milovidov
95dd78cea4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-18 06:03:47 +03:00
Alexey Milovidov
22e8b8029b
Implemented ColumnArray::replicate for Nullable, Tuple and for generic case [#CLICKHOUSE-4].
2017-04-18 06:03:39 +03:00
Alexey Zatelepin
e30dc7c254
check replica delay when getting a connection from ConnectionPoolWithFailover [#CLICKHOUSE-2141]
2017-04-17 22:51:41 +03:00
Yuri Dyachenko
10082f3ef4
support DEDUPLICATE option in OPTIMIZE query
2017-04-17 21:15:14 +03:00
Alexey Zatelepin
0a98f43d3a
add TablesStatus request to protocol [#CLICKHOUSE-2141]
2017-04-17 19:02:48 +03:00
Alexey Milovidov
41e97787e3
Less dependencies [#CLICKHOUSE-2].
2017-04-16 08:40:17 +03:00
Alexey Milovidov
bf0e64e3b4
Less dependencies [#CLICKHOUSE-2952].
2017-04-16 07:13:18 +03:00
alexey-milovidov
0d2b1f6b6b
Update InterpreterAlterQuery.h
2017-04-15 06:52:04 +03:00
artpaul
050f1d4b0a
drop column from partition for MergeTree
2017-04-15 06:52:04 +03:00
Vitaliy Lyudvichenko
848c927bb7
Fix race condition. Add test. [#CLICKHOUSE-2902]
2017-04-15 06:48:24 +03:00
Vitaliy Lyudvichenko
82af2278fc
Avoid code duplication near MergeTreeBlockInputStream. [#CLICKHOUSE-2]
...
Add preferred_block_size_bytes for non-uniform reader. [#CLICKHOUSE-2902]
Make enums test more deterministic. [#CLICKHOUSE-2]
Refactored MergeTree readers.
Tabs -> spaces.
Move include/DB/ -> src/.
2017-04-15 06:48:24 +03:00
Yuri Dyachenko
c6d6f2de3d
add DataStreams::DistinctSortedBlockInputStream
2017-04-14 23:00:44 +03:00
Alexey Zatelepin
3ca6efbbd9
substitute parse<size_t>(config.getString()) for config.getUInt64()
2017-04-12 19:37:19 +03:00
proller
72ccc69212
Debian: simpler package ( #662 )
...
* Allow use external re2 with re2_st=re2
* fix
* remove dupe
* use re2_st in FunctionsStringSearch.h
* fix
* move files from tools/etc to debian
* dont generate control
* version
* ok.
* wip
* Cmake: dont touch CMAKE_INSTALL_PREFIX
* wip
* works!
* clean
* okay
* like old
* wip
* wip
* okay
* clickhouse-server-base-dbg
* clean
* clickhouse-server-dbg
* Debian: Remove daemons
* Update rules
* add source/format
* control clean
* add watch
* clean
* clean
* temp fix build
* clean
* docs
* fake make_control
* fix
* testme
* testme
* add metrika package
* fake metrika files
2017-04-10 20:43:30 +03:00
Alexey Milovidov
ba9590d340
Merge branch 'master' of github.com:yandex/ClickHouse
2017-04-08 04:32:24 +03:00
Alexey Milovidov
a0b9bf5e97
Moved code to cpp [#CLICKHOUSE-2].
2017-04-08 04:32:05 +03:00
proller
957f105377
fix freebsd build
2017-04-08 04:01:21 +03:00
Alexey Milovidov
7454185a0a
Fixed join_use_nulls setting [#CLICKHOUSE-4].
2017-04-07 23:30:52 +03:00
Yuri Dyachenko
23e824d7a9
add ClearableSetVariant
2017-04-07 20:12:54 +03:00
Alexey Milovidov
463fddb2ca
Joins by Nullable keys: development [#CLICKHOUSE-4].
2017-04-07 00:44:52 +03:00
Alexey Milovidov
ab215c0fcd
join_use_nulls: development; added test [#CLICKHOUSE-4].
2017-04-07 00:09:39 +03:00
proller
1bc311eefd
ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878] ( #656 )
...
* ReplicatedMergeTree: Max streams to send data [#CLICKHOUSE-2878]
* fix
* better messages on client
* change code to 429 TOO_MANY_REQUESTS
* wip
* better message
* Update InterserverIOHandler.h
* Update InterserverIOHTTPHandler.cpp
* Update StorageReplicatedMergeTree.cpp
2017-04-06 16:03:23 +03:00
Alexey Milovidov
baf2e6e95b
Added 'join_use_nulls' setting to allow using NULLs as default values for non-joined rows in case of outer joins [#CLICKHOUSE-2].
2017-04-04 09:52:39 +03:00
f1yegor
b4c23f122a
Translated comments
2017-04-02 20:37:49 +03:00
Alexey Milovidov
7f53cec624
Moved headers and sources to same place (part 5) [#CLICKHOUSE-3].
2017-04-01 13:25:45 +03:00
Alexey Milovidov
ab314a47bf
Moved headers and sources to same place (part 2) [#CLICKHOUSE-3].
2017-04-01 13:08:56 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
09e3134bf4
Revert "Using C++17 [#CLICKHOUSE-3]."
...
This reverts commit 431a735efe
.
2017-04-01 11:51:30 +03:00
Alexey Milovidov
ecb0b87bd8
Using C++17 [#CLICKHOUSE-3].
2017-04-01 11:51:30 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
Alexey Milovidov
4f44445ff0
Removed all trailing whitespaces [#CLICKHOUSE-2]. find . -name '*.h' -or -name '*.cpp' -or -name '*.cmake' -or -name 'CMakeLists.txt' -or -name '*.html' -or -name '*.xml' | grep -v contrib | xargs sed -i -r -e 's/\s+$//'
2017-03-31 19:00:30 +03:00
Alexey Milovidov
40ce6f86db
Allowed JOIN to work with Nullable keys [#CLICKHOUSE-4].
2017-03-30 17:09:24 +03:00
Alexey Milovidov
cc43f989bc
Preparation [#CLICKHOUSE-4].
2017-03-29 14:33:07 +03:00
Alexey Milovidov
8cf0e87382
Unified JOIN variants (continued) [#CLICKHOUSE-4].
2017-03-28 10:00:03 +03:00
Alexey Milovidov
b859463296
Unified JOIN variants. Added all variants from Set [#CLICKHOUSE-4].
2017-03-28 09:51:22 +03:00
Alexey Milovidov
a8f6a3127d
Implemented limited support for NULLs in IN operator [#CLICKHOUSE-4].
2017-03-28 06:00:33 +03:00
Alexey Milovidov
18ecccb856
Moved code to cpp [#CLICKHOUSE-2].
2017-03-25 08:55:49 +03:00
Vitaliy Lyudvichenko
6d1a8c7c97
Consider changes in default profile to initialize default users' settings. [#CLICKHOUSE-2906]
2017-03-23 21:30:22 +04:00
Alexey Zatelepin
faadab3034
Allow including config elements from ZooKeeper [#CLICKHOUSE-2794]
2017-03-19 21:58:12 +04:00
proller
930ac5b2ce
move ClickHouseRevision to dbms
2017-03-16 13:51:41 +04:00
proller
9a1169fef6
fix tests
2017-03-16 13:51:21 +04:00
Ravengg
b47cc72701
Fix part log ( #591 )
...
* fix_part_log
* fixed language back
* add reset part_log back
* reset part_log when don't need more
* Fix header
* fix
2017-03-14 19:58:34 +04:00
Alexey Milovidov
4e67e05835
Fixed error [#CLICKHOUSE-2].
2017-03-14 03:14:19 +03:00
Alexey Milovidov
26788e3938
Formatting [#CLICKHOUSE-2].
2017-03-13 21:01:46 +03:00
Alexey Milovidov
a564fa1872
Added support for NULLS FIRST and LAST in ORDER BY (continued) [#CLICKHOUSE-2882].
2017-03-12 16:01:19 +03:00
Alexey Milovidov
7532a1d564
Added support for NULLS FIRST and LAST in ORDER BY [#CLICKHOUSE-2882].
2017-03-12 15:56:59 +03:00
alexey-milovidov
6d5bfc8c6f
Refactoring of numeric DataTypes ( #581 )
...
* Better code [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-03-12 14:13:45 +04:00
Alexey Milovidov
235dbe6183
Fixed error with PartLog [#CLICKHOUSE-2703].
2017-03-09 19:46:11 +03:00
Alexey Milovidov
5546f7f75b
Normalized formatting [#CLICKHOUSE-3].
2017-03-09 07:26:17 +03:00
Ravengg
b079dacfd1
Added part_log with statistics scripts ( #549 )
...
* Added part_log
* first_test
* filter and hits_res
* Add renamer and drawer
* Add columns database and table into PartLog
* Add normal way to get table_name and database_name from part
* improve drawer
* add stats for random size parts
* Merge converter and drawer
* make drawer more informative
* add new data
* add new data
* new data
* add long range stats
* for checking best way
* Add add_parts script
* Good style for global merge
* delete commented code
* Fixed spaces to tabs
* Note that Stopwatch is started automatically.
* Style
* Update StorageMergeTree.cpp
* Update StorageReplicatedMergeTree.cpp
* Switch act_time_ms to duration_ms
* Added ability to disable part_log
* fixed getPartLog
* fix usage getPartLog
* fix
2017-03-07 21:13:54 +04:00
artpaul
0ef749839c
issue #390 : insert values by their positions instead of name
2017-03-07 15:30:05 +05:00
alexey-milovidov
1ddc262eb8
Merge pull request #554 from proller/fix1
...
fix scope_exit formatting
2017-03-04 05:59:05 +04:00
Alexey Milovidov
d3b22774c9
Comments [#CLICKHOUSE-2788].
2017-03-04 00:15:46 +03:00
proller
05e87ad7a2
fix scope_exit formatting
2017-03-04 00:10:41 +03:00
proller
067ff7a5c7
Customizable internal compiler
2017-03-02 16:34:43 +03:00
artpaul
be7c70da5c
fix IN with nested tuples [#CLICKHOUSE-1999]
2017-03-01 19:48:21 +05:00
Vitaliy Lyudvichenko
8bcb1fe970
Add support of AggregateFunction constants in VALUES and Set. [#CLICKHOUSE-2845]
2017-02-18 00:36:31 +04:00
Artemkin Pavel
cc62477403
extra distinct pass was eliminated in case of single stream mode [#METR-23942] ( #492 )
2017-02-16 00:17:46 +04:00
Alexey Zatelepin
93a9e64624
fix usage of possibly invalidated iterator [#CLICKHOUSE-2]
2017-02-15 22:39:18 +03:00
alexey-milovidov
4593d363d1
Fix poor distributed insertion scalability ( #481 )
...
* Fix poor scalability of INSERT into Distributed table [#CLICKHOUSE-2791].
* Fix poor scalability of INSERT into Distributed table (continued) [#CLICKHOUSE-2791].
* Misc [#CLICKHOUSE-2791].
* Fixed error [#CLICKHOUSE-2791].
2017-02-12 00:20:57 +04:00
Alexey Milovidov
0673f75265
Fixed absolutely incorrect code; added test [#CLICKHOUSE-2755].
2017-02-10 13:20:06 +03:00
Vitaliy Lyudvichenko
11b3aad985
Interpret subquery with empty result as Null literal. [#CLICKHOUSE-2760]
2017-02-07 23:43:31 +04:00
artpaul
4c57c9731e
#437 encode name of default_database so it's can be passed through connection
2017-02-07 20:11:02 +04:00
Vitaliy Lyudvichenko
d6e9af834a
Refined comments and status codes. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
Vitaliy Lyudvichenko
7e5a075ef3
Fixed long ProcessList lock in case of remote server timeout. [#CLICKHOUSE-2799]
2017-02-07 20:08:43 +04:00
Alexey Milovidov
b8ac19999c
Settings 'max_memory_usage_for_user' and 'max_memory_usage_for_all_queries': do not interfere between different queries [#CLICKHOUSE-2796].
2017-02-01 06:53:10 +03:00
Alexey Milovidov
172b385247
Added missing modification [#CLICKHOUSE-2184].
2017-02-01 06:10:12 +03:00
Alexey Milovidov
1c8841b04e
Fixed error [#CLICKHOUSE-2184].
2017-02-01 05:35:06 +03:00
Alexey Milovidov
8cabe639f5
Fixed errors in exception message [#CLICKHOUSE-2184].
2017-02-01 05:31:35 +03:00
Vitaliy Lyudvichenko
abf5066618
Fix spelling errors. [#CLICKHOUSE-3]
2017-01-31 23:28:37 +04:00
Vitaliy Lyudvichenko
9f8a967e6c
Fix SHOW PROCESSLIST segfault. [#CLICKHOUSE-2120]
2017-01-30 16:24:42 +03:00
Alexey Milovidov
d4d3d36ff0
Removed useless code; improved performance [#CLICKHOUSE-2785].
2017-01-30 09:48:10 +03:00
proller
46037bb670
Allow link with jemalloc ( #404 )
...
* Allow link with jemalloc
* wip
* fix
* fix
2017-01-28 00:00:02 +04:00
proller
8b4b1534e3
Cmake: Test on having sse ( #405 )
...
* Cmake: Test on having sse
* fix
* wip
* wip
* wip
* wip
* wip
* wip
* fix
* fix
* fix
* fix
* fix
* fix
2017-01-27 23:55:33 +04:00
Vitaliy Lyudvichenko
55390715b1
Add requested changes. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
891437e531
Add docs. Add TEST version of KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
649fd1922b
Add TOO_MUCH_SIMULTANEOUS_QUERIES exception. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
6bd306ca8c
Improve KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
Vitaliy Lyudvichenko
b1bccb0bb2
Query KILL QUERY. [#CLICKHOUSE-2120]
2017-01-27 03:59:39 +04:00
proller
f8d1573946
Various arm64 compile fixes on utils ( #394 )
2017-01-25 23:17:13 +04:00
alexey-milovidov
8c0e81f8cb
Remove stringstream performance on very short queries ( #391 )
...
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
* Improved performance on very short-response queries [#CLICKHOUSE-2].
2017-01-25 05:53:29 +04:00
Vitaliy Lyudvichenko
c9e52a5cf9
Add requested PR changes. [#CLICKHOUSE-2145] [issue #325 ]
2017-01-24 22:26:29 +04:00
Vitaliy Lyudvichenko
20a5ae4bc4
Add protection from accidental DROP queries. [#CLICKHOUSE-2184]
2017-01-24 22:26:29 +04:00
alexey-milovidov
17a4ead1ef
Setting fsync metadata ( #380 )
...
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
* Added setting 'fsync_metadata' [#CLICKHOUSE-2770].
2017-01-23 22:05:07 +04:00
Alexey Milovidov
38d25022c6
Comments [#CLICKHOUSE-3].
2017-01-23 19:00:26 +03:00
Alexey Milovidov
6894df0304
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 20:26:55 +03:00
Alexey Milovidov
c903a23864
Sending progress in HTTP headers (continued) [#CLICKHOUSE-32].
2017-01-22 19:12:30 +03:00
alexey-milovidov
ed5b521110
Less dependencies 2 ( #378 )
...
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
* Less dependencies [#CLICKHOUSE-2].
2017-01-21 08:24:28 +04:00
proller
2688f4563f
cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config ( #375 )
...
* Manual version update to [54135]
* Temporary release script fix [#METRIQA-732]
* cmake: remove add_definitions(-DNO_TCMALLOC), instead use ENABLE_LIBTCMALLOC from config
2017-01-20 21:58:07 +04:00
Alexey Zatelepin
f5a25c341c
translate comments [#CLICKHOUSE-3]
2017-01-19 03:48:59 +04:00
Alexey Zatelepin
5de1975bc4
parse INTO OUTFILE clause [#CLICKHOUSE-2133]
2017-01-19 03:48:59 +04:00
Alexey Milovidov
58e5dad1a1
Squashed commit of the following:
...
commit e712f469a5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:59:13 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a00282308
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:58:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9e06f407c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:55:14 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 9581620f1e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:54:22 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2a8564c68c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:47:34 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit cf60632d78
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:40:09 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit ee3d1dc6e0
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:22:49 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 65592ef711
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:18:17 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 37972c2573
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:17:06 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit dd909d1499
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:16:28 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 3cf43266ca
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:15:42 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 6731a3df96
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:13:35 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 1b5727e0d5
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:11:18 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit bbcf726a55
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:09:04 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit c03b477d5e
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:06:30 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 2986e2fb04
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:05:44 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit 5d6cdef13d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:04:53 2017 +0300
Less dependencies [#CLICKHOUSE-2]
commit f2b819b25c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Jan 14 11:01:47 2017 +0300
Less dependencies [#CLICKHOUSE-2]
2017-01-14 12:00:19 +03:00
Alexey Milovidov
d99a642b9b
Fixed error in 'distributed_product_mode' setting, which breaks 'allow_databases' option [#CLICKHOUSE-2718].
2017-01-14 06:10:16 +03:00
Alexey Milovidov
b16c9a3e12
Fixed error with 'max_memory_usage_for_user' setting during distributed query execution [#METR-24117].
2017-01-14 04:55:35 +03:00
Alexey Milovidov
e8855c6f0f
Fixed error with multiple calls of LogicalExpressionAnalyzer [#METR-24079].
2017-01-12 03:26:39 +03:00
artpaul
79eb282eda
fix formatting of LIMIT BY; add tests with remote() [#METR-23881]
2017-01-09 18:24:54 +05:00
Alexey Milovidov
d89ee33ce2
Squashed commit of the following:
...
commit c567d4e1fe
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:35:01 2017 +0300
Style [#METR-2944].
commit 26bf3e1228
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:33:11 2017 +0300
Miscellaneous [#METR-2944].
commit eb946f4c6f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:30:19 2017 +0300
Miscellaneous [#METR-2944].
commit 78c867a147
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 20:11:41 2017 +0300
Miscellaneous [#METR-2944].
commit 6604c5c83c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:56:15 2017 +0300
Miscellaneous [#METR-2944].
commit 23fbf05c1d
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:47:52 2017 +0300
Miscellaneous [#METR-2944].
commit 98772faf11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:46:05 2017 +0300
Miscellaneous [#METR-2944].
commit 3dc636ab9f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:39:46 2017 +0300
Miscellaneous [#METR-2944].
commit 3e16aee954
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:38:03 2017 +0300
Miscellaneous [#METR-2944].
commit ae7e7e90eb
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Jan 6 19:34:15 2017 +0300
Miscellaneous [#METR-2944].
2017-01-06 20:41:19 +03:00
Alexey Milovidov
a1a6ddd01e
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-05 19:34:05 +03:00
Alexey Milovidov
625b6c6050
Function "sleep": do not sleep during query analyze (continued) [#METR-21574].
2017-01-04 06:43:43 +03:00
Alexey Milovidov
d6735c2a23
Function "sleep": do not sleep during query analyze [#METR-21574].
2017-01-04 06:37:59 +03:00
Alexey Milovidov
95e9ef2fc4
Reworked InJoinSubqueriesPreprocessor [#METR-2944].
2017-01-04 05:37:47 +03:00
Alexey Milovidov
4140e7e889
Get out garbage from AST [#METR-2944].
2017-01-03 10:37:29 +03:00
Alexey Milovidov
ca37f28b5f
Renamed methods Block::rows and Block::rowsInFirstColumn [#METR-2944].
2017-01-02 23:45:27 +03:00
Alexey Milovidov
2b4f3b5d34
Renamed method (less confusion) [#METR-2944].
2017-01-02 23:12:12 +03:00
alexey-milovidov
0dd2191c87
Merge branch 'master' into issue-111
2016-12-31 05:53:52 +04:00
Vitaliy Lyudvichenko
07d720565c
Added profile events for INSERTs. [#METR-23930]
...
Added new column and CurrentMetrics data into system.events table.
Removed unnecessary code from Context and Merge list. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
108bfac17e
Added memory tracking events and columns for merges. [#METR-23911]
2016-12-31 02:39:53 +03:00
Vitaliy Lyudvichenko
35485c03d9
Fixed race condition during dictionaries' config file update. [#METR-22224]
2016-12-30 21:30:29 +03:00
artpaul
333d47ee2e
don't allow partial sort in case if LIMIT BY is present [#METR-23881]
2016-12-30 17:56:07 +05:00
artpaul
9cfc019a12
fix calculation of condition for skipping all block [#METR-23881]
2016-12-30 16:15:17 +05:00