Commit Graph

2750 Commits

Author SHA1 Message Date
Vasily Nemkov
2185531f70 DateTime64 tests 2019-09-07 17:22:22 +03:00
Martijn Bakker
3d7656ce61 working datetime64 with some conversions 2019-05-04 16:33:17 +01:00
Martijn Bakker
4b1ac69657 Merge branch 'master' into martijn-datetime64 2019-05-04 13:14:58 +01:00
Martijn Bakker
81ca591b23 various formatters are working, though there is still an issue with toDate for some reason, maybe the data is unaligned? 2019-05-04 13:13:59 +01:00
Martijn Bakker
118e498eab working timezone conversion in the toString function 2019-05-04 01:07:54 +01:00
Martijn Bakker
c5af12ad68 fixed up test 2019-05-03 01:14:51 +01:00
Martijn Bakker
176fc98a32 also parse datetime64 from string 2019-05-03 00:46:04 +01:00
Martijn Bakker
258f425437 factor out the conversion between datetime64 and the uint64 2019-05-02 23:40:45 +01:00
alexey-milovidov
9e3c80d2ed
Merge pull request #5170 from yandex/cidr-to-range-better-code
Cidr to range better code
2019-05-02 19:29:36 +03:00
Alexey Milovidov
6a271adad3 Added max_parts_in_total threshold to MergeTree tables 2019-05-02 17:48:54 +03:00
Alexey Milovidov
0381a6a1ec Better code for CIDR to range functions #5095 2019-05-02 01:09:24 +03:00
alexey-milovidov
2dccdb18eb
Merge pull request #5095 from PerformanceVision/CIDR_MASK
Functions for calculate lower and high range of an IP address using a CIDR mask
2019-05-02 01:00:29 +03:00
Martijn Bakker
f76a2e2735 Merge branch 'master' into martijn-datetime64 2019-05-01 20:00:53 +01:00
Nikolai Kochetov
be91f09417 Merge branch 'master' into fix-low-cardinality-keys-in-set-index 2019-04-30 20:26:18 +03:00
alexey-milovidov
cd16c3a3c9
Update 00931_low_cardinality_set_index_in_key_condition.sql 2019-04-30 19:21:33 +03:00
alexey-milovidov
e7ec3b9eb8
Merge pull request #5136 from PerformanceVision/basename
Add a basename function
2019-04-30 19:15:35 +03:00
Nikolai Kochetov
0b7bf0c794 Added test. #5031 2019-04-30 13:46:04 +03:00
alexey-milovidov
0a34e05130
Merge pull request #5138 from CurtizJ/limit-by-offset
Added support of LIMIT n, m BY clause.
2019-04-30 00:17:29 +03:00
CurtizJ
7766f5c0c3 added offset for limit by 2019-04-29 16:12:39 +03:00
Guillaume Tassery
87b60f0a3b Add test for basename function 2019-04-29 17:18:02 +07:00
alexey-milovidov
1d69a73424
Merge pull request #5119 from nicelulu/update_24
modification retention function
2019-04-29 04:51:18 +03:00
Ivan
9edbbc637a
Fix segmentation fault on iterator double-free inside RWLock (#5127)
* Store the key instead of iterator, which may get invalidated by erasure from another instance.
* Add test
2019-04-27 22:12:35 +03:00
Vitaly Baranov
8277e9d8f1 Refactoring of Settings based on new template class SettingsCollection.
Add new class SettingsConstraints.
2019-04-26 19:11:05 +03:00
alesapin
99e9c2d534 Temporary disable flapping test 2019-04-26 15:57:56 +03:00
821008736@qq.com
02e9cc8f2d fix retention function 2019-04-26 17:36:35 +08:00
Guillaume Tassery
f21004ed7e IPv4CIDRtoIPv4Range and IPv6CIDRtoIPv6Range return now an IP 2019-04-26 13:30:07 +07:00
alexey-milovidov
445f51c01e
Merge pull request #4439 from kvinty/kvinty-radix-sort
Use radixSort in ORDER BY + add performance test
2019-04-25 02:45:38 +03:00
alexey-milovidov
1de889c201
Merge pull request #5081 from Akazz/master
Support for header specified order of columns in TSVWithNames/CSVWithNames formats
2019-04-24 18:59:09 +03:00
alexey-milovidov
d2a4aa964d
Merge pull request #5026 from PerformanceVision/uniq_array
Add an optional max_size parameter to groupUniqArray
2019-04-24 14:34:39 +03:00
Guillaume Tassery
74746de0cb Add functional tests for ipv6 range function 2019-04-24 12:17:21 +07:00
Guillaume Tassery
31f8eecdc2 Add functional tests for ipv4 range function 2019-04-24 11:18:46 +07:00
Martijn Bakker
23b53ee2f9 able to insert DateTime64 objects into the table 2019-04-23 14:05:45 +01:00
Alexander Kazakov
f93fe77fd5 Added chmod +x for test scripts 2019-04-22 19:37:22 +03:00
Alexander Kazakov
bd62651ea3 Dropped a few debug leftovers 2019-04-22 16:42:52 +03:00
Alexander Kazakov
d90bab5e33 In [T|C]SVWithNames formats start using column information from header 2019-04-22 16:31:17 +03:00
proller
a9bc78d559 Dont use test. db 2019-04-22 14:48:37 +03:00
proller
96e4e389b7 Merge remote-tracking branch 'upstream/master' into HEAD 2019-04-22 14:31:10 +03:00
alesapin
7a6365dbf1 Increase sleep time in flappy test and remove jokes 2019-04-22 13:56:10 +03:00
Evgenii Pravda
813d857b62 Fix reference 2019-04-20 17:06:36 +03:00
Evgenii Pravda
a436247a15 Rebase, fix test 2019-04-20 02:06:23 +03:00
proller
c96c950096
Tests: making 100% pass with other than 'test' database (#5047) 2019-04-18 21:48:04 +03:00
chertus
dce48e9363 one more test for Unknown identifier 2019-04-18 19:50:38 +03:00
chertus
719e0c5731 minor test improvement 2019-04-18 17:45:23 +03:00
Ivan
118bea2be6
Enable predicate push-down optimization by default. (#4846)
* Enable predicate push-down optimization by default.
* Forbid push-downs for some JOIN cases.
* Fix existing tests
* Forbid optimization if a select query has ARRAY JOIN on any side.
2019-04-18 13:39:25 +03:00
Alexey Milovidov
d8203ba664 Added a comment with detailed explanation 2019-04-18 01:28:00 +03:00
alesapin
0641ff7a75
Merge pull request #5033 from yandex/fix_ttl_test
Add some sleeps to queries to avoid merge race
2019-04-17 19:51:25 +03:00
alexey-milovidov
7b201a9491
Merge pull request #4986 from 4ertus2/ast
Partially fix distributed_product_mode=local columns access
2019-04-17 17:59:01 +03:00
alesapin
f48890ac34 Add some sleeps to queries to avoid merge race 2019-04-17 17:16:30 +03:00
Guillaume Tassery
340e1380f4
Merge branch 'master' into uniq_array 2019-04-17 17:06:23 +07:00
alexey-milovidov
76b6d43a53
Merge pull request #5001 from 4ertus2/bugs
Fix select distinct with join
2019-04-16 20:08:15 +03:00