alesapin
a014924c19
Remove wrong tests
2019-10-18 19:04:12 +03:00
alesapin
cdc195727e
Fix some races from lazy load and add ugly interface to loader (need to be refactored)
2019-10-18 19:04:09 +03:00
alesapin
b222ec1209
Fix segmentation fault
2019-10-17 20:53:08 +03:00
alesapin
c29b39002d
Fix race condition, add test
2019-10-17 20:36:53 +03:00
alesapin
05392fd882
Fix deadlock, add test and refactoring
2019-10-17 20:18:54 +03:00
alesapin
6dfe5c7142
Better introspection
2019-10-17 16:05:12 +03:00
alesapin
842a31be8b
More tests
2019-10-16 20:59:10 +03:00
alesapin
51de7a1cd1
Better tests
2019-10-16 20:12:53 +03:00
alesapin
fa557ab80d
Better tests
2019-10-16 20:11:19 +03:00
alesapin
01e23f0a22
Better load of dictionaries
2019-10-16 20:06:52 +03:00
alesapin
b4e0ded048
Almost working
2019-10-16 17:59:52 +03:00
alesapin
e690a3ca32
Half working code
2019-10-15 21:04:17 +03:00
alesapin
1ce0eb6e63
Appropriate error codes numbers
2019-10-14 13:04:10 +03:00
alesapin
ecde224692
More tests
2019-10-14 12:52:43 +03:00
alesapin
67ea66604f
Fix segmentation fault in database factory
2019-10-14 12:21:29 +03:00
alesapin
155731a676
Merge branch 'master' into dictionaries_ddl_interpreter
2019-10-14 11:49:18 +03:00
alexey-milovidov
323a756115
Merge pull request #7298 from Vdimir/feature/count-arity-validation-7095
...
Add missing arity validation for count/counIf
2019-10-14 08:52:58 +03:00
Nikolai Kochetov
22dfc611c9
Remove comments from test.
2019-10-12 21:49:25 +03:00
Nikolai Kochetov
51bce40d5e
Merge pull request #7284 from ClickHouse/fix-7216
...
Fix for #7216
2019-10-12 19:20:33 +03:00
VDimir
0230aca903
Remove tests with count accepting 2 args
2019-10-12 15:44:14 +00:00
Nikolai Kochetov
6f758babf6
Merge pull request #7289 from infinivision/fix_pull_7109
...
Fixed #7109 groupBitmapOr(31) segfault
2019-10-12 16:42:11 +03:00
Zhichang Yu
679db35ed3
Fixed #7109 groupBitmapOr(31) segfault
2019-10-12 10:36:52 +08:00
Nikolai Kochetov
8186644562
Update test.
2019-10-11 21:04:58 +03:00
Nikolai Kochetov
e5c8a62142
Fix tests.
2019-10-11 20:24:18 +03:00
Nikolai Kochetov
bf794a8260
Fix tests.
2019-10-11 18:59:27 +03:00
alesapin
653aa7c005
Fix unit tests and segfault
2019-10-11 18:41:52 +03:00
alesapin
967fe64793
Add simpliest tests
2019-10-11 18:22:30 +03:00
Nikolai Kochetov
10366f79ae
Update url params in shell_config and tests.]
2019-10-11 16:34:26 +03:00
Nikolai Kochetov
2ecf7abf6c
Update url params in shell_config.
2019-10-11 15:08:11 +03:00
Nikolai Kochetov
48bfcab428
Add ability to specify arguments to client in functional tests.
2019-10-11 13:30:32 +03:00
Nikolai Kochetov
a15d8f36d5
Merge pull request #7270 from azat/uniqCombined-memory-usage-tests-fixes
...
uniqCombined memory usage tests fixes
2019-10-10 23:53:55 +03:00
Azat Khuzhin
e25bdc8d25
tests/00212_shard_aggregate_function_uniq: adjust values for uniqCombined(12)(String)
...
In e373862c83
the maxium size for HashTable in
CombinedCardinalityEstimator had been reduced for power of 2 for String
(since otherwise the size of the hashtable becames bigger then the
sizeof HLL).
Refs: https://github.com/ClickHouse/ClickHouse/pull/7236#issuecomment-540496270
Fixes: e373862c83
("Do not use more then 98K of memory for uniqCombined*")
2019-10-10 21:47:51 +03:00
Azat Khuzhin
eb7d4797e3
tests/00212_shard_aggregate_function_uniq: break into sections
2019-10-10 21:47:51 +03:00
Azat Khuzhin
495d1de46f
clickhouse-test: introduce -U/--unified option (pass to diff(1))
2019-10-10 21:47:51 +03:00
Alexander Kazakov
03c7b7ff8d
Prevent from using non-deterministic functions in mutations of replicated tables ( #7247 )
...
* Added isDeterministic() to IFunctionBuilder i-face
* A test for non-deterministic mutations
* In MutationsInterpreter::validate() ensure deterministic functions
* Adjusted nondeterministic mutation tests
* Moved around some code in MutationsInterpreter::validate()
* Dropped unnecessary check in findFirstNonDeterministicFuncName()
* Corrections to IFunction{Base,Builder} interface
2019-10-10 17:38:08 +03:00
alexey-milovidov
689411abe0
Merge pull request #7222 from azat/uniqCombined64
...
[RFC] Introduce uniqCombined64() to get sane results for cardinality > UINT_MAX
2019-10-09 20:29:56 +03:00
alexey-milovidov
81a9c81ba7
Merge pull request #7236 from azat/uniqCombined-memory-usage
...
Do not use more then 98K of memory for uniqCombined*
2019-10-09 20:19:30 +03:00
alexey-milovidov
01e08a23c2
Merge pull request #7240 from ClickHouse/function-get-macro
...
Added function `getMacro`
2019-10-09 15:28:54 +03:00
Alexander Kuzmenkov
1965c612ab
Fix sorting in clickhouse-test.
2019-10-09 14:56:51 +03:00
Alexander Kuzmenkov
89ebd4885f
Fix test filtering in clickhouse-test.
2019-10-09 13:51:59 +03:00
alexey-milovidov
9b2e025918
Merge pull request #7234 from ClickHouse/aku/null-field-serialization
...
Serialize Null Fields correctly in DataTypeNullable.
2019-10-09 04:30:37 +03:00
Alexey Milovidov
6d2a79e832
Added a test
2019-10-09 04:18:12 +03:00
Alexey Milovidov
552e4b4be2
Added example config with macros for tests
2019-10-09 04:16:34 +03:00
Azat Khuzhin
e373862c83
Do not use more then 98K of memory for uniqCombined*
...
uniqCombined() uses hashtable for medium cardinality, and since
HashTable resize by the power of 2 (well actually HashTableGrower grows
double by the power of 2, hence HashTableGrower::increaseSize() should
be overwritten to change this), with 1<<13 (default for uniqCombined)
and UInt64 HashValueType, the HashTable will takes:
getBufferSizeInBytes() == 131072
While it should be not greater then sizeof(HLL) ~= 98K, so reduce the
maximum cardinality for hashtable to 1<<12 with UInt64 HashValueType and
to 1<13 with UInt32, overwrite HashTableGrower::increaseSize() and cover
this using max_memory_usage.
Refs: https://github.com/ClickHouse/ClickHouse/pull/7221#issuecomment-539672742
v2: cover uniqCombined() with non-default K
2019-10-09 02:39:23 +03:00
alexey-milovidov
4c1f0177b6
Merge pull request #7109 from infinivision/aggBitmapAnd
...
added groupBitmapAnd, groupBitmapOr, groupBitmapXor
2019-10-08 22:51:46 +03:00
alexey-milovidov
b9aa5d812d
Merge pull request #7171 from nikvas0/nikvas0/lazy_db
...
Lazy Database
2019-10-08 22:15:55 +03:00
Azat Khuzhin
f46c5a47c0
Introduce uniqCombined64() to get sane results for cardinality > UINT_MAX
...
By default uniqCombined() uses 32-bit hash for all types except String,
so this means that you cannot use uniqCombined() with i.e UInt64 and
cardinality > UINT_MAX, although you can use uniqCombined(toString())
and this will lead to 64-bit hash, but will not have good performance.
So uniqCombined64() had been introduced to fix this.
Requires: #7213
2019-10-08 21:59:35 +03:00
alexey-milovidov
ddc2299901
Update 01016_null_part_minmax.sql
2019-10-08 21:52:48 +03:00
alexey-milovidov
e619304b2c
Merge pull request #7216 from ClickHouse/nicelulu-issue-6615
...
Merging "Optimize empty IN subquery and empty INNER/RIGHT JOIN"
2019-10-08 21:36:57 +03:00
Alexander Kuzmenkov
a5b1496fe9
Serialize Null Fields correctly in DataTypeNullable.
2019-10-08 21:21:24 +03:00