Alexey Milovidov
aa234b402a
Every function in its own file, part 10
2019-08-04 17:30:08 +03:00
Alexey Milovidov
66acafe70e
Every function in its own file, part 10
2019-08-04 17:01:04 +03:00
alexey-milovidov
261abd6c41
Merge pull request #6319 from nikvas0/nikvas0/fix_set_index
...
Add Comments for set index functions
2019-08-04 16:39:57 +03:00
Nikita Vasilev
dec8de640f
improve book mask or
2019-08-04 16:31:37 +03:00
Nikita Vasilev
5d47a858c5
add comments
2019-08-04 16:03:38 +03:00
alexey-milovidov
7388454eb2
Merge pull request #6306 from yandex/simdjson-update
...
Updated SIMDJSON
2019-08-04 06:29:28 +03:00
alexey-milovidov
14671d6df8
Merge pull request #6254 from yandex/fastops
...
Integration with "FastOps" library. Added functions sigmoid and tanh.
2019-08-04 06:28:34 +03:00
proller
77bd2624ea
Build fixes ( #6016 )
...
* Fix building without submodules
* Fix more gcc9 warnings
* was wrong!
../dbms/src/IO/WriteBufferAIO.cpp:277:54: error: result of comparison 'ssize_t' (aka 'long') > 9223372036854775807 is always false [-Werror,-Wtautological-type-limit-compare]
if ((static_cast<ssize_t>(flush_buffer.offset()) > std::numeric_limits<off_t>::max()) ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* mimalloc off MI_OVERRIDE
* Fix freebsd build
* Fix shared build
* Fix build in gcc9
* Fix split build
* fix
* fix
* fix
* fix
* clean
* zstd
* Update CMakeLists.txt
* Update Defines.h
* Try fix -Wsign-compare
* Freebsd fix
* Add missing libs
* Fix double-conversion include for copy-headers
* Fix zlib link
* Fix includes for arcadia
* Fix includes for arcadia
* Fix includes for arcadia
* Freebsd fix
* Arcadia fixes
* Update QueryProfiler.cpp
* Freebsd fix
* clean
* 19.11: Fixes for arcadia porting (#6223 )
* fix glibc-compatibility
* M_LIBRARY fix
* wip
* Fix
* Fix arm build
* unwind fix
* Update CMakeLists.txt
2019-08-04 03:19:03 +03:00
alexey-milovidov
e61f647492
Merge pull request #6282 from nikvas0/nikvas0/fix_set_index
...
fix operators in set index
2019-08-04 02:52:57 +03:00
Alexey Milovidov
72c0892246
Merge branch 'simdjson-update' of github.com:yandex/ClickHouse into simdjson-update
2019-08-03 23:12:52 +03:00
Alexey Milovidov
63f508ae04
Merge branch 'master' into simdjson-update
2019-08-03 23:12:24 +03:00
Zhichang Yu
4f146eaa7e
added bitmapRange function
2019-08-03 23:07:46 +08:00
Nikita Vasilev
5ce205941a
fix
2019-08-03 09:46:25 +03:00
Alexey Milovidov
b9d39f4882
Merge branch 'master' into fastops
2019-08-03 06:24:33 +03:00
alexey-milovidov
309f14d924
Use SIMDJSON only on AVX2 machines as before.
2019-08-03 06:18:09 +03:00
Alexey Milovidov
11762f6eec
Updated SIMDJSON
2019-08-03 02:24:50 +03:00
Alexey Milovidov
a5a6aaf8b1
Merge branch 'master' into fastops
2019-08-03 01:58:38 +03:00
Alexey Milovidov
7394d3e73a
Fixed exception message
2019-08-03 01:42:21 +03:00
Alexey Milovidov
62053314bb
Fixed FPE in yandexConsistentHash
2019-08-03 01:40:28 +03:00
Nikita Vasilev
bfa9a2c86f
fixed index condition
2019-08-02 22:21:55 +03:00
Alexey Milovidov
35a71506a5
Fixed error
2019-08-02 21:59:19 +03:00
chertus
fcc6a2c2be
fix crash on CAST exotic types to decimal
2019-08-02 17:31:55 +03:00
Nikita Vasilev
7aacbbdc5a
fix bug
2019-08-01 22:18:36 +03:00
Alexey Milovidov
5c361c327b
Enabled "precise" mode; updated tests
2019-08-01 22:17:49 +03:00
Alexey Milovidov
c3f54f85c1
Fixed error with "unbundled" build
2019-08-01 06:06:15 +03:00
Alexey Milovidov
a25890c038
Merge branch 'master' into fastops
2019-08-01 06:05:53 +03:00
alexey-milovidov
e8cac8ab6e
Merge pull request #6253 from yandex/std-filesystem-2
...
Changed boost::filesystem to std::filesystem
2019-08-01 04:32:40 +03:00
Alexey Milovidov
ec2fd3e29d
Added missing files
2019-08-01 04:17:44 +03:00
Alexey Milovidov
b1c9fc0233
Using FastOps library
2019-08-01 03:29:32 +03:00
Alexey Milovidov
fb3824f98b
Merge branch 'master' into fastops
2019-08-01 01:59:59 +03:00
Alexey Milovidov
f3921ce3e0
Changed boost::filesystem to std::filesystem
2019-08-01 01:37:41 +03:00
Alexey Milovidov
5cedc24e51
Fixed error
2019-07-31 21:04:24 +03:00
Alexey Milovidov
52650ce2f7
Fixed overflow in intDiv functions
2019-07-31 04:05:33 +03:00
Alexey Milovidov
20ae0ee80e
Added a flag to disable introspection functions
2019-07-30 02:54:49 +03:00
Alexey Milovidov
efbbb14972
Renamed function symbolizeAddress to addressToSymbol
2019-07-30 02:49:00 +03:00
Alexey Milovidov
256e260693
Added one more function for introspection
2019-07-30 02:37:50 +03:00
Alexey Milovidov
97ac56139b
Addition to prev. revision
2019-07-30 01:50:39 +03:00
Alexey Milovidov
0cbd4f68ce
Addition to prev. revision
2019-07-30 01:37:26 +03:00
Alexey Milovidov
a05c6026dc
Addition to prev. revision
2019-07-30 01:34:05 +03:00
Alexey Milovidov
10439bc010
Addition to prev. revision
2019-07-30 01:33:28 +03:00
Alexey Milovidov
ad3f2066d9
Added missing file
2019-07-30 01:27:02 +03:00
Alexey Milovidov
372c4d89b2
Enabled line numbers in stack traces
2019-07-30 01:26:44 +03:00
Alexey Milovidov
15dc6d1818
Advancements
2019-07-29 21:38:04 +03:00
Alexey Milovidov
5fbe53b562
Speedup "symbolizeAddress" function
2019-07-29 04:08:52 +03:00
Alexey Milovidov
050db07e3d
Merge branch 'master' into merge-profiler
2019-07-25 22:54:22 +03:00
Nikolai Kochetov
ca17df3f26
Merge pull request #6119 from yandex/fix-cast-from-nullable-lc
...
Fix LowCardinality(Nullable) to not-Nullable cast.
2019-07-24 12:49:20 +03:00
Alexey Milovidov
36746d85dd
Better cache for symbolizeAddress function
2019-07-24 03:47:17 +03:00
Alexey Milovidov
1913bfa276
Added cache for symbolizeAddress function
2019-07-23 17:59:29 +03:00
Alexey Milovidov
0755d1e4b3
Added demangling to function symbolizeAddress
2019-07-23 16:34:22 +03:00
Alexey Milovidov
bd3173bac2
Added comment
2019-07-23 16:17:56 +03:00
Alexey Milovidov
398a280f23
Fixed error
2019-07-23 16:16:51 +03:00
Alexey Milovidov
97103b9067
Every function in its own file
2019-07-23 15:55:13 +03:00
Alexey Milovidov
2d895c4fe6
Changed symbolizeTrace to symbolizeAddress
2019-07-23 15:46:58 +03:00
akazz
6aae1ad391
Adjusted comments in the .h
2019-07-23 13:34:56 +03:00
Nikolai Kochetov
1e35f87760
Fix CAST from LowCardinality(Nullable).
2019-07-23 10:57:32 +03:00
alexey-milovidov
e4ad0da6e3
Merge pull request #4247 from laplab/query-poor-mans-profiler
...
Poor man's profiler on query level [Work in progress]
2019-07-23 03:02:58 +03:00
Alexey Milovidov
b282c6160d
Added "fastops" as submodule
2019-07-23 02:41:06 +03:00
akazz
58d83e44ed
Build fixed
2019-07-23 01:39:42 +03:00
Nikolai Kochetov
1d960e5c0b
Fix CAST from LowCardinality(Nullable).
2019-07-22 18:41:52 +03:00
Alexander Kazakov
9c769bb942
Fixed build in clang
2019-07-22 16:56:38 +03:00
Alexander Kazakov
2ebf2e8d69
Sync with upstream
2019-07-22 16:41:04 +03:00
alexey-milovidov
67b72f4261
Merge pull request #6029 from yandex/aku/agg-arenas
...
Do not access shared arenas in aggregate function columns.
2019-07-20 03:16:24 +03:00
alexey-milovidov
4adf47bb77
Merge pull request #6068 from PerformanceVision/fix_ipv6_cidr
...
Resolve segfault on IPv6CIDRToRange with setting a max cidr
2019-07-20 00:32:05 +03:00
alexey-milovidov
14f14c68cb
Update FunctionsCoding.h
2019-07-19 23:58:28 +03:00
Guillaume Tassery
7063ab3c38
Set max CIDR for IPV6 cidr function
2019-07-19 11:39:25 +02:00
Alexander Kuzmenkov
9df09f3506
Do not access shared arenas in aggregate function columns.
...
These arenas may be updated concurrently, so it is unsafe to
access them, as illustrated by issue #4402 . Store them separately
and use a different arena for the updates. Change some callers
to accomodate for this.
2019-07-18 14:21:37 +03:00
akazz
87ef45bd3a
Fixed column size mismatch in some scenarios
2019-07-18 13:20:53 +03:00
akazz
e34e745466
Fix for consts
2019-07-18 13:14:12 +03:00
akazz
b6960e6700
Minor renamings
2019-07-18 12:09:29 +03:00
akazz
eb10ae0e5e
WIP - Fixes and code moving around
2019-07-18 11:07:24 +03:00
akazz
6f9d87f787
WIP - Made code much more compact
2019-07-17 19:10:37 +03:00
akazz
f75585cd46
Moving around some code
2019-07-17 00:06:23 +03:00
akazz
df2d347617
WIP: Candidate1 - Much less code. Several TODO's are still there
2019-07-16 23:57:11 +03:00
Alexey Milovidov
68ba42cc89
Using std::gcd, lcm instead of boost
2019-07-15 17:45:56 +03:00
Vitaly Baranov
fd89a8b051
Merge pull request #5212 from andyyzh/custom_week_functions
...
Added functions for working with the Custom week number
2019-07-12 14:00:35 +03:00
Vitaly Baranov
8306f25634
Extra bytes after correctly parsed JSON is now considered as a parsing error.
2019-07-11 11:31:45 +03:00
Nikita Lapkov
9d540abc84
refactor
2019-07-10 20:47:39 +00:00
Alexey Milovidov
f748efbb5b
Fixed ubsan report in fuzz test
2019-07-09 01:30:30 +03:00
alexey-milovidov
3c7178a8d1
Merge pull request #5923 from yandex/add-noreturn
...
Add two more warnings from -Weverything
2019-07-09 00:10:35 +03:00
Alexey Milovidov
3779a5cba2
Addition to prev. revision
2019-07-08 19:01:00 +03:00
Alexey Milovidov
03712aabec
Add two more warnings from -Weverything
2019-07-08 03:16:39 +03:00
Nikita Lapkov
e935cb08a8
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-07 01:06:10 +00:00
alexey-milovidov
a1cfdf2a60
Merge pull request #5855 from abyss7/no-undefined
...
Use --no-undefined linker option for split build
2019-07-07 01:47:11 +03:00
Alexey Milovidov
b396a5a392
Little better
2019-07-05 21:36:20 +03:00
Alexey Milovidov
1c2e422797
Fixed buffer underflow in visitParamExtractRaw
2019-07-05 21:23:14 +03:00
Nikita Lapkov
b8585a5630
refactor and comments
2019-07-05 13:48:47 +00:00
Nikita Lapkov
0f579860f7
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-07-04 22:13:51 +00:00
Ivan Lezhankin
3b995bdb02
Add missing dependecies on sight to enable --no-undefined option
2019-07-04 17:05:55 +03:00
alexey-milovidov
d81ae49f2c
Merge pull request #5755 from 4ertus2/bugs
...
Fix wrong ColumnConst.isColumnNullable()
2019-07-03 02:06:07 +03:00
Alexander Kuzmenkov
b445525426
Include asan_interface.h before including LLVM internals.
2019-07-02 20:48:00 +03:00
filimonov
c5492e59f1
more accidental spaces
2019-07-01 17:01:10 +02:00
filimonov
051a9ae492
remove accidental spaces
2019-07-01 16:44:45 +02:00
filimonov
2627dec804
fix build on macosx and gcc9
2019-07-01 16:42:05 +02:00
chertus
5df4ad0f28
Merge branch 'master' into bugs
2019-07-01 14:49:01 +03:00
chertus
0c634129da
add IColumn.isNullable()
2019-07-01 14:44:19 +03:00
alexey-milovidov
c108882c5f
Merge pull request #5805 from yandex/BHYCHIK-h3-integration
...
Merge H3 integration
2019-07-01 01:02:16 +03:00
alexey-milovidov
a9cfe4ce91
Merge pull request #5807 from yandex/ngramSearch
...
Inverting ngramSearch to be more intuitive
2019-07-01 00:43:17 +03:00
Alexey Milovidov
fd2f90488e
Simplification
2019-06-30 23:54:06 +03:00
Alexey Milovidov
6eae511b6e
Changed order of (lat, lon) to (lon, lat) to be consistent with "greatCircleDistance" function and PostGIS
2019-06-30 23:13:32 +03:00
Alexey Milovidov
7591c3b7b2
Fixed error
2019-06-30 22:47:20 +03:00
Alexey Milovidov
7c98327e4d
Fixed error
2019-06-30 22:46:23 +03:00
Alexey Milovidov
86093a474f
Fixed error
2019-06-30 22:45:23 +03:00
Danila Kutenin
9127c8b27c
inverting ngramSearch to be more intuitive
2019-06-30 22:34:17 +03:00
Alexey Milovidov
a7fc631de7
Style
2019-06-30 21:55:08 +03:00
Alexey Milovidov
1777313821
Own CMakeLists for H3 because otherwise "m" library does not link correctly
2019-06-30 21:49:57 +03:00
Alexey Milovidov
008f3a247e
Merging H3 integration
2019-06-30 21:20:32 +03:00
alexey-milovidov
feafcb21bd
Merge branch 'master' into h3-integration
2019-06-30 16:19:11 +03:00
alexey-milovidov
87993de98d
Merge pull request #5725 from yandex/PerformanceVision-ignore_scheme
...
Performance vision ignore scheme
2019-06-29 20:36:23 +03:00
alexey-milovidov
a0d3db8d9b
Merge pull request #5787 from yandex/aku/podarray-bytes
...
Fix initial size of some inline PODArray's.
2019-06-29 15:34:00 +03:00
Alexander Kuzmenkov
0116c10e41
Require explicit type in unalignedStore
...
This is a follow-up to PR #5786 , which fixed a segfault caused by
an unexpected deduced type for unalignedStore. To prevent future errors
of this kind, require a caller to specify the stored type explicitly.
2019-06-28 20:33:14 +03:00
Alexander Kuzmenkov
a719933c58
Fix initial size of some inline PODArray's.
...
A template parameter of PODArray named INITIAL_SIZE didn't make its
units clear, which made some callers to erroneously assume that it
specifies the number of elements and not the number of bytes.
Rename it, fix the wrong usages and, where possible, use the
PODArrayWithStackMemory typedef for arrays with inline memory.
2019-06-28 16:03:14 +03:00
alexey-milovidov
b9cbd36487
Merge pull request #5750 from hczhcz/patch-7
...
Refactor: Improve function registering
2019-06-28 14:50:38 +03:00
alexey-milovidov
1327342040
Merge pull request #5764 from hczhcz/patch-8
...
Add synonim arrayFlatten <-> flatten
2019-06-28 14:49:05 +03:00
alexey-milovidov
8b93f086aa
Merge pull request #5777 from proller/fix27
...
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-28 14:47:12 +03:00
hcz
1d2695cbd2
Add alias flatten/arrayFlatten
2019-06-28 11:55:09 +08:00
chertus
f19dee706a
move IColumn.isColumnConst() outside of interface
2019-06-27 22:28:52 +03:00
Alexey Milovidov
3c4784a466
Removed obsolete undocumented embedded dictionaries that were used by Yandex.Metrica
2019-06-27 22:18:28 +03:00
chertus
db7c8748e9
remove IColumn.isColumnNullable()
2019-06-27 21:50:20 +03:00
proller
da6490c11d
renamed: Functions/array/notEmpty.cpp -> Functions/notEmpty.cpp
2019-06-27 21:43:40 +03:00
proller
0baaa4b254
Move file Functions/array/empty.cpp -> Functions/empty.cpp
2019-06-27 20:45:41 +03:00
chertus
68034103bb
fix arrayIndex for new columns's isNullable
2019-06-27 15:49:08 +03:00
chertus
65c0d23efa
better casts to ColumnNullable
2019-06-26 20:20:33 +03:00
Ivan Remen
718da84f41
Fix
2019-06-26 20:02:31 +03:00
Ivan Remen
c22322a446
3rd party header compile fix
2019-06-26 19:01:18 +03:00
alesapin
197f1eedd2
Remove searcher
2019-06-26 18:22:15 +03:00
alesapin
306e27c152
Return old behaviour
2019-06-26 18:18:12 +03:00
Ivan Remen
30c7055d3b
Fix
2019-06-26 17:15:29 +03:00
Nikita Lapkov
7cff36fbfc
Merge remote-tracking branch 'upstream/master' into query-poor-mans-profiler
2019-06-26 11:46:04 +00:00
alesapin
f740334ee5
Faster scheme search
...
Add docs
2019-06-26 13:26:34 +03:00
hcz
da206109a6
Move registerFunctionConvertCharset
2019-06-26 16:05:53 +08:00
hcz
97b762ad06
Improve function registering
2019-06-26 15:53:43 +08:00
Ivan Remen
7a5979cc0a
Fix bug
2019-06-26 02:11:28 +03:00
Ivan Remen
d933b024bd
Fix now???
2019-06-26 00:49:42 +03:00
alesapin
bd56f219ab
Fix style
2019-06-25 19:15:00 +03:00
alesapin
ff72cf4893
Trying to do everything in one pass
2019-06-25 18:54:47 +03:00
Ivan Remen
737abcdbfc
Finally fix??
2019-06-25 15:43:07 +03:00
Ivan Remen
6f6c1167bc
Fix
2019-06-25 12:44:55 +03:00
alesapin
fff18f78db
Fix tail detection
2019-06-25 12:12:28 +03:00
alesapin
fa88954e56
Better scheme cut
2019-06-25 12:04:35 +03:00
Ivan Remen
f3c8ac2d3b
Merge remote-tracking branch 'main/master' into h3-integration
2019-06-25 11:23:53 +03:00
Ivan Remen
0b28e73f50
Fix unblundled build
2019-06-25 11:23:36 +03:00
alesapin
48451b2b0f
Better name
2019-06-24 22:00:40 +03:00
alesapin
c6ece40f3c
Fix minor bug and style
2019-06-24 16:04:20 +03:00
alesapin
5b378a3f01
Remove degug info
2019-06-24 14:18:53 +03:00
proller
1ac09fa721
Split Common/config.h by libs (dbms) ( #5715 )
2019-06-24 14:17:15 +03:00
alesapin
331e17d56a
Return scheme logic
2019-06-24 14:16:08 +03:00
alesapin
56a7595254
Slightly speed up
2019-06-24 13:47:17 +03:00
Andy Yang
4b6efaa4b9
Merge branch 'master' into custom_week_functions
...
update last code
2019-06-24 09:53:38 +08:00
akazz
ae04de1f9f
[WIP] Basic working version
2019-06-22 13:49:19 +03:00
proller
badb6ab831
Functions: make array and gatherutils libs ( #5712 )
2019-06-21 18:31:37 +03:00