Alexey Milovidov
d7a36519da
Simplification of aggregate functions: development [#CLICKHOUSE-2].
2017-12-21 05:08:25 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. ( #1634 )
2017-12-13 22:07:12 +03:00
Alexey Milovidov
1b60106333
Simplification of Nullable [#CLICKHOUSE-2]
2017-12-08 09:58:48 +03:00
Alexey Milovidov
28d40e2c9a
Enabled -Wextra [#CLICKHOUSE-2].
2017-12-02 06:39:38 +03:00
Alexey Milovidov
c748493a86
Better [#CLICKHOUSE-2].
2017-12-02 05:47:12 +03:00
Alexey Milovidov
f5ecb2db5d
Better [#CLICKHOUSE-2].
2017-12-01 20:49:12 +03:00
Roman Lipovsky
9ed1ba2441
separate geo dictionaries from geo data providers
2017-11-29 01:15:06 +03:00
proller
0d3c4f4d67
Core/FieldVisitors.h -> Common/FieldVisitors.h
...
Core/Progress.h -> IO/Progress.h
tests: sudo --non-interactive
Fix freebsd link
2017-11-24 16:55:31 +03:00
proller
2778f35e48
Lib Parsers
2017-11-21 22:35:54 +03:00
proller
19d102cc4f
fix
2017-11-17 22:53:02 +03:00
proller
5ba7e20c03
fixes
2017-11-17 22:40:27 +03:00
proller
aa3dd03389
Split lib dbms to dbms + dbms_common_io
2017-11-17 22:19:49 +03:00
Marek Vavruša
0d942a69c5
DataStreams: added Cap’n Proto format support
...
Cap'n Proto is a binary message format.
Like Protocol Buffers and Thrift (but unlike JSON or MessagePack), Cap'n Proto messages are strongly-typed and not self-describing. Due to this, it requires a schema setting to specify schema file and the root object. The schema is parsed on runtime and cached for each SQL statement.
2017-10-27 23:03:51 +03:00
Alexey Zatelepin
6ada6d9aa5
remove dead code [#CLICKHOUSE-2]
2017-10-26 07:53:52 +03:00
Alexey Zatelepin
01c39dcf1c
fix CREATE TABLE bugs and idiosyncrasies: [#CLICKHOUSE-3000]
...
* fix segfault on ATTACH MATERIALIZED VIEW
* allow only TEMPORARY TABLEs (not databases or views)
* forbid choosing ENGINE for TEMPORARY tables
* fix segfault on CREATE TABLE t1 AS t2 where t2 is a View
2017-10-26 07:53:52 +03:00
proller
4ffbca2d8c
Fix warnings ( #1406 )
...
* Log query id in executeQuery; Better type mismatch error; change format in report tool
* Better log query_id
* fix message
* Use c++11 thread_local instaed of gcc's __thread
* lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
* Cmake: fix build without downloaded submodules (#1379 )
* fix
* ZooKeeper: fixed stack smashing with tryGet()
The tryGet() operation creates a 1MB buffer on stack. This may or
may not work depending on the default stack size for threads,
whether the stack protector is enabled or not, recursion depth,
and the actual value size.
This is probably going to slow down some ZK operations, but I don't
see how else this could work reliably with the existing API.
* increased timeout for test_insertion_sync_fails_with_timeout
* Update CHANGELOG_RU.md
* Update ZooKeeper.cpp
* Fix warnings
* Fixes
* Dont strip debug info from asan, tsan and other builds except releases
* Fix asan error causd by test 00144
* Fix empty log message (#CLICKHOUSE-3378)
2017-10-25 21:39:10 +03:00
alexey-milovidov
8c327e9378
Revert "Make gperftools (libtcmalloc) as submodule and update. ( #1381 )"
...
This reverts commit fa2484ea90
.
2017-10-24 22:18:15 +03:00
proller
fa2484ea90
Make gperftools (libtcmalloc) as submodule and update. ( #1381 )
...
* Update tcmalloc and make submodule
* wip
* wip
* wip
* wip
* clean
* fix
* fix
* fix
* Fix tests
2017-10-24 22:11:42 +03:00
proller
2d2a4afa3f
Fix stripping debug info from huge .o (-g0)
2017-10-24 16:30:44 +03:00
Marek Vavruša
70543200be
dbms: Fix build with clang after Poco update
...
In the current version of Poco, unsigned long no longer aliases to
UInt64 with LP64. The size_t aliases to unsigned long with clang,
so all the uses of size_t instead of UInt64 when interacting with
Poco interfaces are gone. I replaced uses with UInt64 where it makes
sense, and added an overloaded function for readVarUInt() to support size_t.
2017-10-13 18:26:24 -07:00
proller
4c7850fdc2
Optional kafka ( #1355 )
...
* Zookeeper include fix
* Update submodule contrib/poco
* Fix zookeeper submodule ho-to-make doc
* Update zookeeper submodule
* Update submodule zookeeper
* Fix compile with external zookeeper
* Optional kafka
* fix
* Fix
* fix
2017-10-14 03:53:01 +03:00
alexey-milovidov
9ccdb5420b
Merge branch 'master' into upstream-add-kafka
2017-10-13 23:52:42 +03:00
proller
fd072b58bb
zstd, lz4 as submodule ( #1214 )
...
* Contrib: use zstd, lz4 as submodule
* fix shared build
* re-test me.
* wip
* Update CHANGELOG_RU.md
* Update CHANGELOG.md
* Update CHANGELOG_RU.md
* Whitespaces [#CLICKHOUSE-2].
* Implemented TODO [#CLICKHOUSE-2].
* Whitespaces [#CLICKHOUSE-2].
* Remove wrong test
* Implemented TODO [#CLICKHOUSE-2].
* Moved chown to correct place [#CLICKHOUSE-2].
* Resolves #1273 . Exception safe users update. [#CLICKHOUSE-3]
* Less noisy logging. [#CLICKHOSUE-2]
* Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]
* Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)
* Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]
* test me
* Fixing documentation fragment about "default" user. It is not mandatory anymore.
* append yurial/clickhouse-client to docs/interfaces
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Update MergeTreeDataMerger.cpp
* Update ShellCommand.cpp
* Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
* Update ExecutableDictionarySource.cpp
* Update ExecutableDictionarySource.cpp
* Miscellaneous changes after merge [#CLICKHOUSE-2].
* Improve tests: allow redefine some values (clickhouse path, ports, ...)
* Received signal Segmentation fault (#1300 ) (#1302 )
* Received signal Segmentation fault (#1300 )
* Add test
* Tests: Use new possibly redefined values from env (in 2 tests)
* Proper fix for the issue: better exception message [#CLICKHOUSE-2].
* Split GatherUtils.cpp for faster compile (#1312 )
* Split GatherUtils.cpp for faster compile
* remove GatherUtils.cpp
* Fix array writing (#1314 )
* changed MergedBlockOutputStream [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* disabled checkNoMultidimensionalArrays [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* fix IMergedBlockOutputStream::writeDataImpl [#CLICKHOUSE-3341]
* added test [#CLICKHOUSE-3341]
* fixed test [#CLICKHOUSE-3341]
* refactoring and comments [#CLICKHOUSE-3341]
* fix build [#CLICKHOUSE-3341]
* Update ColumnArray.h
* Update ActionBlocker.h
* Fix section tabulation
* Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]
* Update ActionBlocker.h
* Improvement [#CLICKHOUSE-2].
* Try fix strange terminate (#1329 )
* Tests: External: rename --use_http => --no_http and fix
* Try fix strange terminate
* Misc [#CLICKHOUSE-2].
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa) (#1333 )
* Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 )
* Fix compile CallPointInPolygon on clang4 (Thanks to @vavrusa)
* Fix complex queries with GLOBAL IN and UNION ALL (#CLICKHOUSE-3356) (#1339 )
* TEST only: why initQueryAnalyzer ?
* Better tests
* missing file
* Missing file
* Add test
* Test fixes
* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
* Removed tcp_ssl_port by default [#CLICKHOUSE-2].
* Better tests
* comment
* clean
* REmove wrong code
* clean
* dbms: Added compression level for ZSTD. [#METR-26742]
* dbms: CompressionSettingsSelector. [#METR-21516]
* dbms: Minor fix. [#METR-21516]
* Fix SummingMergeTree argument checking logic.
This patch fixes the Nested Column Name checking logic, which allows nested
columns be explicitly specified in SummingMergeTree engine.
2017-10-13 21:52:23 +03:00
Marek Vavruša
011658bb02
contrib: include librdkafka as submodule
2017-10-10 08:33:00 -07:00
Alexey Milovidov
fabfed6f22
Added support for "include-what-you-use" tool [#CLICKHOUSE-2].
2017-09-10 09:51:27 +03:00
Alexey Milovidov
cd540c2674
Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2].
2017-09-10 02:17:38 +03:00
proller
3269b1da57
libmariadb as submodule (CLICKHOUSE-3261) ( #1181 )
...
* Use bundled libmariadbclient (CLICKHOUSE-3261)
* wip
* wip
* wip
* Update docs about git clone. move docs/en/development/build_*.sh -> utils/build/build_debian.sh
2017-08-31 20:11:30 +03:00
proller
c351b367fb
Fix sparcehash include ( #1084 )
...
* Fix sparcehash include
* Fix re2_st include
2017-08-10 02:11:28 +03:00
proller
ac178bde1f
Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM ( #1083 )
...
* Cmake: link ltdl with pocoodbc static only. rename ARM -> ARCH_ARM
* Fix lib find order
* Allow define non-contrib cityhash farmhash metrohash
* Fix message
* Cmake: fixes
* clean
* Update CMakeLists.txt
2017-08-09 23:52:55 +03:00
proller
465d305479
gcc7 and arm fixes ( #1041 )
...
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* gcc7 fixes
* clnag-format of Split ComplexKeyCacheDictionary
* Requested changes
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* Fix arm build
* Fix nothrow
* Better arm detection
2017-07-29 22:58:10 +03:00
Alexey Milovidov
6851a7754a
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:32:52 +03:00
Alexey Milovidov
b52d2eab51
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:20:50 +03:00
Alexey Milovidov
d20c411b0d
Fixed linkage [#CLICKHOUSE-2].
2017-07-25 21:19:22 +03:00
proller
4db8d09de9
Reorganize includes. part 1 ( #921 )
...
* Make libunwind optional. Allow use custom libcctz
* fix
* Fix
* fix
* Update BaseDaemon.cpp
* Update CMakeLists.txt
* Reorganize includes. part 1
* Update dbms_include.cmake
* Reorganize includes. part 2
* Reorganize includes. part 3
* dbms/src/Common/ThreadPool -> libs/libcommon
* Reorganize includes. part 4
* Fix print_include_directories
* Update thread_creation_latency.cpp
* Update StringRef.h
2017-06-23 23:22:35 +03:00
Alexey Milovidov
05accbdcbe
Removed cyclic dependency [#DEVTOOLS-3381].
2017-06-19 23:06:35 +03:00
Alexey Milovidov
6aa69c06cf
Moved tools sources out of library code [#CLICKHOUSE-2].
2017-06-16 19:20:51 +03:00
Alexey Milovidov
0fcb6300a2
Fixed error in linkage (thanks Orivej) [#DEVTOOLS-3381].
2017-06-15 23:24:23 +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
45c76803a9
Moved table functions to separate library; fixed errors; improved testability [#CLICKHOUSE-31].
2017-06-10 12:04:31 +03: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
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
c3a62f1bb0
Fix build without icu and readline
2017-04-24 06:28:28 +03:00
proller
8cf716fa29
Functions as separate lib
2017-04-21 21:30:16 +03:00
alexey-milovidov
c9c8c8ec50
Better option to disable mysqlclient ( #710 )
...
* Better support for disabling libmysqlclient [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
* Addition to prev. revision [#CLICKHOUSE-2].
2017-04-19 03:25:57 +03:00
proller
ab5e6c4840
Fix build without installd unixodbc ( #708 )
...
* Fix build without installd unixodbc
* clean
* no openssl error
* fix
* fix
2017-04-19 03:21:16 +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
proller
11218b9ba5
cmake: remove hardcoded src/ in macros add_headers_and_sources
2017-04-04 15:37:04 +03:00
Alexey Milovidov
310736cd7e
Moved headers and sources to same place [#CLICKHOUSE-3].
2017-04-01 12:22:42 +03:00
Alexey Milovidov
137ad95929
Changed tabs to spaces in code [#CLICKHOUSE-3].
2017-04-01 11:35:09 +03:00
proller
8a9d9dddb4
Allow build with poco with disabled MongoDB or DataODBC or NetSSL ( #636 )
...
* partial poco support
* fix
* fix optional ssl
* servier without netssl
* fix link order
* testme
* requested changes
* throw on https listen, shutdown tip
2017-03-28 23:30:57 +03:00
proller
37f3ccb1ab
cmake: split USE_STATIC_LIBRARIES to USE_STATIC_LIBRARIES + MAKE_STATIC_LIBRARIES
...
fix freebsd install path
fix TEST_COVERAGE flags
2017-03-28 20:50:58 +03:00
Vitaliy Lyudvichenko
2ab25099cd
Move boost::tests to Google Tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
15254f91d2
Improve CMakeLists.txt for tests. [#CLICKHOUSE-2]
2017-03-28 20:46:16 +03:00
Vitaliy Lyudvichenko
19a2195710
Implemented re-readable buffers, add unit tests. [#CLICKHOUSE-2070]
2017-03-28 20:46:16 +03:00
Alexey Zatelepin
1ce0300c51
better detection of local timezone id [#CLICKHOUSE-2852]
2017-03-23 20:13:04 +04:00
proller
4271ef80ea
fix moveing cmake files
2017-03-16 19:46:05 +03:00
proller
a08714105b
Simpler vercorclass
2017-03-16 13:51:41 +04:00
proller
28ed324702
add cmake option USE_VECTORIZED_MATH_FUNCTIONS, reorganize auto configs
2017-03-16 13:51:41 +04:00
proller
d777cab172
link Storages/System via lib
2017-03-15 23:43:02 +04:00
Alexey Milovidov
30aae40300
Removed usage of iconv [#CLICKHOUSE-2879].
2017-03-11 07:39:16 +03:00
proller
067ff7a5c7
Customizable internal compiler
2017-03-02 16:34:43 +03:00
proller
0e91c47066
Allow build with external double-conversion lz4 zstd re2 zookeeper ( #531 )
...
* Allow build with external double-conversion lz4 zstd re2 zookeeper
* fix
* fix
* freebsd fixes
* spaces
* fix
* fix
* fix
* wip
* move
* fix
2017-03-01 03:49:04 +04:00
proller
57c336f267
HTTPDictionarySource support HTTPS ( #510 )
...
* https support in dictionaries
* Style
2017-02-28 01:07:57 +04:00
proller
b5b64ceb2b
Fix apple .so version ( #490 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
* Fix apple .so version
2017-02-14 16:34:32 +04:00
proller
f8d2f19280
Fix odbc include, clang-format fixes, misc ( #484 )
...
* Cmake: fix fallback to internal libs if no external found
* wip
* style
* fix
2017-02-13 17:59:34 +04:00
alexey-milovidov
cee5ab01fb
Merge branch 'master' into merge_with_metrika
2017-02-11 00:27:15 +04:00
proller
9bbe8fe5c4
Dynamic library mode ( #471 )
...
* Cmake: UNBUNDLED option
* Dynamic library mode
2017-02-08 22:53:00 +04:00
proller
f87ae6808f
cmake: USE_INTERNAL_ZLIB_LIBRARY ( #463 )
...
* Correct fix of building with external poco with disabled sending progress
Revert "Removed wrong code [#CLICKHOUSE-2]."
This reverts commit 33f9917f53
.
* fix
* fix
* cmake: USE_INTERNAL_ZLIB_LIBRARY
2017-02-08 01:28:13 +04:00
Pavel Kartavyy
224ba16dcb
use project source and binary dirs instead of global dirs
2017-02-06 18:15:19 +03:00
proller
9cea606881
Fix linking iconv under macos and freebsd
...
Partially Revert "Removed usage of glib [#CLICKHOUSE-2]."
This reverts commit e4ff740ef1
.
2017-01-31 04:15:59 +03: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
proller
04d2149e8a
enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR… ( #372 )
...
* enable -Werror only for 'libs' and 'dbms' ; add 'cmake .. -DNO_WERROR=1' option
* add -Werror for utils
2017-01-19 23:30:58 +04:00
proller
cafc2fbbb1
Fix ENABLE_LIBTCMALLOC=0 build ( #359 )
...
Again fix ENABLE_LIBTCMALLOC=0 build
2017-01-18 18:09:10 +03:00
proller
7e21f1dd14
Fix build with -D NO_TCMALLOC, better sanitizers calls ( #355 )
...
* Fix generate includes for clang
* Fix build with -D NO_TCMALLOC, better sanitizers calls
2017-01-18 16:41:47 +04:00
proller
29475c94c0
Reorganize includes, less depends in .h files
2017-01-16 22:47:11 +03:00
proller
ee3882f251
Allow link with external libs: poco, tcmalloc
2017-01-13 14:25:44 +03:00
proller
d00765fb15
Find pthread lib by cmake
2017-01-11 16:40:02 +03:00
Alexey Zatelepin
1b61f2a9d3
use zlib-ng from contrib everywhere [#METR-23582]
2017-01-08 22:24:38 +03:00
Alexey Milovidov
a4d9d766b6
Reworking ExpressionAnalyzer (preparations) [#METR-20307].
2017-01-04 09:52:02 +03:00
proller
4bc003c4c1
Porting to freebsd: initial, compile ok, most tests ok.
2016-12-24 01:03:10 +00:00
Vladimir Chebotarev
cc7db759fe
create_init_script: Avoid generation of init file each configuration phase. [#METR-21516]
2016-12-13 14:09:22 +03:00
Vitaliy Lyudvichenko
876ad28dd8
Merge remote-tracking branch 'origin/master' into metrics_refinement
2016-12-12 19:17:23 +03:00
Alexey Milovidov
54af522de1
Preparation [#METR-2944].
2016-12-12 10:24:56 +03:00
Alexey Milovidov
70b01f0a53
Do not include ClickHouseRevision.h in header files [#METR-2944].
2016-12-12 08:14:46 +03:00
Alexey Milovidov
fc43827a6c
Preparation [#METR-2944].
2016-12-12 06:33:34 +03:00
Alexey Milovidov
8b06b09f34
Moved code to cpp [#METR-2944].
2016-12-12 04:33:18 +03:00
Alexey Milovidov
599308aef0
Get rid of obsolete mongodb client library [#METR-23791].
2016-12-11 12:43:16 +03:00
Alexey Milovidov
e97ecb6cf7
Merge branch 'master' into METR-19266
...
Conflicts:
dbms/CMakeLists.txt
dbms/include/DB/Functions/FunctionsArray.h
dbms/include/DB/Functions/FunctionsString.h
dbms/include/DB/Parsers/ExpressionListParsers.h
dbms/include/DB/Storages/MergeTree/MergeTreeBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergeTreeReader.h
dbms/include/DB/Storages/MergeTree/MergeTreeThreadBlockInputStream.h
dbms/include/DB/Storages/MergeTree/MergedBlockOutputStream.h
dbms/src/Core/ErrorCodes.cpp
dbms/src/Parsers/ASTFunction.cpp
dbms/src/Storages/MergeTree/MergeTreeData.cpp
dbms/src/Storages/MergeTree/MergeTreeDataPart.cpp
dbms/src/Storages/MergeTree/MergeTreeReader.cpp
dbms/src/Storages/StorageLog.cpp
2016-12-10 07:51:36 +03:00
Vitaliy Lyudvichenko
6540156100
Removed redundant code from CMakeLists.
2016-12-09 13:13:16 +03:00
Vitaliy Lyudvichenko
f8eb9028fd
Refined query_log, processes and merges metrics.
...
Also, dbms/CMakeLists.txt was rewritten.
2016-12-09 13:11:25 +03:00
Alexey Milovidov
2dc425b7e6
Preparation [#METR-23747].
2016-12-08 06:04:30 +03:00
Alexey Milovidov
514715589b
Preparation [#METR-23747].
2016-12-08 05:49:04 +03:00
Alexey Milovidov
9303a07b39
Removed garbage [#METR-23747].
2016-12-08 04:11:44 +03:00
Alexey Milovidov
f2cd8de5b4
Removed garbage [#METR-23747].
2016-12-08 04:08:19 +03:00
proller
76dc51aae5
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-12-07 22:08:09 +03:00
Vladimir Chebotarev
8e1a6aaf3e
cmake: Boost, OpenSSL into find_package(). [#METR-23701]
2016-12-06 16:20:32 +03:00
Vladimir Chebotarev
bcc5500f91
cmake: More options. [#METR-23701]
2016-12-05 15:43:14 +03:00
Vitaliy Lyudvichenko
4df22acea9
Try to fix LIBTCMALLOC linking.
2016-11-30 15:10:39 +03:00
Vitaliy Lyudvichenko
202ba912ce
Vertical merging algorithm for MergeTree engines. [#METR-23305]
2016-11-29 22:41:31 +03:00
proller
b529f29bb7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-29 19:57:01 +03:00
Alexey Milovidov
ae413e051b
Fixed error [#METRIQA-526].
2016-11-28 18:22:10 +03:00
proller
3b335b5546
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 22:58:40 +03:00
alexey-milovidov
8c2e228856
Revert "New "vertical" algorithm for MergeTrees' parts merges"
2016-11-24 23:08:54 +04:00
proller
e855c16f4a
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-24 21:25:56 +03:00
Vitaliy Lyudvichenko
ec9bcd8054
Vertical merging algorithm for ordinary MergeTreee.
2016-11-23 15:47:19 +03:00
proller
0b40a13ea7
Merge remote-tracking branch 'upstream/master' into METR-23466
2016-11-22 14:56:57 +03:00
Alexey Milovidov
9018906e1a
Better [#METR-2944].
2016-11-20 15:43:20 +03:00
proller
fd3a9da076
httd dict wip
2016-11-19 03:07:58 +03:00
proller
cc0e0e739e
ExecutableDictionarySource ok
2016-11-17 04:09:46 +03:00
proller
593e3c26bf
initial
2016-11-15 22:51:06 +03:00
alexey-milovidov
52390b0180
Merge pull request #150 from ludv1x/METR-23101
...
clickhouse-local application and File(...) storage
2016-11-14 04:03:03 +04:00
artpaul
e1cda4b760
move impl of common parsers to cpp
2016-11-12 22:55:40 +05:00
Vitaliy Lyudvichenko
2242cfd6b0
Put DatabaseMemory class into separated file.
2016-11-09 22:05:35 +03:00
Vitaliy Lyudvichenko
0e2eb5436b
Added StorageFile and template for clickhouse-local app.
2016-11-09 22:03:47 +03:00
Vladimir Chebotarev
cdaece7dfa
: More specific usage of static libraries. [#METR-21516]
2016-11-09 21:49:01 +03:00
Vladimir Chebotarev
e2ceb63c54
libcommon, libre2, tools: Fixed build under OS X Sierra. [#METR-21516]
2016-11-03 15:41:13 +03:00
Vladimir Smirnov
d36f52502e
Make it compilable on OS X
...
It's still hackish and dirty, but server and client compies.
Server starts, but throwes meaningless exception on any query.
Client seems to be working fine.
Linux compilation might (but shouldn't) be broken (not tested).
2016-11-01 17:59:21 +01:00
Alexey Milovidov
ba48688f25
MergeSelector: development [#METR-21840].
2016-10-30 11:15:55 +03:00
Alexey Milovidov
b5156a115d
Additions [#METR-21504].
2016-10-28 02:28:35 +03:00
Alexey Milovidov
74c3b30622
dbms: Simplified logic of selecting merges [#METR-21841].
2016-10-28 01:50:02 +03:00
Alexey Milovidov
968bcb6f66
Preparation [#METR-2944].
2016-10-27 20:48:12 +03:00
Alexey Milovidov
8be993bd1e
Preparation [#METR-2944].
2016-10-25 09:49:24 +03:00
Alexey Milovidov
daeac24f04
Added ClientInfo: passing original source of query during distributed query execution; improvement of per-user limits in ProcessList [#METR-23279].
2016-10-25 00:40:39 +03:00
Alexey Milovidov
5b562c63d5
Addition to prev. revision [#METR-23231].
2016-10-24 09:08:53 +03:00
Alexey Milovidov
ea852bb9d8
Separate compilation of CurrentMetrics; Separated AsynchronousMetrics from CurrentMetrics; Comments [#METR-23237].
2016-10-24 07:06:27 +03:00
Alexey Milovidov
be84b78b93
Added actively updating metrics [#METR-23237].
2016-10-23 09:12:50 +03:00
Alexey Arno
924402f33e
dbms: Server: merged from master [#METR-19266]
2016-10-19 18:00:56 +03:00
Vitaliy Lyudvichenko
a0760a4821
Added requested PR changes. [#METR-22802]
2016-10-14 20:54:18 +03:00
Vladimir Chebotarev
d09297a840
cmake: Minor fix. [#METR-21516]
2016-10-07 17:56:52 +03:00
Alexey Arno
cc43b1b165
dbms: Server: better [#METR-19266]
2016-09-21 15:31:50 +03:00
Alexey Arno
59043c680e
dbms: Server: Ongoing work. Do not pay attention. [#METR-19266]
2016-09-12 17:16:21 +03:00
Alexey Milovidov
d9db19acea
Function 'convertCharset': development [#METR-22482].
2016-08-26 00:44:47 +03:00
Alexey Milovidov
416a74575e
Merge branch 'master' of github.com:yandex/ClickHouse
2016-08-25 18:50:17 +03:00
Alexey Milovidov
a3953de0b8
Removed useless files (preparation) [#METR-22462].
2016-08-25 18:48:25 +03:00
Yuri Dyachenko
c3697364fd
enable debug symbols for CMAKE_BUILD_TYPE=Debug
2016-08-25 17:58:01 +03:00
Alexey Arno
d4da820f6c
dbms: Allow INSERT when source columns and target columns have compatible types up to nullability. [#METR-19266]
2016-08-25 15:38:47 +03:00
Alexey Milovidov
06bcc34be2
Don't do DNS requests for each fetch from replica [#METR-22304].
2016-08-19 04:54:23 +03:00
Alexey Arno
f65e7b4a0f
dbms: improvements [#METR-19266]
2016-08-18 17:25:02 +03:00
Pavel Kartavyy
9c8697655e
build: fix build after merge with clickhouse repo
2016-08-18 14:17:07 +03:00
alexey-milovidov
2f232b25c2
Merge pull request #72 from serebrserg/METR-22322
...
METR-22322: add geo distance function
2016-08-15 21:02:07 +04:00
Alexey Milovidov
1bb6ccd7f8
Better [#METR-22410].
2016-08-13 08:29:53 +03:00
serebrserg
429b73422f
METR-22322: add geo distance function
2016-08-12 19:51:08 +03:00
Alexey Arno
e2b6e10ec1
dbms: Various fixes + more comments [#METR-19266]
2016-08-10 22:12:29 +03:00
Alexey Arno
531ff3d5ac
dbms: Merged with master [#METR-19266]
2016-08-05 18:44:19 +03:00
Alexey Arno
8c02bc44c5
dbms: Added support for nullable parameters (conditions and/or branches) in the function multiIf [#METR-19266]
2016-08-04 18:06:27 +03:00
Alexey Milovidov
9a07830dbb
Removed useless code (experimental) [#METR-2944].
2016-08-02 04:46:05 +03:00
Alexey Milovidov
9014f19f01
Fewer warnings from UBSan [#METR-2944].
2016-07-31 08:56:36 +03:00
Alexey Milovidov
6f4fc79cde
Better [#METR-2944].
2016-07-31 06:53:16 +03:00
Alexey Milovidov
ea734b6bee
Removed compatibility layer with OLAPServer [#METR-2944].
2016-07-30 04:08:00 +03:00
Alexey Arno
beeeb0ab13
dbms: NULL support for MergeTree [#METR-19266]
2016-07-21 19:22:24 +03:00
Alexey Milovidov
1ef87202f6
Rectifications of JOINs: development [#METR-2944].
2016-07-21 18:48:11 +03:00
Alexey Arno
252d7994e7
dbms: cleanup [#METR-19266]
2016-07-19 13:57:57 +03:00
Alexey Milovidov
9f9be1b7fc
Rectification of JOINs [#METR-2944].
2016-07-18 04:20:53 +03:00
Alexey Milovidov
40ae51e7b3
Rectifying JOINs [#METR-2944].
2016-07-18 03:14:24 +03:00
Alexey Milovidov
3d4aaf1a33
JOINs rectification: development [#METR-2944].
2016-07-17 23:10:50 +03:00
Alexey Milovidov
55ed2904f4
Allowed for certain aggregate functions to have case insensitive names for compatibility [#METR-22087].
2016-07-14 08:22:09 +03:00
Alexey Arno
13b4a5bd4a
dbms: aggregate function support [#METR-19266]
2016-07-12 16:02:52 +03:00
Alexey Arno
2201ad84ff
dbms: merged with master [#METR-19266]
2016-07-08 19:52:26 +03:00
Alexey Milovidov
c2929666fd
Fixed error [#METR-21877].
2016-07-07 04:57:48 +03:00
Alexey Milovidov
5f81c096f6
Squashing transforms: development [#METR-21877].
2016-07-07 00:48:11 +03:00
Alexey Arno
f4e9c16fc0
dbms: Server: Feature development. [#METR-19266]
2016-07-06 15:39:41 +03:00
Alexey Arno
f52403f623
dbms: Server: Feature development. [#METR-19266]
2016-07-06 12:47:55 +03:00
Alexey Arno
582b8fb555
dbms: Server: Feature development. [#METR-19266]
2016-07-05 19:23:37 +03:00
Alexey Milovidov
1a420a14e9
Squashing small blocks on INSERT (when passing blocks via TCP interface or when doing INSERT SELECT) [#METR-21877].
2016-07-02 00:02:13 +03:00
Alexey Milovidov
df538babc8
Text formats: detecting and skipping UTF-8 BOM when possible [#METR-21817].
2016-06-23 22:39:20 +03:00
Alexey Milovidov
858481b5d2
Lowered binary size [#METR-21527].
2016-06-08 03:50:29 +03:00
Alexey Milovidov
3ecfca51ba
Splitted dictionaries to separate translation units [#METR-21527].
2016-06-08 00:07:44 +03:00
Vladimir Chebotarev
117bfa5618
dbms: Proper link options when DISABLE_MONGODB=FALSE. [#METR-21516]
2016-06-02 22:34:12 +03:00
Vladimir Chebotarev
42e6374087
dbms: Build fix. [#METR-21516]
2016-05-29 04:36:19 +03:00
Vladimir Chebotarev
d1f7302d96
dbms: Declared max_block_size. [#METR-21516]
2016-05-29 04:12:10 +03:00
Alexey Milovidov
a8ca56ecc0
Better [#METR-2944].
2016-05-28 03:22:09 +03:00
Alexey Milovidov
1dea5a0395
Fixed error [#METR-20000].
2016-05-23 01:56:30 +03:00
Alexey Milovidov
2f8b8d8214
Addition to build without MongoDB [#METR-20000].
2016-05-23 01:44:11 +03:00
Vladimir Chebotarev
e02a803a6d
cmake: Added DISABLE_MONGODB to cmake cache [#METR-XXXXX]
2016-05-22 15:53:22 +03:00
Alexey Milovidov
bd734cd1b4
Allowed to disable MongoDB dictionary source at build time [#METR-20000].
2016-05-22 03:54:26 +03:00
Alexey Milovidov
65de71b5a2
Added table function 'shardByHash' [#METR-21287].
2016-05-13 06:22:16 +03:00
Alexey Arno
286baa8611
Merge
2016-05-04 02:19:14 +03:00
Alexey Milovidov
07f04d70d3
Merge
2016-04-24 12:44:47 +03:00
Alexey Milovidov
11f1c451e5
Merge
2016-04-19 02:17:07 +03:00
Alexey Milovidov
a4a5d444ef
Tiny modification [#METR-2944].
2016-04-19 02:16:55 +03:00
Alexey Arno
f2357d50b5
Merge
2016-04-18 17:31:32 +03:00
Alexey Milovidov
2bb5a4749b
Merge
2016-04-15 22:09:42 +03:00
Alexey Milovidov
6d851cc5a7
Better [#METR-19470].
2016-04-11 22:47:48 +03:00
Alexey Milovidov
7c89a426d6
Addition to prev. revision [#METR-19470].
2016-04-11 22:39:07 +03:00
Alexey Milovidov
7c91f78a53
Addition to prev. revision [#METR-19470].
2016-04-10 14:49:53 +03:00
Alexey Milovidov
348594ffbe
Added ODBC external dictionary source [#METR-19470].
2016-04-10 07:00:00 +03:00
Alexey Milovidov
3688c2270f
Preparation [#METR-19470].
2016-04-10 05:47:29 +03:00
Alexey Milovidov
0bcccb720f
Preparation [#METR-19470].
2016-04-10 05:32:59 +03:00
Alexey Milovidov
54d1ce01a6
Preparation [#METR-19470].
2016-04-10 05:29:45 +03:00
Alexey Milovidov
11df87ea54
Merge
2016-04-09 07:22:11 +03:00
Alexey Milovidov
d0365e9501
Separated code for checking parts [#METR-20803].
2016-04-09 06:50:02 +03:00
Alexey Milovidov
0e6993b3ea
Removed obsolete Chunks and ChunkRef storages [#METR-19997].
2016-03-30 19:04:53 +03:00
Alexey Milovidov
f7b8709885
Fixed error (after update of Poco) with local replicas optimization [#METR-20654].
2016-03-29 20:51:07 +03:00
Alexey Arno
21ff6d9f94
dbms: Comment updates. Naming simplfications. Use better hashing. [#METR-18510]
2016-03-29 19:29:39 +03:00
Alexey Milovidov
ccc3737576
DatabaseCloud: development [#METR-19998].
2016-03-26 06:03:50 +03:00
Alexey Arno
32a38485e6
Merge
2016-03-25 14:48:45 +03:00
Alexey Milovidov
5fc44df6b5
Squashed commit of the following:
...
commit f9b478181cd49224154cc350fb57df7121842f1c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 04:06:36 2016 +0300
Database engines: development [#METR-19997].
commit f7a10a67761ccfd05f3dac32d6444920cd8d4d60
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 03:44:37 2016 +0300
Database engines: development [#METR-19997].
commit bd98a8558e98bad2bed278e5762c4e0fc66e6f38
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:33:59 2016 +0300
Database engines: development [#METR-19997].
commit 19712fd884c22a4e2c2b67474086dea8f44e7c7b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sat Mar 19 00:03:11 2016 +0300
Database engines: development [#METR-19997].
commit 50274d6df7e91fcc34aab8a8c72347daa2c6512f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 23:24:57 2016 +0300
Database engines: development [#METR-19997].
commit 4a0b99b19b34e90ef8b7be2d199f6232e36ef3f7
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 22:50:36 2016 +0300
Database engines: development [#METR-19997].
commit 44ff3ebba7a3e460a27a89f31ddf199dbea1d182
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 15:09:17 2016 +0300
Database engines: development [#METR-19997].
commit 137c31f3004cfd282473b6acb01cbe1b4ca2aadd
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:26:34 2016 +0300
Database engines: development [#METR-19997].
commit aa4c0496d4afe4a691164254be2bd5600542b38a
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 03:22:59 2016 +0300
Database engines: development [#METR-19997].
commit 5a94d1f0607450a2dac28a4d7df8b1393a864c23
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Fri Mar 18 01:02:40 2016 +0300
Database engines: development [#METR-19997].
commit 50fd5b52ea1141955a5dfba0dcb191f3289ac25b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 23:23:40 2016 +0300
Database engines: development [#METR-19997].
commit a333d91b058e4f56dd83a6d2878c3c2bd8efc002
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 20:29:07 2016 +0300
Database engines: development [#METR-19997].
commit f81d366e7ac8348436f2698d040f8e341743a024
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Thu Mar 17 01:30:23 2016 +0300
Database engines: development [#METR-19997].
commit d0696860c9060827896214c08d147c759ea79376
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 21:55:31 2016 +0300
Database engines: development [#METR-19997].
commit 46a168c2ada140a0e95cd8d4b9d8ba9bac855d11
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 08:00:58 2016 +0300
Database engines: development [#METR-19997].
commit 20a2bad161454225fc1b5f9b919b842fbebc3231
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:51:10 2016 +0300
Database engines: development [#METR-19997].
commit ca0a77fcc2a8d0b276eb3743c53551ad3fe16314
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 06:02:20 2016 +0300
Reverted erroneous modification [#METR-19997].
commit 1370bdcc4594182f6ef2b146f9afabfe1c295080
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Wed Mar 16 00:41:34 2016 +0300
Database engines: development [#METR-19997].
commit 16e72c67041cae6471509d3f0f3d4a9aa7b7dc0f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Mar 15 00:41:48 2016 +0300
Database engines: development [#METR-19997].
2016-03-19 04:18:49 +03:00
Alexey Milovidov
4e9dc2837b
Lowered size of compiled binary [#METR-2944].
2016-03-12 08:53:04 +03:00
Alexey Arno
4ce2d94be7
dbms: Removed code that was not needed anymore since we have now a better way to check issues with connections. [#METR-18510]
2016-03-10 18:42:36 +03:00
Alexey Milovidov
b335dfacba
Fixing warnings on clang [#METR-2807].
2016-03-07 09:18:06 +03:00
Alexey Milovidov
e310ceef21
Fixed build on clean system [#METR-2944].
2016-03-07 05:49:57 +03:00
Alexey Milovidov
f81aa67fc4
Preparation [#METR-20307].
2016-03-07 04:08:01 +03:00
Alexey Arno
6efc98d1f3
Merge
2016-03-01 20:47:53 +03:00
Alexey Milovidov
dcce15052f
Removed (useless) linking of vectorclass [#METR-20000].
2016-02-24 21:25:44 +03:00
Alexey Milovidov
e8802db2c3
Added format JSONEachRow [#METR-20081].
2016-02-18 14:44:50 +03:00
Alexey Milovidov
2f35f6a350
Added support for format TSKV for input [#METR-20081].
2016-02-18 06:13:52 +03:00
Alexey Milovidov
8b3afeb60d
Squashed commit of the following:
...
commit f968e7e7f0d84c89fd26dea1d541bd9f6041d7c8
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:11:29 2016 +0300
Addition [#METR-2944].
commit 7524981fa7c4f22929dd5009444a0ae28500f620
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 06:08:43 2016 +0300
Fixed error (incomplete) [#METR-2944].
commit 2f1e7bf9f46cd9ce958ade9041c00ce067940fd2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 05:37:43 2016 +0300
Improving performance of row formats [#METR-2944].
commit 9848910f235863c9571ef1ebe0d87d4929ee283c
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:37:12 2016 +0300
Improving performance of text formats [#METR-2944].
commit 3aedc7fd784af962e64ffdd10ec23ac53827d8e2
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Tue Feb 16 00:18:00 2016 +0300
Improving performance of row formats [#METR-2944].
commit cb5932c2b0385604477e69c8262dc31a4bb4b23b
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Mon Feb 15 00:53:27 2016 +0300
Fixed error.
commit 42863fd4eddeef594e846c598b92877b6ff86fa6
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 23:13:46 2016 +0300
Improving performance of row formats [#METR-2944].
commit 71c6fb19a85a79297433ceb486fdb97e551d964f
Author: Alexey Milovidov <milovidov@yandex-team.ru>
Date: Sun Feb 14 16:58:56 2016 +0300
Improving performance of row formats [#METR-2944].
2016-02-16 19:39:39 +03:00
Alexey Milovidov
7a92c3cf1a
Preparation [#METR-2944].
2016-02-14 07:58:47 +03:00
Alexey Milovidov
8efb3e5ade
Initial implementation of XML output format [#METR-20026].
2016-02-14 05:37:42 +03:00
Alexey Milovidov
12363ed329
Added limited support for expressions in INSERT ... VALUES [#METR-20048].
2016-02-13 09:37:19 +03:00
Alexey Milovidov
df1d66e51a
Removed sensitive data.
2016-02-08 00:58:58 +03:00