robot-metrika-test
93e1401b35
Auto version update to [54297]
2017-10-20 19:13:20 +03:00
proller
b60c5fb097
Try fix work with not connected sockets ( #1320 )
...
* Lazy fd_to_replica_state_idx init; Fix work with not connected sockets
* Style
* const
2017-10-20 19:13:20 +03:00
Vitaliy Lyudvichenko
cbd03af500
Fixed integration tests after introduction of 'clickhouse server' commands. [#CLICKHOUSE-2]
2017-10-20 19:13:19 +03:00
Nikolai Kochetov
24fc661f00
added boost::dll [#CLICKHOUSE-3305]
2017-10-20 19:13:19 +03:00
Nikolai Kochetov
99e9c0c486
fix build [#CLICKHOUSE-3305]
...
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
fix build [#CLICKHOUSE-3305]
2017-10-20 18:45:16 +03:00
Nikolai Kochetov
4262c00122
lock mutex before notifying waiting thread in sync insertion into distributed [#CLICKHOUSE-3379]
2017-10-19 22:52:45 +03:00
proller
443088ce31
Use c++11 thread_local instaed of gcc's __thread
2017-10-19 22:36:37 +03:00
Alexey Zatelepin
e51f95872f
fix backward compatibility for new part format: [#CLICKHOUSE-3000]
...
* do not write out partition and minmax index files for old MergeTreeData format
* download the part from another replica if there are missing or extra files
2017-10-19 21:24:30 +03:00
Marek Vavruša
e2a8526990
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.
2017-10-18 15:13:42 -07:00
robot-metrika-test
8a2b7cf0b6
Auto version update to [54300]
2017-10-16 13:49:50 +03:00
Marek Vavruša
927c0f7b74
dbms: Partially revert previous change
...
Instead of trying to convert long/unsigned long to Poco types, just
don't use them.
2017-10-13 23:46:10 -07:00
Marek Vavruša
8a0571af24
dbms: Better fix for missing unsigned long to Poco::UInt64 alias
2017-10-13 21:39:14 -07: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
Marek Vavruša
2ac5a743cc
dbms: fix build with OS X built-in clang
...
The built-in clang doesn’t support value() for
`std::experimental::optional`. It however supports
dereference operator, which is basically the
same thing:
```
/clickhouse/dbms/src/DataStreams/NullableAdapterBlockInputStream.cpp:83:67: error: call to unavailable member function 'value':
res.insert({elem.column, elem.type, rename[i].value()});
~~~~~~~~~~^~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:547:17: note: candidate function has been explicitly made unavailable
value_type& value()
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/experimental/optional:539:33: note: candidate function has been explicitly made unavailable
constexpr value_type const& value() const
```
2017-10-13 18:12:29 -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
f42c6014ce
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-14 02:06:11 +03:00
alexey-milovidov
9ccdb5420b
Merge branch 'master' into upstream-add-kafka
2017-10-13 23:52:42 +03:00
proller
20329ce794
Zookeeper include fix ( #1353 )
2017-10-13 23:30:55 +03:00
alexey-milovidov
adedf47715
Update StorageKafka.cpp
2017-10-13 23:18:43 +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
41b0bea84c
SummingSortedBlockInputStream: use a separate structure for MapDescription
2017-10-13 21:51:03 +03:00
Marek Vavruša
39a5ae97c9
SummingSortedBlockInputStream: added comments, destructor for state
2017-10-13 21:51:03 +03:00
alexey-milovidov
d561d8d701
Update SummingSortedBlockInputStream.cpp
2017-10-13 21:51:03 +03:00
alexey-milovidov
a2fa58a2e4
Update SummingSortedBlockInputStream.cpp
2017-10-13 21:51:03 +03:00
alexey-milovidov
fee883d7c5
Update SummingSortedBlockInputStream.cpp
2017-10-13 21:51:03 +03:00
alexey-milovidov
6405620dfb
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
a5955d527d
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
4124465d0b
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
725379e23d
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
9eca78273f
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
alexey-milovidov
1984782321
Update AggregateFunctionSumMap.h
2017-10-13 21:51:03 +03:00
Marek Vavruša
2edf5492d0
AggregateFunctionSumMap: support variardic arguments, specialized keys
...
The function is rewritten to avoid allocations on every insert with
Field deserialising each array. The key type is now specialized,
so it can be accessed directly. The value type is variant type,
but only individual values are deserialised (which is cheap, since they're PODs).
The function also support summing of multiple columns by the same key.
The SummingSortedBlockInputStream uses the function in case of
Nested structure with one numeric key and many values to sum.
2017-10-13 21:51:03 +03:00
Marek Vavruša
be2faa82ff
DataStreams/test: test case for nested field with two arrays for summing
2017-10-13 21:51:03 +03:00
Marek Vavruša
c09a43a7b2
DataStreams/SummingSortedBlockInputStream: use builtin aggregated functions
...
This replaces custom summation function implementations with an implementation
using built-in aggregation functions (sum and sumMap). The goal is to be able to
use specialized variants of aggregation functions, and to have a single
efficient implementation.
2017-10-13 21:51:03 +03:00
Marek Vavruša
c9be3719bc
DataStreams/tests: add SummingSortedBlockInputStream test variant
...
This is basically useful for testing SummingSortedBlockInputStream
against the AggregatingBlockInputStream, which are used in the
{Summing,Aggregating}MergeTree table engines respectively.
2017-10-13 21:51:03 +03:00
alexey-milovidov
3a1ce26764
Update Context.cpp
2017-10-13 21:46:32 +03:00
proller
c0e9813b90
Fix access for inserting into temporary table (#CLICKHOUSE-3360)
2017-10-13 21:46:32 +03:00
proller
49f8080e52
Small debud improvement
2017-10-13 21:44:26 +03:00
Amos Bird
f30841d5ab
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 15:42:32 +03:00
Alexey Milovidov
03dd341804
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-13 04:24:14 +03:00
Vladimir Chebotarev
c05dfc201f
dbms: Minor fix. [#METR-21516]
2017-10-13 04:14:57 +03:00
Alexey Milovidov
0ec218a853
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-13 04:09:51 +03:00
Vladimir Chebotarev
1e0241e262
dbms: CompressionSettingsSelector. [#METR-21516]
2017-10-13 04:08:23 +03:00
Vladimir Chebotarev
4e313f3732
dbms: Added compression level for ZSTD. [#METR-26742]
2017-10-13 04:08:23 +03:00
proller
1e961cc69d
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
2017-10-13 00:28:24 +03:00
Vitaliy Lyudvichenko
7bc58340b0
Fixed infinite recursion in expression analyzer. [#CLICKHOUSE-3125]
2017-10-13 00:27:25 +03:00
proller
fd85fffa0d
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)
2017-10-13 00:22:04 +03:00
Alexey Milovidov
d3d976a6fb
Misc [#CLICKHOUSE-2].
2017-10-12 23:45:55 +03:00
proller
b993667156
Try fix strange terminate ( #1329 )
...
* Tests: External: rename --use_http => --no_http and fix
* Try fix strange terminate
2017-10-12 23:42:58 +03:00
Alexey Milovidov
3a6705af0f
Improvement [#CLICKHOUSE-2].
2017-10-12 23:34:01 +03:00
alexey-milovidov
b7c1076df2
Update ActionBlocker.h
2017-10-12 23:26:54 +03:00
alexey-milovidov
96b603a023
Update ActionBlocker.h
2017-10-12 23:26:54 +03:00
Vitaliy Lyudvichenko
62ea1133dd
Disable part sendings and fetches before ALTER. [#CLICKHOUSE-3343]
2017-10-12 23:26:54 +03:00
KochetovNicolai
83925f1d5e
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
2017-10-12 23:13:26 +03:00
proller
3de5e465d0
Split GatherUtils.cpp for faster compile ( #1312 )
...
* Split GatherUtils.cpp for faster compile
* remove GatherUtils.cpp
2017-10-12 22:58:39 +03:00
Alexey Milovidov
b93f9ba686
Merge branch 'master' of github.com:yandex/ClickHouse
2017-10-12 22:56:55 +03:00
Alexey Milovidov
e57e79a5ff
Proper fix for the issue: better exception message [#CLICKHOUSE-2].
2017-10-12 22:56:47 +03:00
proller
26c44d5993
Tests: Use new possibly redefined values from env (in 2 tests)
2017-10-12 22:54:56 +03:00
proller
f8548156a0
Improve tests: allow redefine some values (clickhouse path, ports, ...)
2017-10-12 22:48:39 +03:00
proller
cbc81a6a9f
Received signal Segmentation fault ( #1300 ) ( #1302 )
...
* Received signal Segmentation fault (#1300 )
* Add test
2017-10-12 22:46:40 +03:00
Alexey Milovidov
54eb2bbb0a
Miscellaneous changes after merge [#CLICKHOUSE-2].
2017-10-12 22:40:42 +03:00
alexey-milovidov
c2647e0c60
Update ExecutableDictionarySource.cpp
2017-10-12 22:36:27 +03:00
alexey-milovidov
beb93bb9d6
Update ExecutableDictionarySource.cpp
2017-10-12 22:36:27 +03:00
alexey-milovidov
44e6ecfe78
Update ShellCommand.cpp
2017-10-12 22:36:27 +03:00
proller
4969038865
test me
2017-10-12 22:36:27 +03:00
proller
1505ad6bac
Executable dictionaries: fail if program returns non zero exit code (#CLICKHOUSE-3171)
2017-10-12 22:36:27 +03:00
Vitaliy Lyudvichenko
18af75a4f1
Add metrics for RWLockFIFO. [#CLICKHOUSE-3246]
2017-10-12 22:32:31 +03:00
alexey-milovidov
c1285c7d6b
Update MergeTreeDataMerger.cpp
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
cabf6d7799
Add better logging if OPTIMIZE cannot be executed. [#CLICKHOUSE-2]
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
a65e8d9ffc
Less noisy logging. [#CLICKHOSUE-2]
2017-10-12 22:28:24 +03:00
Vitaliy Lyudvichenko
c0716da718
Resolves #1273 . Exception safe users update. [#CLICKHOUSE-3]
2017-10-12 22:28:24 +03:00
Alexey Milovidov
d880762e0a
Removed tcp_ssl_port by default [#CLICKHOUSE-2].
2017-10-12 21:30:45 +03:00
Alexey Milovidov
d468473d62
Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].
2017-10-12 21:21:17 +03:00
proller
f42ae974d1
Remove wrong test
2017-10-11 21:22:28 +03:00
Alexey Milovidov
4814eb7072
Whitespaces [#CLICKHOUSE-2].
2017-10-11 17:41:49 +03:00
Marek Vavruša
7fc08389c9
Storages: added Kafka table engine (read-only)
...
Added a new table engine backed by Apache Kafka,
it allows near real-time ingestion or ETL with
exactly-once semantics.
It doesn’t store any data on disk, so data must
be materialized into a physical table to allow
random access.
Currently it only supports reading, no insertion.
2017-10-10 08:33:00 -07:00
Marek Vavruša
4fb570fa5e
IStorage: allow notification on dependency change
...
This allows sending notifications to supported
table engines when their dependencies change.
For example, a table can be notified when a
MATERIALIZED VIEW is attached to it.
This is a building block for building pipelines.
2017-10-10 08:33:00 -07:00
Marek Vavruša
011658bb02
contrib: include librdkafka as submodule
2017-10-10 08:33:00 -07:00
Marek Vavruša
cbf9aaca95
dbms: fixed minor mistakes with build
...
* Use std::abs instead of abs() to properly support floats
2017-10-10 08:32:42 -07:00
proller
47798f0b8a
Fix PerformanceTest runs
2017-10-10 16:32:31 +03:00
proller
975e8575c7
Add test (failed on version 1.1.54292) ( #1328 )
...
* Tests: External: rename --use_http => --no_http and fix
* Add test (failed on version 1.1.54292)
2017-10-09 20:22:15 +03:00
Alexey Milovidov
1405415f94
Miscellaneous [#CLICKHOUSE-3].
2017-10-09 01:53:38 +03:00
alexey-milovidov
2dfb3fa463
Update AggregateFunctionTopK.h
2017-10-09 01:12:38 +03:00
alexey-milovidov
6e5ea5cc10
Update AggregateFunctionTopK.h
2017-10-09 01:12:38 +03:00
Marek Vavruša
28bb5e25cf
AggregateFunctionTopK: read alphaMap for generic
...
* the alpha_map vector always (de)serialises
the actual version (could empty sometimes)
* AggregateFunctionTopK generic variant deserialises
it as well instead of ignoring it
* AggregateFunctionTopK generic variant clears the
array before deserialising
refs #1283
2017-10-09 01:12:38 +03:00
robot-metrika-test
6628b5d308
Auto version update to [54299]
2017-10-09 00:39:00 +03:00
proller
19042816c4
Fix compile with boost 1.65.1+ and clang 3.8 ( https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222439 ) ( #1325 )
2017-10-06 19:26:32 +03:00
proller
704fee8750
Tests: External: rename --use_http => --no_http and fix ( #1324 )
2017-10-06 18:58:24 +03:00
Nikolai Kochetov
61bef2adf1
added ExternalLoader [#CLICKHOUSE-3305]
2017-10-06 13:31:06 +03:00
robot-metrika-test
95ebdd53c0
Auto version update to [54297]
2017-10-05 12:22:56 +03:00
proller
d498e8e152
Try fix work with not connected sockets ( #1320 )
...
* Lazy fd_to_replica_state_idx init; Fix work with not connected sockets
* Style
* const
2017-10-04 18:18:05 +03:00
Vitaliy Lyudvichenko
723f36ec6d
Fixed integration tests after introduction of 'clickhouse server' commands. [#CLICKHOUSE-2]
2017-10-04 18:15:40 +03:00
alexey-milovidov
96d1ab89da
Update Server.cpp
2017-10-03 22:12:44 +03:00
proller
88c88c3f4a
Fix
2017-10-03 22:12:44 +03:00
proller
7feb94357b
use enum class
2017-10-03 22:12:44 +03:00
proller
a4191614ed
fixes
2017-10-03 22:12:44 +03:00
proller
add13f233e
requested changes
2017-10-03 22:12:44 +03:00
proller
b289e0027d
fix
2017-10-03 22:12:44 +03:00
proller
dc50ea2788
fix
2017-10-03 22:12:44 +03:00
proller
2db34a606a
clean
2017-10-03 22:12:44 +03:00
proller
b7780aa6c4
Better ports
2017-10-03 22:12:44 +03:00
proller
2467530583
Works!
2017-10-03 22:12:44 +03:00
proller
ebb4a6a0ed
Start ssl'ing (#CLICKHOUSE-3032)
2017-10-03 22:12:44 +03:00
proller
097357799d
Tests: --random option; set some env variables for .sh tests
2017-10-03 21:31:32 +03:00
Vitaliy Lyudvichenko
f08545b9b8
Stop tests execution on KeyboardInterrupt. [#CLICKHOUSE-2]
2017-10-03 19:21:25 +03:00
alexey-milovidov
3382a730b8
Merge pull request #1315 from yandex/libunwind-fix
...
Libunwind fix
2017-10-03 17:06:37 +03:00
Vitaliy Lyudvichenko
97277ed691
Return 411 code in case of empty body without Content-Length head. [#CLICKHOUSE-3333]
2017-09-30 14:06:50 +03:00
robot-metrika-test
5fdede6d85
Auto version update to [54294]
2017-09-29 01:08:47 +03:00
proller
8f3a244d26
Fix internal compiler with some new clang packages
2017-09-27 17:52:24 +03:00
proller
d469e5eddd
Fix no-shard tests
2017-09-26 23:55:22 +03:00
proller
c46ce859a1
Fix tests on clean storage
2017-09-26 23:37:03 +03:00
proller
5250650f65
Fixes ( #1286 )
...
* Revert "Simplification [#CLICKHOUSE-2]."
This reverts commit 98ad6a5db3
.
* Fix error: comparison of unsigned expression < 0 is always false
* Fix float division by zero
* Fix float division by zero
* Disable PointInPolygon function if compiling with old clang
* Fix warning:
dbms/src/Functions/FunctionsCoding.h:336:21: error: comparison of constant -1 with expression of type 'const char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]
if (num != -1)
* Fix
2017-09-26 23:29:34 +03:00
Alexey Zatelepin
6e57272052
don't use partition value as a prefix for FREEZE PARTITION [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
bfd87add7d
improve getExremes(), fix for ColumnNullable [#CLICKHOUSE-2]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
f1a8b9bfa1
add comments [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
61f0b32757
forbid ALTER of partition key columns for now [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
4160bcfdf5
add custom partitioning tests [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
1be62b567e
safeguards to protect against distinct partition values with the same partition_id [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
728a23f60e
allow creation of custom-partitioned tables with experimental syntax [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
a10ba0cd91
serialize partition key in Replicated tables metadata [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
909b46de0f
add MergeTreeDataFormatVersion constant [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
ceddecbc10
implement missing getExtremes() functions [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
68cb592277
allow arbitrary partition literals in ALTER PARTITION queries [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
f0995f2741
partition serialization into id and text [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
25bb444d5a
absence of partitioning works [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
71ebf67f2e
encapsulate partition and minmax_idx load/store code [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
6906921932
load partition and minmax index from disk [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
e9f93028b8
serialize partition and minmax index values [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Alexey Zatelepin
2f80c150db
save MergeTree data format version and parse part names depending on it [#CLICKHOUSE-3000]
2017-09-26 20:40:02 +03:00
Nikolai Kochetov
937d3f3883
added test [#CLICKHOUSE-3339]
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
1592691e47
fixed defalut Nullable implementation for Const(Nullable) columns
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
c8ffca746e
fixed defalut Nullable implementation for Const(Nullable) columns [#CLICKHOUSE-3339]
2017-09-26 20:34:48 +03:00
Nikolai Kochetov
c8dc25815f
fixed pointinPolygon test, clang build
2017-09-26 19:07:00 +03:00
proller
ed848a7186
Fix warning on arm
2017-09-24 16:59:18 +03:00
Vitaliy Lyudvichenko
56884c1b0d
A small enhancement. CLICKHOUSE-3333.
2017-09-24 02:52:49 +03:00
KochetovNicolai
6096227cb2
Point in polygon ( #1269 )
...
* added FunctionPointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid with holes [#CLICKHOUSE-3201]
* added arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed shifted grid for PointInPolygonWithGrid, added test [CLICKHOUSE-3201]
* expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fix expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added pool to PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* fixed test [#CLICKHOUSE-3201]
* unified signature for PointInPolygon [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* supported Float64 for pointInPolygon [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fixed check for numeric tuple in PointInPolygon function [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* added profile events polygons pool [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* Update FunctionsGeo.cpp
* made grid_size argument of PointInPolygon; style fixes [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* renamed pointInPolygon functions [#CLICKHOUSE-3201]
2017-09-24 02:47:43 +03:00
Vitaliy Lyudvichenko
9d3f28f52d
Fix an error for POST queries with empty body. [#CLICKHOUSE-3333]
2017-09-24 02:38:12 +03:00
alexey-milovidov
b205a2b970
Update HTTPHandler.cpp
2017-09-24 02:21:09 +03:00
alexey-milovidov
e3694e479b
Update HTTPHandler.cpp
2017-09-24 02:21:09 +03:00
Vadim Skipin
7e51a06794
Do not allow to mix authorization schemes
2017-09-24 02:21:09 +03:00
Nikolai Kochetov
9a19cdb617
added test
2017-09-24 02:16:30 +03:00
Nikolai Kochetov
322e56c692
fix reading with preferred_block_size_bytes = 0
2017-09-24 02:16:30 +03:00
Vitaliy Lyudvichenko
48c5382c92
Add 'clickhouse compressor' command. [#CLICKHOUSE-2]
2017-09-24 02:15:56 +03:00
Vitaliy Lyudvichenko
7ee2c52328
Use clickhouse extract-from-config intead of clickhouse --extract-from-config and so on. [#CLICKHOUSE-2928]
2017-09-24 02:15:56 +03:00
robot-metrika-test
037a2a378d
Auto version update to [54292]
2017-09-20 21:05:46 +03:00
Alexey Milovidov
1331dc0b1c
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-20 20:14:53 +03:00
Alexey Milovidov
ac2b615890
Fixed test on Ubuntu Precise [#CLICKHOUSE-2].
2017-09-20 20:14:45 +03:00
robot-metrika-test
d44c2c1924
Auto version update to [54291]
2017-09-20 19:34:05 +03:00
Alexey Milovidov
045675be20
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-20 19:32:07 +03:00
Alexey Milovidov
3d219b220b
Fixed test [#CLICKHOUSE-3].
2017-09-20 19:31:44 +03:00
Alexey Zatelepin
df58949a68
make exit out of the loop possible when ZooKeeper is unavailable [#CLICKHOUSE-3259]
2017-09-20 06:05:20 +03:00
Alexey Zatelepin
ba87fa395c
be more conservative when deleting replication queue items in PartCheckThread [#CLICKHOUSE-3258]
2017-09-20 06:05:20 +03:00
robot-metrika-test
40b2fc4e30
Auto version update to [54290]
2017-09-20 05:58:20 +03:00
KochetovNicolai
e0efb7e8c1
Point in polygon ( #1264 )
...
* added FunctionPointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for PointInPolygonWithGrid with holes [#CLICKHOUSE-3201]
* added arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added test for arbitrary orientation for polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed shifted grid for PointInPolygonWithGrid, added test [CLICKHOUSE-3201]
* expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fix expand box for complex polygons in PointInPolygonWithGrid [#CLICKHOUSE-3201]
* added pool to PointInPolygonWithGrid [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* changed FunctionPointInPolygonWithGrid signature [#CLICKHOUSE-3201]
* fixed test [#CLICKHOUSE-3201]
* unified signature for PointInPolygon [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* supported Float64 for pointInPolygon [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fix build [#CLICKHOUSE-3201]
* fixed check for numeric tuple in PointInPolygon function [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* added profile events polygons pool [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* fixed build [#CLICKHOUSE-3201]
* Update FunctionsGeo.cpp
2017-09-20 05:30:44 +03:00
alexey-milovidov
76e3f7ac0c
Merge pull request #1250 from bocharov/master
...
Add new aggregate function sumMap(key, value).
2017-09-19 21:31:24 +03:00
Alex Bocharov
e99c969a1c
Aggregate function sumMap: improve insertResultInto method and change return type to Tuple(Array(K), Array(V)).
2017-09-19 13:35:25 +01:00
proller
0a0e04f1a5
Fix includes
2017-09-18 21:52:47 +03:00
Alex Bocharov
07cd6829d0
Aggregate function sumMap: fix compilation error regarding getHeaderFilePath after merge with master.
2017-09-18 19:37:44 +01:00
Alex Bocharov
55e1559733
Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum.
2017-09-18 18:46:10 +01:00
Alex Bocharov
1f70d0e163
Resolve conflict in SummingSortedBlockInputStream when moving FieldVisitorSum.
2017-09-18 18:43:47 +01:00
Alex Bocharov
c1feea159e
Aggregate function sumMap: optimize serialize/deserialize.
2017-09-18 18:11:16 +01:00
Alex Bocharov
6e74602e45
Aggregate function sumMap: use FieldVisitorSum instead of += operator.
2017-09-18 16:41:07 +01:00
alexey-milovidov
edb66bfffe
Merge branch 'master' into master
2017-09-18 10:31:31 +03:00
Alexey Milovidov
ff1598c8d1
Improved performance of dynamic compilation [#CLICKHOUSE-2].
2017-09-17 23:22:39 +03:00
Alexey Milovidov
156d48f3ee
Removed aggregate function "debug" [#CLICKHOUSE-2].
2017-09-17 23:12:02 +03:00
Alexey Milovidov
dd3e74c0eb
Fixed weird translation [#CLICKHOUSE-2].
2017-09-17 21:17:04 +03:00
Alexey Milovidov
4df44cfeb4
Modified comment [#CLICKHOUSE-2].
2017-09-17 21:00:27 +03:00
Alexey Milovidov
565902fc4d
Added comment; fixed test [#CLICKHOUSE-2].
2017-09-17 20:58:30 +03:00
Alexey Milovidov
bc622c4c45
Better [#CLICKHOUSE-2].
2017-09-17 03:13:26 +03:00
Alexey Milovidov
a5e8c5e8f5
Better [#CLICKHOUSE-2].
2017-09-17 01:24:48 +03:00
Alexey Milovidov
b80788a2f4
Better implementation of "roundToExp2" function [#CLICKHOUSE-2].
2017-09-17 01:12:24 +03:00
Alexey Milovidov
5224345c03
Added function aliases for 'trunc' [#CLICKHOUSE-2].
2017-09-17 01:11:20 +03:00
Alexey Milovidov
c2595934f1
FunctionsRound: continue [#CLICKHOUSE-2].
2017-09-16 23:17:19 +03:00
Alexey Milovidov
d48725f9a7
FunctionsRound: continue [#CLICKHOUSE-2].
2017-09-16 22:33:49 +03:00
Alexey Milovidov
84d61b501c
FunctionsRound: continue [#CLICKHOUSE-2].
2017-09-16 22:31:20 +03:00
Alexey Milovidov
ad13a8c79d
Fixed half of bad code [#CLICKHOUSE-2].
2017-09-16 21:36:16 +03:00
Alexey Milovidov
0002507598
Added function "trunc"; simplifications [#CLICKHOUSE-2].
2017-09-16 19:47:05 +03:00
Alexey Milovidov
25f2f032d1
Added function "trunc"; simplifications [#CLICKHOUSE-2].
2017-09-16 19:38:27 +03:00
Alexey Milovidov
e1cf922c1b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-16 18:56:37 +03:00
Alexey Milovidov
65ad717938
Whitespaces [#CLICKHOUSE-2].
2017-09-16 18:55:31 +03:00
Alexey Zatelepin
3791b93c76
remove junk
2017-09-16 01:27:57 +03:00
Alexey Milovidov
21fe32b929
Fixed build in clang with raised up inline-depth [#CLICKHOUSE-2].
2017-09-15 15:17:01 +03:00
Alexey Milovidov
86c46ad1bd
Unification [#CLICKHOUSE-2].
2017-09-15 15:16:12 +03:00
Alex Bocharov
591cd5c009
Add new aggregate function sumMap(key, value).
2017-09-15 12:14:19 +01:00
Alexey Milovidov
e29b0e1750
Merge branch 'memcpy'
2017-09-15 14:09:39 +03:00
Alexey Milovidov
cfd4120f4a
Fixed build with increased inline-depth in clang [#CLICKHOUSE-2].
2017-09-15 14:08:39 +03:00
Evgeny Konkov
e95ab36832
handle test errors
2017-09-15 03:11:24 +03:00
Evgeny Konkov
c37a387ff8
remove control characters from diff output in order to properly save diff output in junit xml report files.
2017-09-15 03:11:24 +03:00
Vitaliy Lyudvichenko
826c354ff5
Fixed merges progress bar. [#CLICKHOUSE-2]
2017-09-15 01:04:13 +03:00
proller
a43b9ec398
Revert "Simplification [#CLICKHOUSE-2]."
...
This reverts commit 98ad6a5db3
.
2017-09-14 23:16:31 +03:00
Alexey Milovidov
e5cf3ba5b4
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-14 07:24:30 +03:00
Alexey Milovidov
5e25c40a26
Fixed error found by Coverity [#CLICKHOUSE-2].
2017-09-14 07:24:20 +03:00
Nikolai Kochetov
c14263a9fa
added test
2017-09-13 22:33:47 +03:00
Nikolai Kochetov
2bb487c333
fixed string concat wih first array argument in block
2017-09-13 22:33:47 +03:00
proller
8a7e604a2a
Tests fixes ( #1238 )
...
* Tests: catch xml internal error
* Tests fixes
2017-09-13 21:08:38 +03:00
proller
68f48253c9
Tests: catch xml internal error
2017-09-13 18:32:03 +03:00
Alexey Milovidov
9a58e26b8c
Added comment [#CLICKHOUSE-2].
2017-09-13 00:06:11 +03:00
Alexey Milovidov
4bf1f39190
Fixed build [#CLICKHOUSE-2].
2017-09-12 20:21:02 +03:00
alexey-milovidov
c4c8057a28
Update InterpreterSelectQuery.h
2017-09-12 20:06:31 +03:00
alexey-milovidov
af323d4e16
Update InterpreterSelectQuery.cpp
2017-09-12 20:06:31 +03:00
leozhang
a80ebcdbc2
fix union all bug #1059
2017-09-12 20:06:31 +03:00
Vadim Skipin
e0a1e6982b
Context parameter added to the IDatabase methods
2017-09-11 21:29:26 +03:00
proller
5054d50307
Remove too noisy message (#CLICKHOUSE-3304)
2017-09-11 21:26:43 +03:00
Vadim Skipin
7576cb2c18
fix LRU cache definition
2017-09-11 14:41:47 +03:00
Alexey Milovidov
9cafeb9e85
Fixed not-an-issue found by Coverity [#CLICKHOUSE-2].
2017-09-11 08:51:23 +03:00
Alexey Milovidov
fabfed6f22
Added support for "include-what-you-use" tool [#CLICKHOUSE-2].
2017-09-10 09:51:27 +03:00
Alexey Milovidov
2c424c7989
Added description of possible race condition [#CLICKHOUSE-2].
2017-09-10 06:17:05 +03:00
Alexey Milovidov
98ad6a5db3
Simplification [#CLICKHOUSE-2].
2017-09-10 05:30:45 +03:00
Alexey Milovidov
dc5eca0beb
Fixed awful translation [#CLICKHOUSE-2].
2017-09-10 05:06:16 +03:00
Alexey Milovidov
cf5fd27b94
Clarifications [#CLICKHOUSE-2].
2017-09-10 04:39:40 +03:00
Alexey Milovidov
cd540c2674
Replaced Mersenne Twister to PCG-Random [#CLICKHOUSE-2].
2017-09-10 02:17:38 +03:00
Alexey Milovidov
5a8f47a640
Fixed not an issue, shown by TSan [#CLICKHOUSE-2].
2017-09-10 02:07:32 +03:00
Alexey Milovidov
a6d5e9c7e8
Fixed not an issue, shown by TSan [#CLICKHOUSE-2].
2017-09-10 02:04:22 +03:00
Alexey Milovidov
fe717a4d6e
Fixed not an issue, shown by TSan; minor modifications [#CLICKHOUSE-2].
2017-09-10 01:28:38 +03:00
Alexey Milovidov
253893bf4d
Fixed insignificant error, shown by TSan [#CLICKHOUSE-2].
2017-09-09 07:06:54 +03:00
Alexey Milovidov
5a8f45c131
Fixed insignificant error, shown by TSan [#CLICKHOUSE-2].
2017-09-09 06:46:18 +03:00
Alexey Milovidov
5f265b0659
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-09 05:13:18 +03:00
Alexey Milovidov
92d7d6bd44
Fixed error that reproduced only when using libc++ [#CLICKHOUSE-3174].
2017-09-09 05:12:53 +03:00
proller
cb70a5a77c
Try fix macos build ( #1221 )
...
* Try fix macos build
* Try fix macos build
2017-09-09 03:40:21 +03:00
Alexey Milovidov
be79166199
Using pcg-random instead of boost::random::taus88 [#CLICKHOUSE-3174].
2017-09-09 02:58:42 +03:00
Alexey Milovidov
c0324aeb66
Removed useless header [#CLICKHOUSE-3174].
2017-09-09 02:40:48 +03:00
Alexey Milovidov
94b975e7f9
Removed function deprecated in C++ [#CLICKHOUSE-3174].
2017-09-09 02:31:18 +03:00
Alexey Milovidov
ed1c0820f0
Fixed minor issue found by Coverity [#CLICKHOUSE-3285].
2017-09-09 02:25:42 +03:00
proller
fce8416797
Try fix macos build
2017-09-08 21:25:22 +03:00
Alexey Milovidov
9afe76e212
Minor modification [#CLICKHOUSE-2].
2017-09-08 19:46:56 +03:00
Alexey Milovidov
db4c3f6e48
Fixed build; clarifications [#CLICKHOUSE-3289].
2017-09-08 19:41:35 +03:00
alexey-milovidov
c8aa9f0f55
Update WriteBufferFromHTTPServerResponse.h
2017-09-08 19:37:21 +03:00
Vadim Skipin
5d3cc61891
CLICKHOUSE-3289: Do not use Application singleton #2
2017-09-08 19:37:21 +03:00
Alexey Milovidov
a81028377e
Implemented some suggestions from clang-tidy (part 9) [#CLICKHOUSE-3301].
2017-09-08 08:03:21 +03:00
Alexey Milovidov
dc4976f562
Implemented some suggestions from clang-tidy (part 8) [#CLICKHOUSE-3301].
2017-09-08 07:58:57 +03:00
Alexey Milovidov
bff69a0ec1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-08 07:58:32 +03:00
Alexey Milovidov
71d29acdfb
Implemented some suggestions from clang-tidy (part 7) [#CLICKHOUSE-3301].
2017-09-08 07:43:57 +03:00
Alexey Milovidov
4799f28dad
Implemented some suggestions from clang-tidy (part 6) [#CLICKHOUSE-3301].
2017-09-08 07:39:03 +03:00
robot-metrika-test
5993e62f5b
Auto version update to [54288]
2017-09-08 07:26:49 +03:00
Alexey Milovidov
b282c8fcbb
Implemented some suggestions from clang-tidy (part 5) [#CLICKHOUSE-3301].
2017-09-08 07:11:39 +03:00
Alexey Milovidov
8c9ec83a33
Implemented some suggestions from clang-tidy (part 4) [#CLICKHOUSE-3301].
2017-09-08 07:10:43 +03:00
Alexey Milovidov
d29c77adea
Implemented some suggestions from clang-tidy (part 3) [#CLICKHOUSE-3301].
2017-09-08 06:47:27 +03:00
Alexey Milovidov
f1c98dac3c
Updated instruction to run clang-tidy [#CLICKHOUSE-3301].
2017-09-08 05:42:47 +03:00
Alexey Milovidov
d19d9f8589
Implemented some suggestions from clang-tidy (part 2) [#CLICKHOUSE-3301].
2017-09-08 05:37:02 +03:00
Alexey Milovidov
abad3f432d
Added instruction to run clang-tidy [#CLICKHOUSE-3301].
2017-09-08 05:31:58 +03:00
Alexey Milovidov
e9ae193870
Implemented some suggestions from clang-tidy (part 1) [#CLICKHOUSE-3301].
2017-09-08 05:29:47 +03:00
proller
5a87ebf262
Try fix macos build
2017-09-08 00:35:55 +03:00
Alexey Milovidov
742f369ac8
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:35:21 +03:00
Alexey Milovidov
6307661c35
Addition to prev. revision [#CLICKHOUSE-3300].
2017-09-08 00:26:25 +03:00
Alexey Milovidov
3de701850c
Added instruction for Coverity usage [#CLICKHOUSE-3285].
2017-09-08 00:13:30 +03:00
Alexey Milovidov
9befe805e2
Added instruction for cppcheck usage [#CLICKHOUSE-3300].
2017-09-08 00:09:58 +03:00
Alexey Milovidov
8b313ab99e
Fixed warnings found by cppcheck [#CLICKHOUSE-3300].
2017-09-08 00:04:48 +03:00
Alexey Milovidov
0dcee75180
Supporessed useless false positive errors found by cppcheck [#CLICKHOUSE-3300].
2017-09-07 22:13:37 +03:00
Alexey Milovidov
d3958c1802
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-07 20:56:04 +03:00
Alexey Milovidov
45eda97e39
Fixed bug in usage of ZSTD [#CLICKHOUSE-3282].
2017-09-07 20:55:55 +03:00
alexey-milovidov
39a4401f05
Update Cluster.h
2017-09-07 20:55:33 +03:00
Vadim Skipin
4017622ffb
CLICKHOUSE-3289: Do not use Application singleton
2017-09-07 20:55:33 +03:00
Alexey Milovidov
657e333dba
Added "Uptime" asynchronous metric [#CLICKHOUSE-3282].
2017-09-07 07:02:29 +03:00
proller
d422777d9c
ShellCommand: automatic wait call in destructor ( #1210 )
...
* ShellCommand: automatic wait call in destructor
* ShellCommand: tryWait in destructor
* Update ShellCommand.cpp
* Update ShellCommand.cpp
2017-09-07 03:12:39 +03:00
proller
be4deb7979
Fix test order ( #1209 )
...
* Again fix test 00501_http_head
* Better test reverse
* Fix test reverse sort
* Update clickhouse-test
2017-09-07 00:04:23 +03:00
robot-metrika-test
b5f94b6738
Auto version update to [54287]
2017-09-06 23:49:16 +03:00
Alexey Milovidov
5801139cbf
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-06 23:24:51 +03:00
Alexey Milovidov
9c37dfd75f
Fixed common source of errors while deploying newer version of ClickHouse [#CLICKHOUSE-3282].
2017-09-06 23:24:40 +03:00
proller
ea19c4494f
Better test reverse ( #1207 )
...
* Again fix test 00501_http_head
* Better test reverse
* Fix test reverse sort
* Update clickhouse-test
2017-09-06 23:13:21 +03:00
Alexey Milovidov
e3e506d449
Fixed with_mergeable_state option for clickhouse-benchmark [#CLICKHOUSE-3282].
2017-09-06 23:01:44 +03:00
proller
7142e43be6
Fix compile 32bit
2017-09-06 22:28:04 +03:00
proller
7c2327f3c8
LibraryDictionarySource: fix compile on macos and 32bit
2017-09-06 22:28:04 +03:00
proller
b538df661a
Again fix test 00501_http_head
2017-09-06 22:07:22 +03:00
proller
888214e33d
Revert "Reverse tests order"
...
- need smarter reverse
This reverts commit 16bd99493b
.
2017-09-06 21:39:04 +03:00
proller
16bd99493b
Reverse tests order
2017-09-06 20:16:17 +03:00
proller
7e46044474
Fix test 00501_http_head
2017-09-06 18:20:15 +03:00
Alexey Milovidov
b370551e67
Fixed redundant code in IPv4NumToStringClassC function and removed copy-paste [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
ff8940ddbe
Fixed bad code [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
60263d943e
IPv6StringToNum: fixed missing overflow check [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
e03ca48d84
More uniform style [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
24ac5a68e1
More uniform style [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
ee469f7a98
Fixed redundant code [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
5b952f0c55
Fixed error in StringRange [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
7237445356
Fixed another bad code in PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
426da39acb
Fixed bad code in PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
9290d26c58
Removed some garbage from PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
e1e0d517aa
Fixed bad style in PerformanceTest [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
452c40e85e
Fixed nullptr dereference [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
3b6dd67178
Fixed nullptr dereference [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
31b598e1e3
Fixed bad code [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Alexey Milovidov
d82b87aaef
Fixed redundand code in better way [#CLICKHOUSE-3281].
2017-09-06 06:24:39 +03:00
Vitaliy Lyudvichenko
325ceb85b5
Delete unusing files. [#CLICKHOUSE-2]
2017-09-06 04:18:07 +03:00
Vitaliy Lyudvichenko
d55d5eca46
Remove extra Context reference and add required ones. Part 2. [#CLICKHOUSE-3117]
2017-09-06 04:18:07 +03:00
Vitaliy Lyudvichenko
3876340aeb
More correct Context deinitialization. Part 1. [#CLICKHOUSE-3117]
2017-09-06 04:18:07 +03:00
proller
44b44a13d2
Fix http_head test ( #1203 )
...
* Fix http_head test
* Longer timeout
2017-09-05 21:53:28 +03:00
proller
0e4d49570b
LibraryDictionarySource fixes
2017-09-05 20:14:46 +03:00
Alexey Milovidov
48ab039501
Unify serialization of complex data types: development [#CLICKHOUSE-2838].
2017-09-05 05:36:35 +03:00
proller
2a7813049e
LibDictionarySource : First lib dictionary version with only uint64 type support ( #1150 )
...
* Wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Config: Allow multiple dictionaries_config
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* wip
* clean
* clean
* wip
* clean
* clean
* wip
* wip
* clean
* clean
* clean
* clean
* clean
* Requested changes
* Reqested changes
* Requested changes
* Requested changes
* Requested changes
* Requested changes
* requested changes
* Requested changes
* Requested changes
* requested changes
* Requested changes
* fix
* Requested changes
* Requested changes
* fix
* Requested changes
* Requested changes
2017-09-05 04:08:26 +03:00
Alexey Milovidov
cb2c09020c
Fixed tests [#CLICKHOUSE-2838].
2017-09-05 03:28:30 +03:00
Alexey Milovidov
4f7a3a7832
Merge remote-tracking branch 'origin/master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-05 03:11:18 +03:00
robot-metrika-test
057b2790b4
Auto version update to [54286]
2017-09-05 00:37:29 +03:00
Alexey Milovidov
96061a9053
Temporarily removed test for incomplete modification [#CLICKHOUSE-2].
2017-09-05 00:35:28 +03:00
Alexey Milovidov
b37790d27e
Minor modifications [#CLICKHOUSE-3201].
2017-09-04 23:21:55 +03:00
proller
1b3bc42586
Fix freebsd/macos compile ( #1198 )
...
* Header compile fixes
* Fix includes
* Update debian/.pbuilderrc description
* Fix freebsd/macos compile
* Fix freebsd/macos compile
2017-09-04 21:18:45 +03:00
alexey-milovidov
d1f1c59ef3
Merge pull request #1188 from proller/fix3
...
Segmentation fault on HEAD HTTP query #912
2017-09-04 20:10:18 +03:00
alexey-milovidov
c1fdb785f0
Merge branch 'master' into CLICKHOUSE-3246
2017-09-04 20:06:18 +03:00
alexey-milovidov
ea8790d077
Merge pull request #1196 from yandex/CLICKHOUSE-3201
...
Clickhouse-3201
2017-09-04 19:56:21 +03:00
proller
5afd5fded9
Merge remote-tracking branch 'upstream/master' into fix3
2017-09-04 19:34:06 +03:00
proller
39c1bf0984
Fix freebsd/macos compile ( #1194 )
...
* Header compile fixes
* Fix includes
* Update debian/.pbuilderrc description
* Fix freebsd/macos compile
2017-09-04 18:14:05 +03:00
robot-metrika-test
0544e0c75f
Auto version update to [54285]
2017-09-04 17:31:54 +03:00
Vladimir Chebotarev
e39fb48377
functions: pointInPolygon(). [#CLICKHOUSE-3201]
2017-09-04 17:26:28 +03:00
Alexey Milovidov
72910a7db3
Addition to prev. revision [#CLICKHOUSE-2].
2017-09-04 17:04:35 +03:00
Vitaliy Lyudvichenko
706d4db332
Made RWLockFIFO recursive. [#CLICKHOUSE-3246]
2017-09-04 15:54:13 +03:00
proller
f3cb0ad7e8
Merge remote-tracking branch 'upstream/master' into fix3
2017-09-04 14:12:51 +03:00
Alexey Milovidov
4d97959e57
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-09-04 04:11:00 +03:00
Alexey Milovidov
b6a533adef
Added test [#CLICKHOUSE-3270].
2017-09-02 01:00:25 +03:00
alexey-milovidov
ffd75017e7
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:49:06 +03:00
alexey-milovidov
f079af6197
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:48:18 +03:00
alexey-milovidov
7b2cc11520
Update WriteBufferFromHTTPServerResponse.cpp
2017-09-02 00:47:37 +03:00
proller
863fd72c8a
Segmentation fault on HEAD HTTP query #912
2017-09-02 00:46:12 +03:00
Alexey Milovidov
f51cc679a0
Fixed inserting wrong default value for Enums [#CLICKHOUSE-3270].
2017-09-02 00:37:57 +03:00
proller
5f83b829cf
Fix includes
2017-09-01 22:49:12 +03:00
proller
aa1f27553e
Header compile fixes
2017-09-01 22:05:29 +03:00
proller
5889aa9c74
Fix build
2017-09-01 21:37:53 +03:00
Alexey Milovidov
87fab3396e
Fixed build [#CLICKHOUSE-2].
2017-09-01 21:22:03 +03:00
Alexey Milovidov
40884640a1
Merge branch 'master' of github.com:yandex/ClickHouse
2017-09-01 21:21:05 +03:00
Alexey Milovidov
2af8747164
Removed obsolete code [#CLICKHOUSE-3270].
2017-09-01 21:21:01 +03:00
alexey-milovidov
223ebc0b0d
Merge pull request #1187 from yandex/array-functions-concat-slice-push-pop
...
Fix array functions for generic array type
2017-09-01 21:11:09 +03:00
Nikolai Kochetov
20766debb0
fix arrasSlice for gereric arrays [#CLICKHOUSE-2090]
2017-09-01 21:01:06 +03:00
alexey-milovidov
775d95888a
Merge pull request #1163 from yandex/CLICKHOUSE-2931
...
Introduce SYSTEM queries
2017-09-01 20:45:29 +03:00
Vitaliy Lyudvichenko
88c9dcbb3d
Changed method signature. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
566160c048
Use FIFO lock in IStorage. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Vitaliy Lyudvichenko
add3f920ff
RWLockFIFO implementation. [#CLICKHOUSE-3246]
2017-09-01 20:45:05 +03:00
Nikolai Kochetov
32ed1b0b41
fix arrasSlice for gereric arrays [#CLICKHOUSE-2090]
2017-09-01 20:41:43 +03:00
alexey-milovidov
897a9ad6b2
Merge pull request #1146 from yandex/array-functions-concat-slice-push-pop
...
Array functions concat slice push pop
2017-09-01 20:30:51 +03:00
proller
1a8e22c37f
Allow compile on 32bit systems ( #1175 )
...
* Trying compile under 32bit..
* PerformanceTest: use getMultiple*FromConfig, fix debug helpers
* Missing file
* clnag-format of Split ComplexKeyCacheDictionary
* wip
* Requested changes
* wip
* wip
* Fix boost 1.64 and gcc7+ compile errors
* More fixes
* wip
* Fix arm build
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* clean
* fix
* wip
* wip
* clean
* clean
* wip
* wip
* Update MergeTreeSettings.h
* Requested changes
* Requested changes
* Requested changes
* Requested changes
2017-09-01 20:21:03 +03:00
Nikolai Kochetov
463c05b33d
fixed build [#CLICKHOUSE-2090]
2017-09-01 20:16:48 +03:00
Nikolai Kochetov
a88bb9375a
removed useless code from GatherUtils [#CLICKHOUSE-2090]
2017-09-01 20:14:47 +03:00
Nikolai Kochetov
df09912864
reformated GatherUtils.cpp [#CLICKHOUSE-2090]
2017-09-01 20:07:58 +03:00
Vitaliy Lyudvichenko
c32bf4f597
Use only one cache in DNSCache. Add requested changes. [#CLICKHOUSE-2931]
2017-09-01 20:05:24 +03:00
Nikolai Kochetov
b4f7e0e15c
restored identation in FunctionsArray.cpp [#CLICKHOUSE-2090]
2017-09-01 19:57:01 +03:00
Nikolai Kochetov
a46780e4a5
renamed concatGeneric to concatGenericArray [#CLICKHOUSE-2090]
2017-09-01 19:45:05 +03:00
Nikolai Kochetov
3370ba270f
fix build [#CLICKHOUSE-2090]
2017-09-01 17:55:43 +03:00
Nikolai Kochetov
862460f293
changed & to && in GatherUtils.cpp [#CLICKHOUSE-2090]
2017-09-01 17:47:42 +03:00
Nikolai Kochetov
b392788e86
fix build [#CLICKHOUSE-2090]
2017-09-01 17:35:37 +03:00
Nikolai Kochetov
5b4759acd9
changed sibstring behaviour for offset < -string_lenght [#CLICKHOUSE-2090]
2017-09-01 17:32:12 +03:00
Nikolai Kochetov
f1c01118b5
fixed writeSlice for const GenericArraySlice and NumericArraySink [#CLICKHOUSE-2090]
2017-09-01 16:55:05 +03:00
Nikolai Kochetov
6956e12770
added comments to writeSlice functions [#CLICKHOUSE-2090]
2017-09-01 16:03:54 +03:00
Nikolai Kochetov
1da43b683c
fixed comment [#CLICKHOUSE-2090]
2017-09-01 15:23:06 +03:00
Nikolai Kochetov
937f37c489
fixed reading of empty block in prewhere [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Nikolai Kochetov
a9e2a17f69
fixed estimateNumRows in MergeTreeBlockSizePredictor; fixed reading of empty block in prewhere; added test [#CLICKHOUSE-3266]
2017-09-01 15:18:40 +03:00
Nikolai Kochetov
7885c5c032
renamed TypeListNumber to TypeListNumbers [#CLICKHOUSE-2090]
2017-09-01 15:09:08 +03:00
Nikolai Kochetov
7891596579
unified TypeList [#CLICKHOUSE-2090]
2017-09-01 15:05:19 +03:00
Nikolai Kochetov
c695f10c66
hanged & to && in GatherUtils [#CLICKHOUSE-2090]
2017-09-01 14:32:31 +03:00
Nikolai Kochetov
c0b05f2ca9
hanged & to && in GatherUtils [#CLICKHOUSE-2090]
2017-09-01 14:02:26 +03:00
Alexey Zatelepin
392b59a2fe
fix running tests with custom clickhouse-client [#CLICKHOUSE-2]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
d2847f22af
PR fixes [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
61987df169
check alter of partition key columns [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
dc5809ed8d
get rid of unneeded variable [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
34ac0e0876
remove unnecessary include [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
14ba0a9acf
rename partition -> partition_id for clarity [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
645e4b7a53
generalize MinMax index [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
5471979f46
generic partitioning of inserted blocks [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
be1c62d7f8
split partition and minmax index [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
Alexey Zatelepin
99969ab77a
Introduce MergeTreePartitionIndex. Isolate its loading code. [#CLICKHOUSE-3000]
2017-08-31 23:32:03 +03:00
proller
be7e082b35
Fix test simple_cache compile
2017-08-31 22:27:55 +03:00
Vitaliy Lyudvichenko
0b36305ad3
Parse unix timestamps in JSONEachRow format. [#CLICKHOUSE-3268]
2017-08-31 20:12:48 +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
alexey-milovidov
1b8100ae86
Update FunctionsArray.cpp
2017-08-31 20:00:51 +03:00
alexey-milovidov
c6f87d9543
Update GatherUtils.h
2017-08-31 19:24:46 +03:00
Alexey Milovidov
9c7f195c6e
Removed flappy test (race condition in test) [#CLICKHOUSE-3267].
2017-08-31 13:47:49 +03:00
alexey-milovidov
aa2d29f5f9
Update ReadWriteBufferFromHTTP.cpp, Context.cpp, etc
...
Update ASTSystemQuery.cpp
Update ASTSystemQuery.h
Update dictionary_clickhouse_cache.xml
Update dictionary_clickhouse_flat.xml
2017-08-31 13:26:02 +03:00
alexey-milovidov
5d14855989
Merge branch 'master' into CLICKHOUSE-2931
2017-08-31 00:23:39 +03:00
Alexey Milovidov
9fdbd576f6
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-30 21:53:37 +03:00
Alexey Milovidov
1531268281
Added aggregate functions groupBitAnd, groupBitOr, groupBitXor [#CLICKHOUSE-2].
2017-08-30 21:52:14 +03:00
Nikolai Kochetov
ec58bfae90
added comments [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
1e08db938d
added chech that root starts with '/' in zookeeper config file [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
871a7cabc6
fix build [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
d4bf2bf102
replaced tabs to spaces in config files [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
ee90da3014
added tests [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
5ff1669406
fixed root section in zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
1539648910
moved root section in zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
fa2f0dfa4d
added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Nikolai Kochetov
16103456e2
added root and identity section to zookeeper configuration [#CLICKHOUSE-3031]
2017-08-30 21:30:57 +03:00
Alexey Milovidov
495daffa16
Miscellaneous [#CLICKHOUSE-2].
2017-08-30 21:13:32 +03:00
Vitaliy Lyudvichenko
478470e1f1
Avoid segfaults and many other problems related with modifying global context in DDLWorker. [#CLICKHOUSE-3260]
2017-08-30 19:12:45 +03:00
Vitaliy Lyudvichenko
5916d823ef
Fix deadlock in case of using Buffer table with CLEAR COLUMN IN PARTITION. [#CLICKHOUSE-3238]
2017-08-30 17:34:40 +03:00
alexey-milovidov
91abe43461
Update ProcessList.cpp
2017-08-29 23:23:54 +03:00
alexey-milovidov
f31ca9276f
Update ProcessList.h
2017-08-29 23:23:54 +03:00
Vitaliy Lyudvichenko
1e68d10ce0
Add max_network_bandwidth_for_user limit setting. [#CLICKHOUSE-3139]
2017-08-29 23:23:54 +03:00
Alexey Milovidov
d1da6c3cfc
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 22:07:54 +03:00
Alexey Milovidov
e4eb6f0cfb
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 22:02:07 +03:00
Alexey Milovidov
709eba2a00
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-29 21:51:58 +03:00
Alexey Milovidov
04af7a3349
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 21:51:48 +03:00
Vitaliy Lyudvichenko
84660029ec
Don't leave trash part nodes in ZK in case of deleting non-existing duplicated parts. [#CLICKHOUSE-3252]
2017-08-29 20:49:37 +03:00
Alexey Milovidov
8d7937cc30
Fixed bad translation [#CLICKHOUSE-2].
2017-08-29 17:08:25 +03:00
Vadim Skipin
4dc36893d3
Keep config in context to avoid Application singleton usages
2017-08-28 22:19:06 +03:00
Vitaliy Lyudvichenko
c9daea1a33
Fixed IP resolving in DNSCache. [#CLICKHOUSE-2931]
2017-08-28 21:43:57 +03:00
Vitaliy Lyudvichenko
4b0c7ecf21
Add integration tests for SYSTEM queries. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
8fa3364e4e
Add SYSTEM RELOAD DICTIONARY(IES) implementation. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
48f5d8f1a3
Add SYSTEM DROP DNS CACHE. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
ffe7558fe2
Add SYSTEM KILL and SHUTDOWN implementations. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
eb05798130
Add SYSTEM queries parser. [#CLICKHOUSE-2931]
2017-08-28 20:27:16 +03:00
Vitaliy Lyudvichenko
fd63277b15
Unified spelling. [#CLICKHOUSE-2]
2017-08-28 18:27:25 +03:00
Vitaliy Lyudvichenko
37820f7f64
Don't leave trash parts in ZK in case of temporary errors. [#CLICKHOUSE-3252]
2017-08-28 18:27:25 +03:00
Alexey Milovidov
738f1685b2
Fixed build after merge [#CLICKHOUSE-2].
2017-08-25 19:35:10 +03:00
Vitaliy Lyudvichenko
f8c9059857
Fixed SIGABRT in DDLWorker. [#CLICKHOUSE-3251]
2017-08-25 19:31:57 +03:00
Marek Vavruša
3659caad7d
ZooKeeper: use seeded random device to shuffle node list #1149
...
std::random_shuffle() may or may not use std::rand() which isn't
seeded, and since configuration parsing runs predictably as one
of the first things after server startup, the list of ZK nodes
is shuffled the same way on all replicas.
2017-08-25 18:37:27 +03:00
Nikolai Kochetov
24e135fbe6
supported arraySlice with 2 arguments, added comments [#CLICKHOUSE-2090]
2017-08-25 16:54:08 +03:00
Vitaliy Lyudvichenko
b818258af9
Add ability to run an integration test env without test runs. [#CLICKHOUSE-2]
2017-08-25 16:51:12 +03:00
Nikolai Kochetov
1ec04d1024
supported || for arrayConcat [#CLICKHOUSE-2090]
2017-08-25 16:05:26 +03:00
Nikolai Kochetov
239f4f2d36
merged with master
2017-08-25 15:05:18 +03:00
Nikolai Kochetov
e223d07031
fixed test [#CLICKHOUSE-2090]
2017-08-25 14:58:33 +03:00
Nikolai Kochetov
0f4e7f1833
fixed array slice with offset <= -(array length) [#CLICKHOUSE-2090]
2017-08-25 14:29:49 +03:00
Nikolai Kochetov
f70ead2539
added test [#CLICKHOUSE-2090]
2017-08-24 22:39:30 +03:00
Nikolai Kochetov
d213efa974
fixed slice for nullable index [#CLICKHOUSE-2090]
2017-08-24 22:19:37 +03:00
Nikolai Kochetov
d8529e1846
unused type alias [#CLICKHOUSE-2090]
2017-08-24 21:16:25 +03:00
Nikolai Kochetov
09a307b94f
removed debug stderr output [#CLICKHOUSE-2090]
2017-08-24 19:46:41 +03:00
Nikolai Kochetov
e6fd55ff42
added arrayPushBack arrayPushFront arrayPopBack arrayPopFront function [#CLICKHOUSE-2090]
2017-08-24 19:46:40 +03:00
Nikolai Kochetov
096d34bb7f
added arraySlice function [#CLICKHOUSE-2090]
2017-08-24 19:46:34 +03:00
Nikolai Kochetov
c1479a5594
updated GatherUtils [#CLICKHOUSE-2090]
2017-08-24 19:46:15 +03:00
Nikolai Kochetov
c3fe8bb026
added FunctionArrayConcat [#CLICKHOUSE-2090]
2017-08-24 19:45:13 +03:00
robot-metrika-test
7943a21fcf
Auto version update to [54281]
2017-08-24 16:37:27 +03:00
Alexey Milovidov
58fc8a2c0b
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-24 16:26:19 +03:00
Alexey Milovidov
fd552774c0
Fixed translation error [#CLICKHOUSE-2].
2017-08-24 16:25:51 +03:00
proller
49ae03a4a7
Fix build in freebsd ( #1129 )
2017-08-23 18:58:42 +03:00
Alexey Zatelepin
eec6a3ecb9
add forgotten aggregate functions to SpecializedAggregator.h [#CLICKHOUSE-3247]
2017-08-23 17:00:36 +03:00
Alexey Zatelepin
ec96183f59
put AggregateFunctionStatistics implementation out of anonymous namespace [#CLICKHOUSE-3247]
2017-08-23 17:00:36 +03:00
Alexey Zatelepin
8620dd6876
runtime compilation fix: put groupArray implementation out of anonymous namespace [#CLICKHOUSE-3247]
...
Demangled symbols from anonymous namespace contain "::(anonymous namespace)::" string
and thus cannot be used with runtime compilation of aggregation functions.
2017-08-23 17:00:36 +03:00
Vitaliy Lyudvichenko
02f0bcb17f
Fixed incorrect assertion in INSERT queries with binary formats. [#CLICKHOUSE-3242]
2017-08-23 16:57:22 +03:00
Nikolai Kochetov
7fa337c297
added tests [#CLICKHOUSE-3245]
2017-08-23 15:44:18 +03:00
Nikolai Kochetov
c43a13cb81
fixed async insertion into local shard of distributed [#CLICKHOUSE-3245]
2017-08-23 15:44:18 +03:00
Vitaliy Lyudvichenko
61289c5c61
Fixed test after forcing ENGINE for MV. [#CLICKHOUSE-3]
2017-08-23 14:44:53 +03:00
Alexey Milovidov
ee553aac65
Updated test of string hashes [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
4eb77e6628
Updated test of string hashes [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
c34211e0c5
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
033b139288
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
003d2525e0
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
f39db7ba1a
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
8085359518
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
f8b2400a84
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
3748b7b332
Added hopscotch-map just for tests [#CLICKHOUSE-3244].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
e47a29fd4b
More sophisticated test of hash tables with integer keys [#CLICKHOUSE-2].
2017-08-22 20:32:13 +03:00
Alexey Milovidov
75f1df36e4
Miscellaneous [#CLICKHOUSE-2].
2017-08-22 20:29:02 +03:00
Alexey Milovidov
fc409f61e5
Miscellaneous [#CLICKHOUSE-2].
2017-08-20 16:12:14 +03:00
Alexey Milovidov
2fb7a34f0d
Miscellaneous [#CLICKHOUSE-2].
2017-08-20 04:07:11 +03:00
Alexey Milovidov
7dc4d6f7b3
Miscellaneous [#CLICKHOUSE-2].
2017-08-20 04:05:59 +03:00
Alexey Zatelepin
ce3e4676fa
remove unnecessary calls to find() [#CLICKHOUSE-2171]
2017-08-19 21:35:01 +03:00
Alexey Milovidov
e25f232b5a
Raising limit on max size for merge (step 1 of 4) [#CLICKHOUSE-2]
2017-08-19 01:56:19 +03:00
alexey-milovidov
1d39b94992
Update 00101_materialized_views_and_insert_without_explicit_database.sql
2017-08-19 00:10:53 +03:00
Vitaliy Lyudvichenko
e52428ddb2
Fixed SIGSEGV in CREATE TABLE AS <MV>. MV without ENGINE is forbidden! [#CLICKHOUSE-2]
...
Resolves #1112
Resolves #598
2017-08-19 00:10:53 +03:00
Alexey Milovidov
f52ceced2b
Modified tests [#CLICKHOUSE-2838].
2017-08-18 23:22:56 +03:00
Alexey Milovidov
cb67224b4f
Modified test [#CLICKHOUSE-2838].
2017-08-18 23:11:09 +03:00
Alexey Milovidov
e01c23267a
Merge branch 'master' into unify-data-types-that-serialized-with-multiple-streams
2017-08-18 22:41:27 +03:00
Vadim Skipin
61f65e97a8
Fix typo
2017-08-18 22:38:56 +03:00
Alexey Milovidov
12a034478c
Fixed bad translation [#CLICKHOUSE-2].
2017-08-18 22:30:39 +03:00
Alexey Milovidov
d5b9f2127f
Added test result [#CLICKHOUSE-2].
2017-08-18 22:06:39 +03:00
Alexey Milovidov
304ccf29b2
Fixed error; added test [#CLICKHOUSE-2].
2017-08-18 22:02:50 +03:00
Alexey Milovidov
5d835e88de
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-18 21:45:10 +03:00
Alexey Milovidov
434a7d8f38
Fixed function "substring" with out-of-bound negative offset argument [#CLICKHOUSE-2].
2017-08-18 21:45:02 +03:00
Vadim Skipin
5f4e833925
Cleanup function factories:
...
* Switch to std::function to allow more complex creator logic
* Cleanup headers
2017-08-18 21:15:57 +03:00
Alexey Milovidov
2e468c143d
Added convenience comment in config [#CLICKHOUSE-2].
2017-08-18 20:05:53 +03:00
Alexey Milovidov
f918e22438
Miscellaneous [#CLICKHOUSE-2].
2017-08-18 19:36:02 +03:00
Alexey Zatelepin
e545777187
fix PoolWithFailoverBase::TryResult initialization
2017-08-18 15:38:43 +03:00
robot-metrika-test
7b6fa26151
Auto version update to [54280]
2017-08-18 04:35:46 +03:00
Alexey Milovidov
4687a2730d
Allow to override umask in config [#CLICKHOUSE-2].
2017-08-18 04:00:13 +03:00
proller
c720524078
Auto version update to [54279]
2017-08-18 02:03:15 +03:00
proller
97699eeea2
Auto version update to [54278]
2017-08-18 01:51:12 +03:00
Vitaliy Lyudvichenko
1a68a17a06
Avoid infinite loop in DDLWorker if ZooKeeper dies. [#CLICKHOUSE-2]
2017-08-17 23:06:38 +03:00
Vitaliy Lyudvichenko
f28d0cff3c
Add more detailed exception message. [#CLICKHOUSE-3234]
2017-08-17 23:06:38 +03:00
Nikolai Kochetov
f8bf45a5ec
added test [#CLICKHOUSE-3237]
2017-08-17 23:06:00 +03:00
Nikolai Kochetov
850bc9f19d
fixed reading const zero column in prewhere
2017-08-17 23:06:00 +03:00
Alexey Milovidov
9f956d97dd
Removed debug output [#CLICKHOUSE-2].
2017-08-17 21:43:39 +03:00
Marek Vavruša
5ba535f05f
Dictionaries: remove duplicate MySQLDictionarySource.h include
...
refs #1110
2017-08-17 01:35:19 +03:00
proller
175cd99288
Freebsd fixes: fix build with libc++, fix find system lib double-conversion ( #1109 )
...
* Cmake: Don't detect and use -no-pie flag with clang
* Camke: find_unwind: Fix disable on arm
* Freebsd fixes: fix build with libc++, fix find system lib double-conversion
2017-08-17 00:01:43 +03:00
Alexey Milovidov
16d6c4f9e7
Removed very old protocol compatibility features [#CLICKHOUSE-2].
2017-08-16 23:27:35 +03:00
Alexey Milovidov
eb88391655
Fixed error with alias substitution [#CLICKHOUSE-2986].
2017-08-16 23:10:25 +03:00
Alexey Milovidov
3a86673aea
Fixed error when part could become broken during ALTER MODIFY of element of Nested column [#CLICKHOUSE-3232].
2017-08-16 22:41:52 +03:00
Alexey Milovidov
164ad05ae1
Little better [#CLICKHOUSE-3231].
2017-08-16 22:22:49 +03:00
Alexey Milovidov
b6cafb9a88
Set "max_replica_delay_for_distributed_queries" to five minutes by default [#CLICKHOUSE-2141].
2017-08-16 20:21:39 +03:00
Alexey Milovidov
c629799500
Fixed insufficient arguments checking [#CLICKHOUSE-3102].
2017-08-16 17:21:24 +03:00
Alberto
727ca81998
Fixed typo
2017-08-16 14:08:02 +03:00
Alexey Milovidov
68c57b2b61
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-16 00:53:03 +03:00
Alexey Milovidov
2ddf462563
Fixed regression [#CLICKHOUSE-2].
2017-08-16 00:52:52 +03:00
Vitaliy Lyudvichenko
ad40104022
Unix timestamp format for DateTime fields in CSV. Resolves #366 . [#CLICKHOUSE-3168]
2017-08-15 23:22:36 +03:00
Alexey Milovidov
dc29ae7e73
Added test (tnx. egatov) [#CLICKHOUSE-2].
2017-08-15 23:17:50 +03:00
Alexey Milovidov
6033221198
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-15 23:14:32 +03:00
Alexey Milovidov
4272265128
Fixed LimitReadBuffer [#CLICKHOUSE-2].
2017-08-15 23:14:15 +03:00
Alexey Zatelepin
0185fd4542
fix parsing min-max dates from part name [#CLICKHOUSE-3000]
2017-08-15 23:03:59 +03:00
Nikolai Kochetov
f8513b932f
removed ability to select from external temporary table by query_id
2017-08-15 22:31:40 +03:00
Nikolai Kochetov
89df47fd52
added test for drop temporary table
2017-08-15 22:31:40 +03:00
Nikolai Kochetov
9c6f1a1e4b
supported drop query for temporary tables [#CLICKHOUSE-3219]
2017-08-15 22:31:40 +03:00
Alexey Zatelepin
372801c59b
fix comments [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
0df4ae6b02
do not use unnecessary temporary objects to query a set of parts [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
Alexey Zatelepin
f25f0cd759
reduce number of places where partitioning by month is assumed [#CLICKHOUSE-3000]
2017-08-15 22:30:52 +03:00
robot-metrika-test
335078ae90
Auto version update to [54275]
2017-08-15 19:18:02 +03:00
Vitaliy Lyudvichenko
8a14cc49ff
asyncMulti() -> multi(). [#CLICKHOUSE-3221]
2017-08-15 19:18:02 +03:00
robot-metrika-test
c305b77871
Auto version update to [54274]
2017-08-14 19:07:55 +03:00
Vitaliy Lyudvichenko
05d3f338ca
Add useful .gitignore. [#CLICKHOUSE-2]
2017-08-14 15:03:43 +03:00
Vitaliy Lyudvichenko
33a50b4d65
Fix false IOError messages in integration tests log. [#CLICKHOUSE-2]
2017-08-14 14:49:30 +03:00
robot-metrika-test
b1bc0a9e99
Auto version update to [54273]
2017-08-14 09:49:06 +03:00
Alexey Milovidov
5fe560e7f2
Merge branch 'master' of github.com:yandex/ClickHouse
2017-08-14 08:51:13 +03:00
Alexey Milovidov
5af5f78cb7
Terminate only DDLWorker in case of unexpected exception in DDLWorker [#CLICKHOUSE-4].
2017-08-14 08:51:03 +03:00
robot-metrika-test
a16ed9fc32
Auto version update to [54272]
2017-08-14 08:49:05 +03:00
Alexey Milovidov
1495490726
DDLWorker: better [#CLICKHOUSE-5].
2017-08-14 08:44:04 +03:00
Alexey Milovidov
957fb9f2e5
Added test [#CLICKHOUSE-2].
2017-08-14 07:49:20 +03:00
Alexey Milovidov
09d83eecd0
Moved code to cpp [#CLICKHOUSE-2].
2017-08-14 07:42:04 +03:00
alexey-milovidov
94a15df626
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
cbed1415d7
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00
alexey-milovidov
16f0af8018
Update LimitReadBuffer.h
2017-08-14 07:37:01 +03:00