Alexey Milovidov
a5d1fc0ca7
Removed unused constructor #3633
2018-11-22 21:09:17 +03:00
alesapin
2b2195d4de
Fix stupid if
2018-11-22 19:01:17 +03:00
alesapin
1e879850bb
Kill odbc-bridge with clickhouse-server
2018-11-22 18:59:00 +03:00
Alexey Milovidov
7b919c9b2b
Removed unused constructor #3633
2018-11-22 18:09:19 +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
chenxing.xc
86f1a18185
withdraw INSERT INFILE feature
2018-11-21 11:59:24 +08:00
alesapin
f08e090bda
Better uri scheme check and fix in poco submodule
2018-11-20 20:21:32 +03:00
alesapin
01e2137364
CLICKHOUSE-4112: Add keepalive for http connections
2018-11-20 16:15:44 +03:00
alesapin
d4ce674b93
Add http connection pool between replicas
2018-11-16 16:15:17 +03:00
Alexandr Krasheninnikov
177a00f09a
Merge https://github.com/yandex/ClickHouse into base64_functions
2018-11-14 12:32:42 +03:00
Alexey Milovidov
2daab83a23
Fixed bad and wrong code #3553
2018-11-14 04:59:32 +03:00
proller
37a9af5a68
CLICKHOUSE-4109 mlock clickhouse ( #3553 )
...
* CLICKHOUSE-4109 mlock clickhouse
* wip
* Fix
* wip
* fix
* fix
* better place
* wip
* clean
* tidy
* fix
2018-11-14 04:11:13 +03:00
Alexey Milovidov
ead153e9e4
Better code #3565
2018-11-13 22:48:47 +03:00
Alexey Milovidov
69e57187d2
Fixed error; removed unique_ptr #3565
2018-11-13 22:43:17 +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
96d7eee785
fix use-after-free in ZooKeeperNodeCache [#CLICKHOUSE-3859]
2018-11-13 16:13:46 +03:00
Alexey Zatelepin
ce1ead5b88
allow arbitrary callbacks in ZooKeeperNodeChange [#CLICKHOUSE-3859]
2018-11-13 16:13:29 +03:00
Alexey Zatelepin
a0a9aad777
Stat data in ZooKeeperNodeCache [#CLICKHOUSE-3859]
2018-11-13 16:13:23 +03:00
Amos Bird
6815b25d18
replace std::tuple with std::variant
2018-11-12 03:29:52 +08:00
proller
5678d1ed98
Build fixes ( #3545 )
...
* StorageSystemContributors clean
* Fix
* ARM fixes
* Fix arm compile
* fix
* Fix macos?
* Fix includes
* fix
* fix
* Try fix apple build part 1
* Fix identation
* Fix static libc++ in clang
* fix arm build
* better
* fix
* fix
* better check-include
2018-11-10 23:09:07 +03:00
proller
a996326efe
Fix identation
2018-11-07 15:55:56 +03:00
Alexey Milovidov
c5173782dc
Potentially better #3490
2018-11-05 17:29:38 +03:00
Alexey Milovidov
a191c32254
Potential improvement #3490
2018-11-05 13:34:48 +03:00
Alexey Milovidov
6f00f165e5
Clarifications; potential improvement #3490
2018-11-05 12:32:59 +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
proller
c35c979285
CLICKHOUSE-4085 system.contributors ( #3452 )
...
* CLICKHOUSE-4085 system.contributors
* fi
* Fix random
2018-10-26 20:43:50 +03:00
alesapin
20b20d04f9
Include from env
2018-10-26 12:22:33 +03:00
alesapin
c951ec7bad
CLICKHOUSE-4067: Fixes in odbc dictionaries. Now dictionaries receives bridge path from global config (as it was before). Quotation performed on table and schema independently. Add tests with postgres interaction. Update documentation
2018-10-15 17:49:23 +03:00
Alexandr Krasheninnikov
92916d3b8d
Merge https://github.com/yandex/ClickHouse into base64_functions
2018-10-12 11:29:01 +03:00
Alexandr Krasheninnikov
41281ad397
Make compilation on-demand
2018-10-11 19:25:17 +03:00
Marek Vavruša
0652302d9a
Common/MemoryTracker: fix metrics not being updated after MemoryTracker reset
...
The #3230 fixed a problem with memory accounting, but it introduces a regression
in which the memory tracker isn't reset until there are zero queries in process list.
This makes it difficult to see in tests as there's always just one query in-flight,
but in production it produces a sawtooth memory usage pattern that resets when
the allocated memory exceeds set memory limits and all queries are terminated.
2018-10-10 17:37:41 -07: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
Alexandr Krasheninnikov
27f288641e
Fix config reference, header inclusion and failed tests
2018-10-09 18:03:41 +03:00
Alexey Milovidov
64c7e357e8
Fixed error #3230
2018-10-08 08:30:03 +03:00
Alexey Milovidov
25a3cc4dc2
Merge remote-tracking branch 'origin/master' into fix-memory-tracker
2018-10-04 23:49:38 +03:00
Alexandr Krasheninnikov
d94b574644
Removing destructor
2018-10-04 16:19:08 +03:00
Alexandr Krasheninnikov
82200bc16a
Added error codes, bridge startup, fixed destructor in XDBC stuff
2018-10-03 15:10:57 +03:00
Alexandr Krasheninnikov
c7fee9374c
fix formatting errors according code review
2018-10-03 13:44:43 +03:00
alexey-milovidov
147a2a13c2
Merge pull request #3257 from amosbird/master
...
Correct wcwidth computation for pretty outputs.
2018-10-02 16:23:41 +03:00
Amos Bird
7df73088ab
Correct wcwidth computation for pretty outputs.
2018-10-02 10:06:18 +08: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
alexey-milovidov
6432cff455
Update Macros.h
2018-10-01 21:45:39 +03:00
CurtizJ
ed77e40dfe
fix implicit macros
2018-10-01 12:01:50 +03:00
CurtizJ
b7b7314ecb
remove redundant code
2018-09-28 22:13:16 +03:00
CurtizJ
e0d3aed0c4
remove redundant code
2018-09-28 22:10:16 +03:00
proller
ec11bef633
Build fixes ( #3181 )
2018-09-28 17:53:20 +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
30da8de1b6
Send log message about peak memory usage to client #3230
2018-09-27 00:19:49 +03:00
Alexey Milovidov
99927a3518
Returned logging peak memory usage in query scope #3230
2018-09-27 00:10:43 +03:00
Alexey Milovidov
dd88c092b7
Attempt to fix inconsistent values in total memory tracker #3143
2018-09-26 23:45:40 +03:00
Alexandr Krasheninnikov
647d1041f1
Implement jdbc/idbc bridge connectors
2018-09-25 17:29:44 +03:00
Alexander Krasheninnikov
fe8affa1cf
Initial
2018-09-25 03:21:20 +03:00
Alexey Milovidov
9fbde09725
Memory tracker: added watermark logging #3205
2018-09-24 23:57:10 +03:00
Alexey Milovidov
17b8e20922
Failover for hosts with missing DNS records while connecting to ZooKeeper #3201
2018-09-24 22:09:12 +03:00
alexey-milovidov
4a54a1c310
Merge pull request #3138 from yandex/low-cardinality-group-by
...
Low cardinality group by
2018-09-21 13:38:20 +03:00
alexey-milovidov
06b5c53335
Update TwoLevelHashTable.h
2018-09-20 20:44:10 +03:00
alexey-milovidov
006119b81d
Merge pull request #3155 from yandex/fix-float-parsing-with-custom-csv-delimiter
...
Fix float parsing with custom csv delimiter
2018-09-17 22:39:45 +03:00
alexey-milovidov
c275764647
Merge pull request #3124 from yandex/CLICKHOUSE-3800
...
CLICKHOUSE-3800: Enable compilation to llvm by default
2018-09-17 21:50:45 +03:00
Alexey Milovidov
20326bdcda
Added comment #3142
2018-09-17 21:12:50 +03:00
Alexey Milovidov
8218cf3a5f
ZooKeeper: retry with different node in case when ZK server closed connection in response for our handshake [#CLICKHOUSE-3987]
2018-09-17 18:49:08 +03:00
Alexey Milovidov
5e3b507bd6
Added functions "toISOWeek", "toISOYear", "toStartOfISOYear" [#CLICKHOUSE-3988]
2018-09-17 06:09:56 +03:00
alexey-milovidov
13406d876c
Merge pull request #3130 from yandex/fix-dependency-on-new-libc
...
Fix dependency on too new libc
2018-09-16 05:24:09 +03:00
Alexey Milovidov
a9824de575
Miscellaneous (avoid valgrind's "Syscall param socketcall.sendto(msg) points to uninitialised byte(s)") [#CLICKHOUSE-3989]
2018-09-16 03:25:25 +03:00
Alexey Milovidov
7d6ec29c5c
Fixed tests in Travis (order of destruction of thread-local variables of the main thread vs. static variables) [#CLICKHOUSE-3989]
2018-09-16 03:14:55 +03:00
proller
d752d5d62d
Prepare to new poco, build fixes ( #3072 )
...
* WIp
* fix
* fix
* test
* fix poco netssl find
* clean
* fixes
* wip
* wip
* new poco
* fixes
* Fixes
* wip
* clean
* clean
* clean
* clean
* Update HTTPHandlerFactory.h
2018-09-14 22:48:51 +03:00
alesapin
d8a2b063dc
CLICKHOUSE-3800: More convinient names for functions, comments and new profile event.
2018-09-14 13:08:38 +03:00
Nikolai Kochetov
3dc5cd3a3a
Merged with master.
2018-09-14 12:14:37 +03:00
Nikolai Kochetov
2eb35dd6ef
Cache AggregateDataPtr for single low cardinality column. [#CLICKHOUSE-3903]
2018-09-14 11:04:09 +03:00
Amos Bird
af369483a9
Simply Self.
...
> When the normal name of the template (i.e., the name from the enclosing scope, not the injected-class-name) is used, it always refers to the class template itself and not a specialization of the template
http://eel.is/c++draft/temp.local
2018-09-13 22:59:54 +08:00
alexey-milovidov
295606ed37
Update createHardLink.cpp
2018-09-13 04:10:22 +03:00
alexey-milovidov
20d5ddd58c
Merge branch 'master' into alter-update
2018-09-10 17:17:10 +03:00
Alexey Zatelepin
133c9c7c37
Merge branch 'master' into alter-update
...
Conflicts:
docs/en/query_language/alter.md
2018-09-07 19:11:02 +03:00
CurtizJ
a784b828ce
Merge branch 'master' of https://github.com/yandex/ClickHouse into CLICKHOUSE-3723.3
2018-09-07 13:02:07 +03:00
Alexey Milovidov
199d8734f9
Fixed race condition in DROP/CREATE MergeTree tables [#CLICKHOUSE-3939]
2018-09-07 04:39:48 +03:00
CurtizJ
e4a1ba728d
better error code
2018-09-06 21:28:43 +03:00
alexey-milovidov
580683310b
Merge pull request #2990 from alesapin/master
...
CLICKHOUSE-3800: Add Cache for compiled expression.
2018-09-06 21:12:08 +03:00
proller
db13ef96d6
Fix ssl init ( #3056 )
...
* Try to fix ../libs/libglibc-compatibility/glibc-compatibility.c:151: multiple definition of `explicit_bzero'
contrib/ssl/crypto/libcrypto.a(explicit_bzero.c.o):../contrib/ssl/crypto/compat/explicit_bzero.c:16: first defined here
* Fix ssl init
* fix
* noncopyable
* clean
2018-09-06 21:05:33 +03:00
Alexander Sapin
03174e131d
Merge remote-tracking branch 'upstream/master'
2018-09-06 12:39:42 +03:00
Alexey Milovidov
b82d532db0
Removed incorrect code [#CLICKHOUSE-3939]
2018-09-06 05:30:58 +03:00
Alexey Milovidov
a2b515483e
Understanding the code #2482
2018-09-06 03:28:15 +03:00
Alexey Milovidov
3c7c2e3853
Revert "Revert "Tidy up thread locals usage across translation units""
...
This reverts commit 509386b14d
.
2018-09-06 00:01:43 +03:00
Alexey Milovidov
509386b14d
Revert "Tidy up thread locals usage across translation units"
...
This reverts commit e28753061f
.
2018-09-05 19:41:34 +03:00
alexey-milovidov
d12c1b02bc
Merge pull request #3029 from nvartolomei/nv/tidyup-thread-locals
...
Tidy up thread locals usage across translation units
2018-09-05 00:16:03 +03:00
Alexey Milovidov
d10f9200b9
Consistency of FileOpen event [#CLICKHOUSE-3943]
2018-09-04 22:24:45 +03:00
Alexey Zatelepin
4f91833e67
Merge branch 'master' into alter-update
...
Conflicts:
dbms/src/Parsers/ASTIdentifier.cpp
2018-09-04 17:39:08 +03:00
Alexey Zatelepin
b6a5bbc4e9
move validation to MutationsInterpreter [#CLICKHOUSE-13]
2018-09-04 17:33:48 +03:00
Nicolae Vartolomei
e28753061f
Tidy up thread locals usage across translation units
...
Fixes #3015 .
2018-09-03 22:36:16 +01:00
proller
b9e4c69dd2
fix
2018-09-03 23:09:51 +03:00
proller
bcfcd257be
Better odbc-bridge executable select
2018-09-03 21:27:56 +03:00
alesapin
a7bd2b42e8
CLICKHOUSE-3800: Review fixes
2018-09-03 13:14:05 +03:00
alesapin
83574eed7c
Merge remote-tracking branch 'upstream/master'
2018-09-03 13:11:33 +03:00
alesapin
11d248ba10
Resolve conflict
2018-09-03 13:11:10 +03:00
alexey-milovidov
72c799ad76
Merge pull request #3008 from 4ertus2/decimal
...
even more Decimal
2018-09-03 07:19:33 +03:00
Alexey Milovidov
1de3f144f6
Padding chunks in Arena in attempt to improve performance [#CLICKHOUSE-2]
2018-09-03 00:28:25 +03:00
Alexey Milovidov
1c6d8e235c
Respect alignment in groupArray and maxIntersections aggregate functions [#CLICKHOUSE-2]
2018-09-02 22:20:27 +03:00
Alexey Milovidov
9af71bb733
Addition to prev. revision [#CLICKHOUSE-2]
2018-09-02 08:25:32 +03:00