Commit Graph

758 Commits

Author SHA1 Message Date
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library (#14219) 2020-09-01 12:54:50 +03:00
Azat Khuzhin
2d7cb03120 Suppress superfluous wget (-nv) output
Since for dowloading some of files wget logging may take 50% of overall
log [1].

  [1]: https://clickhouse-builds.s3.yandex.net/14315/c32ff4c98cb3b83a12f945eadd180415b7a3b269/clickhouse_build_check/build_log_761119955_1598923036.txt
2020-09-01 10:25:13 +03:00
Alexander Kuzmenkov
134aae89f3
Merge pull request #14110 from 4ertus2/decimal
Fix Decimal to Float conversion and toDecimal256() function
2020-08-31 17:08:49 +03:00
alexey-milovidov
c6f55bbe6a
Merge pull request #14151 from 4ertus2/some
Add functions: isDecimalOverflow(), countDigits()
2020-08-28 22:01:54 +03:00
Artem Zuikov
881cd3331a gix comment and useDefault*(), add tests for nullables 2020-08-28 13:16:42 +03:00
Alexey Milovidov
01567d62a4 Fix nullptr dereference in defaultValueOfTypeName 2020-08-27 21:36:18 +03:00
Artem Zuikov
2a0b98b19c add countDigits() function 2020-08-27 16:17:13 +03:00
Artem Zuikov
724b38adc9 isDecimalOverflow() function 2020-08-27 04:14:10 +03:00
alexey-milovidov
67f16d5ae8
Merge pull request #14122 from ClickHouse/fix-fuzz-test-compile-expressions
More range checks when compile_expressions = 1
2020-08-27 02:15:40 +03:00
alexey-milovidov
0f706c01ca
Merge pull request #13888 from vladimir-golovchenko/add-date-trunc-function
Added date_trunc function
2020-08-27 02:12:27 +03:00
alexey-milovidov
c53854df19
Merge pull request #14079 from livace/fix_2d_pip
Fix pointInPolygon with const 2d array
2020-08-26 21:02:58 +03:00
Alexey Milovidov
5dbdd8ea3d More range checks when compile_expressions = 1 2020-08-26 19:49:19 +03:00
alexey-milovidov
7ea28d976a
Update date_trunc.cpp 2020-08-26 17:28:54 +03:00
Artem Zuikov
fe5db661ce fix decimal to float conversion and toDecimal256() 2020-08-26 15:26:12 +03:00
vladimir golovchenko
b0dd1d92b4 Added date_trunc function. 2020-08-25 16:41:08 -07:00
Alexey Ilyukhov
f32b7f48f1 Fix pointInPolygon with const 2d array 2020-08-26 01:13:47 +03:00
Alexey Milovidov
b0908144b3 Fix clang-tidy 2020-08-25 01:20:43 +03:00
Alexey Milovidov
99009a3468 utils/generate-ya-make/generate-ya-make.sh 2020-08-24 23:02:29 +03:00
Alexey Milovidov
846cdd70fc Merge branch 'patch-0819' of https://github.com/hczhcz/ClickHouse into hczhcz-patch-0819-2 2020-08-24 23:01:59 +03:00
alexey-milovidov
6a164634d7
Merge pull request #12550 from myrrc/bug/low-cardinality-arrays-optimisations
Optimising has(), indexOf(), and countEqual() for Array(LowCardinality(T)) and constant right arguments
2020-08-24 22:31:29 +03:00
Anton Popov
93d49e5815
Merge pull request #13237 from vdimir/string-locate-startpos-3776
Support start_pos argument in `position` function
2020-08-24 12:23:19 +03:00
zhang2014
b679b2e30c ISSUES-4006 fix toDateTime64 with scale 0 2020-08-21 13:16:50 +08:00
zhang2014
ec1572d7be ISSUES-4006 support parserDateTime32 functions 2020-08-21 13:09:25 +08:00
zhang2014
45cc0778a0 ISSUES-4006 support scale with parserDateTime 2020-08-20 22:41:13 +08:00
zhang2014
edeb983eb0 ISSUES-4006 some refactor 2020-08-20 19:18:29 +08:00
Nikolai Kochetov
5928eab2c4
Fix lgamma race. (#13842)
* Fix lgamma race.
2020-08-20 12:27:29 +03:00
myrrc
d298409660 Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations 2020-08-20 12:07:02 +03:00
hcz
4d093e8e26 Fix type error 2020-08-20 10:50:34 +08:00
myrrc
4f96291c35 rewrote the LC spec as a dispatcher 2020-08-19 21:59:39 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals (#13097) 2020-08-19 14:52:17 +03:00
hcz
4bbcec3d33 Add defaultValueOfTypeName 2020-08-19 14:44:11 +08:00
myrrc
5ef5c889fd moved the LC stuff to its implementations (some bugs remaining) 2020-08-18 23:09:41 +03:00
Alexey Milovidov
acf312467e Stratify nans comparison in arrayCompact function 2020-08-18 22:16:53 +03:00
Alexey Milovidov
9615b1f06a Generate ya.make 2020-08-18 12:46:02 +03:00
myrrc
3337d206ba some bugs remaining 2020-08-18 01:55:41 +03:00
myrrc
69a0ca2564 checking other const approach 2020-08-18 01:43:20 +03:00
Alexey Milovidov
ba4c42abfe Support UUID aliases in normalizeQuery 2020-08-17 21:17:20 +03:00
Alexey Milovidov
59b8153506 Fix "Arcadia" and "Unbundled" builds 2020-08-17 11:20:20 +03:00
Alexey Milovidov
ab435f0610 Fix style 2020-08-16 22:50:50 +03:00
Alexey Milovidov
9cd2ddb646 Add normalizedQueryHash function with tests 2020-08-16 22:38:56 +03:00
Alexey Milovidov
e733c0b96a Add function "normalizeQuery" 2020-08-16 21:17:16 +03:00
alexey-milovidov
8535e30bd4
Merge pull request #13753 from ClickHouse/avoid-too-slow-queries-with-arrays
Avoid too slow queries with arrays
2020-08-16 10:16:08 +03:00
Azat Khuzhin
e9d373b5b7 Fix step overflow in range() 2020-08-16 00:26:47 +03:00
vdimir
df63ada6cc Fix Darwin build (std::max candidate template) 2020-08-15 20:08:59 +00:00
vdimir
8fc470d1c5 Fix compilcation errror in MultiMatchAnyImpl.h 2020-08-15 18:08:00 +00:00
zhang2014
fb1417db71 ISSUES-4006 try fix test failure 2020-08-16 01:08:03 +08:00
zhang2014
43839a97b6 ISSUES-4006 add factor with DateTime type 2020-08-15 21:29:24 +08:00
Alexey Milovidov
57b8d3f89b Avoid too slow queries with arrays 2020-08-15 12:13:52 +03:00
Alexey Milovidov
1d51d9e8b6 Range check for h3KRing 2020-08-15 11:49:54 +03:00
myrrc
54f5c0e35a fixed the String impl non-const offset bug 2020-08-14 23:07:31 +03:00
myrrc
a519559644 updated ColumnVector to compare with other U, cleaned ImplString 2020-08-14 21:08:30 +03:00
Alexey Milovidov
baa85f0a88 Fix timeout in sql_fuzzy test 2020-08-14 04:35:02 +03:00
myrrc
a9c9bae47e fixed the columnvector test 2020-08-13 17:17:49 +03:00
myrrc
0edf3a693d fixing the processGeneric ColumnVector type bug 2020-08-13 16:44:13 +03:00
myrrc
e2e38e30d0 Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations 2020-08-12 19:12:08 +03:00
myrrc
1ed406dfd8 empty commit to restart CI 2020-08-12 19:11:35 +03:00
Amos Bird
ffcbfc383b
remove obsolete comments 2020-08-12 09:30:40 +08:00
Alexander Kazakov
6e0d536327
Merge branch 'master' into bug/low-cardinality-arrays-optimisations 2020-08-11 16:25:20 +03:00
myrrc
eabcc293eb fixed generic LC impl 2020-08-11 14:15:43 +03:00
myrrc
659c78c7ab more canonical resize 2020-08-10 18:37:04 +03:00
myrrc
8562c36ea4 fix: false processing 2020-08-10 18:32:02 +03:00
myrrc
565cedbf1c updating functions 2020-08-10 17:22:35 +03:00
myrrc
403a47bd1e reverted the code back to constant args handling 2020-08-10 13:34:19 +03:00
Vitaly Baranov
3b9f5a827c Fix getting settings specified in query. 2020-08-10 01:07:23 +03:00
alexey-milovidov
be38b0fe75
Merge pull request #13497 from amosbird/tdm
Better toDate/toDateTime functions.
2020-08-09 02:14:58 +03:00
alexey-milovidov
ba5988dcf6
Merge pull request #13446 from ClickHouse/fix-netloc
Function "netloc": fix wrong code.
2020-08-09 01:39:46 +03:00
Amos Bird
ba204fe3b2
fix test and add alias to FROM_UNIXTIME 2020-08-09 00:24:43 +08:00
alexey-milovidov
beed3c8244
Merge pull request #13500 from ClickHouse/hardening-and-better-error-messages
Hardening and better error messages
2020-08-08 17:13:43 +03:00
alexey-milovidov
c0fef71507
Merge pull request #13511 from ClickHouse/codespell
Fix typos in code with codespell.
2020-08-08 17:09:16 +03:00
Amos Bird
d9de96716a
string to date is not monotonic 2020-08-08 14:30:50 +08:00
Alexey Milovidov
6663f21fdd Fix error 2020-08-08 05:02:36 +03:00
Alexey Milovidov
edd89a8610 Fix half of typos 2020-08-08 03:47:03 +03:00
Alexey Milovidov
ac2de4cc95 Fix build 2020-08-08 03:08:41 +03:00
Alexey Milovidov
ec281cd703 Fix assert in "lcm" 2020-08-08 02:01:05 +03:00
Alexey Milovidov
d026d4e289 Fix error 2020-08-07 23:53:46 +03:00
Alexey Milovidov
3c3350451e Merge branch 'master' into fix-netloc 2020-08-07 22:57:46 +03:00
alexey-milovidov
cbe9878e9e
Update FunctionsConversion.h 2020-08-07 22:53:52 +03:00
alexey-milovidov
65b3863a9e
Update FunctionsConversion.h 2020-08-07 22:52:21 +03:00
Alexey Milovidov
f968ae8804 Hardening continued 2020-08-07 22:45:29 +03:00
Amos Bird
9938e1f3f6
Better toDate/toDateTime function. 2020-08-08 03:38:34 +08:00
myrrc
ac77e2a88f empty commit to restart CI 2020-08-07 14:24:07 +03:00
Nikolai Kochetov
7a9b244f37 Push ci 2020-08-07 11:29:41 +03:00
Alexey Milovidov
1f2d0dce3e Remove useless header file 2020-08-07 04:07:51 +03:00
Alexey Milovidov
d1ed1fb83a Fix error 2020-08-07 04:04:37 +03:00
myrrc
d1412e5352 Merge branch 'bug/low-cardinality-arrays-optimisations' of github:myrrc/clickhouse into bug/low-cardinality-arrays-optimisations 2020-08-06 20:57:29 +03:00
myrrc
1c940a1921 got rid of a virtual col in loop in arrayIndex 2020-08-06 20:55:21 +03:00
Nikolai Kochetov
38c1d3b061 Fix build. 2020-08-06 16:47:08 +03:00
Alexander Kazakov
8c1dbb3893 For compatibility with Arcadia 2020-08-06 16:27:19 +03:00
Nikolai Kochetov
b28e121967 Fix tuple with NULL exement comparison. 2020-08-06 15:54:14 +03:00
myrrc
c8f737c37c fix: re-resizing, Arcadia compatibility, updated perftest 2020-08-06 15:33:16 +03:00
myrrc
2d27fa0fa8 fix: style error, unused check 2020-08-06 02:24:28 +03:00
myrrc
4dd39f6fb4 fixed comparison bug by cloning the col_arg_indices 2020-08-05 18:16:03 +03:00
myrrc
0021f67664 re-unioned the *NumImpl 2020-08-05 15:43:19 +03:00
Anton Popov
1ac1955ffb
bump CI 2020-08-05 14:32:41 +03:00
myrrc
807f1887f4 some data flow fixes 2020-08-04 22:51:15 +03:00
myrrc
b210afb789 cloning the arr column to build the lc index 2020-08-04 18:00:42 +03:00
Alexey Milovidov
d91471ea00 Merge branch 'master' into stack-frams-size-limit 2020-08-04 15:28:47 +03:00
myrrc
98119af9de Merge remote-tracking branch 'upstream/master' into bug/low-cardinality-arrays-optimisations 2020-08-04 15:01:27 +03:00
vdimir
7260009978 Fix argument handling in string search functions 2020-08-04 10:10:50 +03:00
alexey-milovidov
43f048d2cb
Merge pull request #13277 from ClickHouse/fix-fuzz-test5
Fix range checks in h3 functions
2020-08-04 01:29:33 +03:00
Alexey Milovidov
1d091738dd Merge branch 'master' into stack-frams-size-limit 2020-08-03 20:41:47 +03:00
Alexey Milovidov
7bd0620deb Added another check just in case 2020-08-03 19:39:08 +03:00
Alexey Milovidov
0e515aa1c9 Fixup 2020-08-03 17:49:50 +03:00
Alexey Milovidov
41f30d3bd8 Fix range checks in h3 functions 2020-08-03 17:32:14 +03:00
Alexander Tokmakov
5b92f43f12 Merge branch 'master' into database_atomic_improvements 2020-08-03 14:35:40 +03:00
alexey-milovidov
851e1a70d3
Merge pull request #13226 from ClickHouse/fix-if-nullable-cond-return-type
Fix function if with nullable constexpr as cond that is not literal NULL
2020-08-03 06:11:54 +03:00
alexey-milovidov
6097f6a43e
Merge pull request #13212 from ClickHouse/materialize-null
Function "materialize" should work for NULL as expected
2020-08-03 02:10:24 +03:00
alexey-milovidov
84e88f661e
Merge pull request #13213 from ClickHouse/fix-fuzz-test2
Fix assertion failure in FunctionsLogical
2020-08-03 00:29:44 +03:00
Alexey Milovidov
fd3c4e033e Merge branch 'master' into fix-if-nullable-cond-return-type 2020-08-03 00:29:09 +03:00
Alexey Milovidov
41111d1e57 Merge branch 'master' into stack-frams-size-limit 2020-08-02 19:18:33 +03:00
alexey-milovidov
dfa57559a2
Merge pull request #13229 from ClickHouse/fix-geohash
Fix assert in geohashesInBox
2020-08-02 17:26:58 +03:00
Alexey Milovidov
577a0b405d Merge branch 'master' into fix-if-nullable-cond-return-type 2020-08-02 17:24:46 +03:00
vdimir
368314b930 Fix style in PositionImpl and FunctionsStringSearch 2020-08-02 14:24:39 +00:00
alexey-milovidov
2d93ac97c9
Merge pull request #13224 from ClickHouse/fix-fuzz-test3
Fix assert in arrayElement
2020-08-02 17:21:52 +03:00
Alexey Milovidov
5d96839e98 Merge branch 'master' into materialize-null 2020-08-02 17:12:55 +03:00
Alexey Milovidov
1a966c4ff4 Merge branch 'master' into fix-fuzz-test2 2020-08-02 17:12:38 +03:00
vdimir
9ed7df64cd Support 'start_pos' argument in 'position' function 2020-08-02 12:56:18 +00:00
Alexey Milovidov
a1c0dd3782 Fix assert in geohashesInBox 2020-08-02 05:59:09 +03:00
Vitaly Baranov
18b21511a9
Merge pull request #13013 from vitlibar/implement-custom-settings
Implement custom settings
2020-08-02 05:01:14 +03:00
Alexey Milovidov
9ad3dcacd6 Fix function if with nullable constexpr as cond that is not literal NULL 2020-08-02 04:56:07 +03:00
Alexey Milovidov
d3c0635fc0 Merge branch 'master' into stack-frams-size-limit 2020-08-02 04:35:09 +03:00
Alexey Milovidov
a4e8c47702 Fix assert in arrayElement 2020-08-02 04:07:08 +03:00
Alexey Milovidov
747239d850 Whitespace 2020-08-02 02:44:42 +03:00
Alexey Milovidov
4d3e39649c Merge branch 'master' into fix-fuzz-test2 2020-08-02 02:27:57 +03:00
Alexey Milovidov
3735ae045e Merge branch 'fix-fuzz-test2' into materialize-null 2020-08-02 01:52:10 +03:00
Alexey Milovidov
c0da83c160 Merge branch 'master' into materialize-null 2020-08-02 01:51:59 +03:00
alexey-milovidov
56a974049e
Merge pull request #13158 from ClickHouse/amosbird-fm
Merge #12574
2020-08-02 01:48:57 +03:00
Alexey Milovidov
1238456599 Slightly better 2020-08-01 22:10:59 +03:00
Alexey Milovidov
435164cfbb Fix fuzz test 2020-08-01 21:52:30 +03:00
Alexey Milovidov
52d885e095 Function "materialize" should work for NULL as expected 2020-08-01 21:44:00 +03:00
Azat Khuzhin
3b022b85a5 Fix FunctionUnixTimestamp64 with constant argument 2020-08-01 13:29:36 +03:00
Vitaly Baranov
f73a4749cf Add function getSetting(). 2020-07-31 20:57:49 +03:00
alexey-milovidov
9c9ef0db9b
Merge branch 'master' into database_atomic_improvements 2020-07-31 14:56:49 +03:00
Alexey Milovidov
bf4e74375e generate ya.make 2020-07-31 02:43:55 +03:00
Alexey Milovidov
67b7a5442f Merge branch 'fm' of https://github.com/amosbird/ClickHouse into amosbird-fm 2020-07-31 02:43:27 +03:00
alexey-milovidov
74edcfb87e
Merge pull request #13073 from nikitamikhaylov/rewrite-tests
BayesAB test
2020-07-31 02:30:07 +03:00
Alexey Milovidov
c202691319 Merge branch 'master' into stack-frams-size-limit 2020-07-30 23:53:52 +03:00
Anton Popov
cf505a92ef
Merge pull request #9278 from achulkov2/polygon-dict-grids
Polygon dictionaries with grids
2020-07-29 21:32:35 +03:00
Nikita Mikhaylov
5a6a40437a remove includes from all Function sources 2020-07-29 21:14:48 +03:00
alesapin
34e7b25d91
Merge pull request #12992 from ClickHouse/rerun_failed_in_fast_test
Rerun tests in fast test
2020-07-29 21:11:54 +03:00
Nikita Mikhaylov
1d6c2ba689 rewrite other test + remove useless includes 2020-07-29 20:37:57 +03:00
Alexander Kuzmenkov
239f08271a
Merge pull request #12745 from azat/cast-nullable-string-to-enum
Fix CAST(Nullable(String), Enum())
2020-07-29 20:23:21 +03:00
nikitamikhaylov
2909d965db delete file 2020-07-29 17:47:42 +03:00
nikitamikhaylov
86c1cc71ea try 2020-07-29 17:45:16 +03:00
nikitamikhaylov
9df54946cf fix clang-tidy build 2020-07-29 17:06:33 +03:00
alesapin
d52f67d24e Fix abtesting build 2020-07-29 14:00:04 +03:00
Ildus Kurbangaliev
fdf4fd337a
add mapAdd and mapSubtract functions (#11735) 2020-07-29 11:50:30 +03:00
Anton Popov
6d58279535 Merge remote-tracking branch 'upstream/master' into HEAD 2020-07-29 02:15:30 +03:00
myrrc
cf696afd4c fix: function visibility 2020-07-28 18:26:53 +03:00
Amos Bird
993a11a57a
Fix MemSan error. 2020-07-28 22:43:43 +08:00