Alexey Milovidov
d611297a7f
Add comment
2021-06-29 02:19:09 +03:00
Alexey Milovidov
f4f85a387d
Fix DateLUT on Darwin
2021-06-29 02:16:19 +03:00
neng.liu
ec7604b013
add parquet test and fix add interval error when type is date32
2021-06-28 16:36:54 +08:00
Ivan
14e43cfafa
Add CI check for darwin-aarch64 ( #25560 )
...
* Add support for darwin-aarch64
* Fix PVS warnings
* Add build configuration
* Fix packager args
2021-06-25 18:21:56 +03:00
Neng Liu
aadc2af5cb
add some functional test
2021-06-22 19:10:56 +08:00
Neng Liu
7ed1728a37
Merge branch 'master' into datatype-date32
...
# Conflicts:
# src/DataTypes/IDataType.h
# src/Functions/CustomWeekTransforms.h
2021-06-22 10:00:18 +08:00
alexey-milovidov
48980b9c31
Merge pull request #25279 from ClickHouse/fix-wide-int-ub
...
Fix incorrect behaviour and UBSan report in big integers.
2021-06-17 01:35:48 +03:00
Maksim Kita
67e9b85951
Merge ext into common
2021-06-16 23:28:41 +03:00
Maksim Kita
67884ec50c
SimpleCache key constructor improvement
2021-06-16 01:40:16 +03:00
Alexey Milovidov
c41b58b148
Fix UBSan report
2021-06-15 06:52:49 +03:00
Alexey Milovidov
3ee26c822d
Remove unused function
2021-06-15 03:30:01 +03:00
Alexey Milovidov
6eb06d84d4
Fix decomposed float
2021-06-15 03:29:44 +03:00
Alexey Milovidov
c5181cf897
Fix wrong code in wide_int
2021-06-15 03:29:20 +03:00
Benjamin Naecker
f5cf9adc66
Removes unused CMake variable and fixes clang-tidy lint
2021-06-11 14:35:40 -07:00
Benjamin Naecker
e4e0bd557a
Style fix
2021-06-09 15:53:56 -07:00
Benjamin Naecker
c3506bf16d
Adds a better way to include binary resources
...
- Uses a small assembly file to include binary resources, rather than
objcopy
- Updates `base/common/getResource.cpp` for this new method of inclusion
- Removes linux-only guards in CMake files, as this solution is
cross-platform.
The resulting binary resources are available in the ClickHouse server
binary on Linux, macOS, and illumos platforms. FreeBSD has not been
tested, but will likely work as well.
2021-06-09 14:03:30 -07:00
Neng Liu
88a0d0be62
add datetype32 part2
2021-06-08 20:31:41 +08:00
neng.liu
120da1fd73
date32 initial code
2021-06-07 06:41:58 -07:00
Alexey Milovidov
3b2f897f3a
Fix UBSan
2021-05-09 02:25:36 +03:00
Alexey Milovidov
e9c7aa5ab5
Remove some code
2021-05-08 17:12:26 +03:00
Alexey Milovidov
597dcc3e59
Remove packed
2021-05-08 03:06:35 +03:00
Alexey Milovidov
74e2d61207
Fix typo
2021-05-08 03:05:12 +03:00
Alexey Milovidov
d0f1931ecc
Fix ugly typo
2021-05-08 01:22:07 +03:00
Alexey Milovidov
690b2d74fd
Fix gcc build
2021-05-08 01:18:42 +03:00
Alexey Milovidov
8334d8aac1
Speedup division
2021-05-08 01:07:57 +03:00
Alexey Milovidov
ca18f8bef1
Fix division of big integers; add a test
2021-05-08 00:47:23 +03:00
Alexey Milovidov
7443e660ea
Remove unused headers
2021-05-07 20:13:00 +03:00
Alexey Milovidov
9db3cd57bb
Supposedly fix error with shifts; add a test
2021-05-07 20:12:14 +03:00
Alexey Milovidov
1a746f124f
Style
2021-05-07 04:48:23 +03:00
Alexey Milovidov
7d93734f54
gcd and lcm for big integers
2021-05-07 03:00:26 +03:00
Alexey Milovidov
0e39d3a589
Fix error
2021-05-07 00:04:47 +03:00
Alexey Milovidov
f5011094c3
Little better
2021-05-06 19:53:22 +03:00
Alexey Milovidov
5025ac7147
Minor edits
2021-05-06 19:35:08 +03:00
Alexey Milovidov
29f1a87016
Simplification
2021-05-06 19:16:31 +03:00
Alexey Milovidov
9f379918ea
Fix error in wide_integer implementation
2021-05-06 03:06:24 +03:00
Alexey Milovidov
1ec524d7c8
Add more tests
2021-05-06 00:20:55 +03:00
Alexey Milovidov
113424d78e
Fixed error; add a test
2021-05-05 23:56:44 +03:00
Alexey Milovidov
fd4f214e43
Fix error
2021-05-05 23:04:15 +03:00
Alexey Milovidov
8940677bf2
Fix wrong code (amend)
2021-05-05 20:25:53 +03:00
Alexey Milovidov
f7114fddf6
Fix error in wide integer <-> integer conversions
2021-05-05 14:53:40 +03:00
Alexey Milovidov
e4e2bacf70
Fix error
2021-05-05 14:16:06 +03:00
Alexey Milovidov
54fb40c041
Fix OpenTelemetry
2021-05-05 01:42:14 +03:00
Alexey Milovidov
86169cc36e
Merge branch 'master' into normalize-bigint
2021-05-04 14:53:42 +03:00
Alexey Milovidov
43bd37b6cc
Fix style
2021-05-04 02:46:11 +03:00
Alexey Milovidov
02ce9cc725
Untangle UUID
2021-05-04 01:46:51 +03:00
Alexey Milovidov
2375b0503f
Add comment
2021-05-03 23:08:56 +03:00
Alexey Milovidov
0677787d90
Fix abysmally low performance
2021-05-03 22:56:40 +03:00
Alexey Milovidov
eaa8f922b2
Fix errors, add a test
2021-05-03 00:52:59 +03:00
Azat Khuzhin
5ff78fb297
replxx readline compatibility
...
- By default M-BACKSPACE is KILL_TO_WHITESPACE_ON_LEFT, while in
readline it is backward-kill-word, so use KILL_TO_BEGINING_OF_WORD
instead.
- By default C-w is KILL_TO_BEGINING_OF_WORD, while in readline it is
unix-word-rubout, so use KILL_TO_WHITESPACE_ON_LEFT instead.
2021-05-02 23:26:42 +03:00
Alexey Milovidov
1fda866881
Merge branch 'master' into normalize-bigint
2021-05-02 21:24:45 +03:00
alexey-milovidov
37f44ca7e8
Merge pull request #23776 from ClickHouse/pvs-workaround
...
Workaround for PVS-Studio
2021-05-01 11:58:50 +03:00
Maksim Kita
9c808c4944
Merge pull request #23786 from kitaisreal/add-examples-folder-filter-to-ya-make-in
...
Add examples folder filter to ya.make.in
2021-04-30 15:27:54 +03:00
Maksim Kita
318c4bb80d
Add examples folder filter to ya.make.in
2021-04-30 11:25:52 +03:00
Alexey Milovidov
631711194b
Workaround for PVS-Studio
2021-04-29 22:51:59 +03:00
Benjamin Naecker
57fd59b73b
Adds support for building on Solaris-derived systems
...
This commit adds a number of changes to platform-detection and
compile-time directives required to support building ClickHouse on
Solaris-derived systems, most notably illumos.
2021-04-28 16:32:41 -07:00
Alexey Milovidov
649550c5ab
Attempt to normalize big integers
2021-04-25 12:30:43 +03:00
Alexey Milovidov
8f01af62d9
Merge branch 'master' into normalize-bigint
2021-04-25 06:57:44 +03:00
Alexey Milovidov
4ff812db7f
Maybe better support for paths with whitespaces
2021-04-24 22:47:52 +03:00
Azat Khuzhin
2561a67fd8
Replace !__clang__ with !defined(__clang) to fix gcc builds
...
$ gg 'if !__clang__' | cut -d: -f1 | sort -u | xargs sed -i 's/#if !__clang__/#if !defined(__clang__)/g'
2021-04-18 23:37:50 +03:00
changvvb
4eee2d0977
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-15 22:54:26 +08:00
Maksim Kita
0cfe018fd4
Moved BorrowedObjectPool to common
2021-04-13 23:15:22 +03:00
changvvb
1f8bd034a3
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-04-06 15:55:03 +08:00
Alexey Milovidov
7589a014f9
Better fix
2021-04-01 03:44:02 +03:00
Alexey Milovidov
de3b452d7a
Remove useless code from setTerminalEcho #20334
2021-03-30 00:39:38 +03:00
Alexey Milovidov
b005081103
Update libdivide to the latest master (2)
2021-03-30 00:37:27 +03:00
Maksim Kita
6fb444f732
Merge pull request #20184 from nvartolomei/nv/macos-shared
...
Fix macOS shared lib build
2021-03-29 18:25:43 +03:00
Alexey Milovidov
7fcae60466
Merge branch 'master' into to-start-of-interval-hour-align
2021-03-29 05:42:00 +03:00
changvvb
5e07551d17
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-03-26 16:57:26 +08:00
Alexey Milovidov
ea3cf5c0a7
Fix typo
2021-03-24 22:48:39 +03:00
Alexey Milovidov
b610afe771
Another fix
2021-03-24 22:40:45 +03:00
Alexey Milovidov
5a2f2e0cc8
Change behaviour of toStartOfInterval
in backward incompatible way
2021-03-24 01:53:19 +03:00
Alexey Milovidov
3952a8e976
Fix UBSan report in addMonths
2021-03-22 23:42:09 +03:00
changvvb
b4e92f6b12
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-03-19 13:52:09 +08:00
Alexey Milovidov
de091114f3
Fix UBSan report
2021-03-16 15:22:52 +03:00
Alexey Milovidov
eadf0248d0
Build fixes
2021-03-16 14:07:53 +03:00
changvvb
bba600d558
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into support-apple-m1
2021-03-16 13:26:00 +08:00
Alexey Milovidov
f48bf2aaba
Fix issue
2021-03-15 23:29:35 +03:00
Alexey Milovidov
671395e8c8
Most likely improve performance
2021-03-15 22:23:27 +03:00
Alexey Milovidov
845f4afbf4
Fix parsing of pre-epoch time
2021-03-15 21:09:05 +03:00
Alexey Milovidov
badd5165da
Fix UBSan report in rounding to years intervals
2021-03-15 20:36:49 +03:00
alexey-milovidov
53e21443eb
Merge branch 'master' into DateTime64_extended_range
2021-03-14 12:27:17 +03:00
Alexey Milovidov
e8919c49fb
Merge branch 'master' into replace-memcpy
2021-03-13 09:39:58 +03:00
Nikita Mikhaylov
e234990cf6
Merge pull request #19257 from nikitamikhaylov/geometry_functions
...
Merging geometry functions
2021-03-12 17:05:24 +03:00
changvvb
fcb238715b
Support apple m1
2021-03-12 01:12:52 +08:00
Nikita Mikhailov
e78fc3109c
better ubsan testing
2021-03-11 15:08:18 +03:00
Yatsishin Ilya
7b69ef92be
gcc old cast check failed
2021-03-10 18:04:34 +03:00
Yatsishin Ilya
71d745b4ec
implicit const conversion
2021-03-09 17:31:54 +03:00
Alexey Milovidov
1200d9d9c5
Range checks and monotonicity
2021-03-07 10:10:37 +03:00
Alexey Milovidov
7052ecd446
Fix error
2021-03-07 09:30:52 +03:00
Alexey Milovidov
1bb62f578b
Unit tests passing
2021-03-07 04:10:38 +03:00
Alexey Milovidov
8271cec093
Fix error
2021-03-07 02:36:24 +03:00
Alexey Milovidov
d406999e8f
Remove debug output
2021-03-07 01:36:48 +03:00
Alexey Milovidov
0dbadc8d8e
Fix error
2021-03-07 01:35:23 +03:00
Alexey Milovidov
8d5d1b76fb
Fix error
2021-03-07 00:36:29 +03:00
Alexey Milovidov
d276fac135
Support negative time_t in more functions
2021-03-05 05:04:23 +03:00
Alexey Milovidov
738d106874
Support negative time_t in more functions
2021-03-05 05:03:55 +03:00
Alexey Milovidov
ecee81b714
Fix clang-tidy
2021-03-05 04:50:16 +03:00
Alexey Milovidov
790aa8697c
Fix typos
2021-03-05 04:47:50 +03:00
Alexey Milovidov
1722978c2b
Comments and corrections
2021-03-05 04:45:12 +03:00
Alexey Milovidov
7cc471f9b9
Simplify code
2021-03-05 04:22:12 +03:00