tavplubix
49e1321df4
Merge pull request #19072 from ClickHouse/fix_19021
...
Fix checkpoint in PeekableReadBuffer over ConcatReadBuffer
2021-01-22 21:00:04 +03:00
Azat Khuzhin
e4350e078c
Add ability to distinguish remote exceptions from local
2021-01-20 01:10:17 +03:00
Pavel Kruglov
97b5179e55
Implement HedgedRequests
2021-01-19 22:41:05 +03:00
Alexander Kuzmenkov
c153268da7
Make -- { echo }
hint preserve leading comments.
2021-01-18 15:15:46 +03:00
Alexander Kuzmenkov
d22c04568d
Merge pull request #13405 from excitoon-favorites/s3keepalive
...
Connection pools for S3
2021-01-18 12:52:37 +03:00
alexey-milovidov
141b5e23b2
Merge pull request #19136 from amosbird/removeuseless
...
Remove useless code
2021-01-16 11:04:55 +03:00
Amos Bird
8b079674a9
Remove useless code
2021-01-16 00:37:41 +08:00
tavplubix
fb6d1dc18e
Merge pull request #18979 from ClickHouse/fix_18690
...
Remove unread data limit from PeekableReadBuffer
2021-01-15 13:43:50 +03:00
alexey-milovidov
2760006415
Update gtest_peekable_read_buffer.cpp
2021-01-14 22:29:34 +03:00
Alexander Tokmakov
547c7af1b1
fix checkpoint in PeekableReadBuffer over ConcatReadBuffer
2021-01-14 17:38:59 +03:00
Alexander Tokmakov
f9ee3f8178
update test
2021-01-14 14:09:13 +03:00
alesapin
2683bbc0f7
Disable lint for test
2021-01-13 18:35:35 +03:00
Alexander Tokmakov
6c4be506fd
add test
2021-01-13 16:43:42 +03:00
alesapin
c84a8c4b16
Fix manipulators for common string types
2021-01-13 15:47:34 +03:00
Alexander Tokmakov
111f4d49e3
remove unread data limit from PeekableReadBuffer
2021-01-12 21:55:12 +03:00
Alexey Milovidov
c38dca155c
Fix clang-tidy
2021-01-10 05:51:54 +03:00
Alexey Milovidov
6eb5a5f4d9
Remove useless code
2021-01-10 03:28:59 +03:00
Azat Khuzhin
53268d9f05
Fix fsync_after_insert by not closing fd from finalize()
...
But this may cause troubles, another option will be to split finalize()
into finalize(bool sync) and finalizeImpl()
This was introduced in #8356
2021-01-07 19:30:10 +03:00
Vladimir Chebotarev
ad6fe2a8b1
Build fix.
2021-01-05 13:34:55 +03:00
Vladimir Chebotarev
59fb76e8bc
Fix.
2021-01-05 13:34:55 +03:00
Vladimir Chebotarev
5cbc25c647
Added global setting s3_max_connections
.
2021-01-05 13:34:55 +03:00
Alexey Milovidov
12a0ef907e
Slightly better
2021-01-04 21:07:52 +03:00
Alexey Milovidov
d88d3de0d1
Fix UBSan report: applying non-zero offset to nullptr
2021-01-04 02:31:47 +03:00
Nikita Mikhailov
ffd73082ba
fix memory and add comment
2020-12-30 01:34:26 +03:00
Nikita Mikhailov
c3288c3fbf
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-28 15:09:37 +03:00
alexey-milovidov
230f9b6ad4
Merge pull request #18449 from vladimir-golovchenko/fix-AM-abbreviation-handling-for-parseDateTimeBestEffort
...
Bug fix '#18402 parseDateTimeBestEffort should not ignore AM abbreviation for 12th hour'
2020-12-25 22:32:43 +03:00
Yatsishin Ilya
ce1e2b18a3
Fix codespell warnings. Split style checks. Update style checks docker
2020-12-24 13:17:52 +03:00
vladimir golovchenko
ed4fe206aa
Fixed the parseDateTimeBestEffort*-functions to correctly handle '12 am' time.
2020-12-23 18:10:00 -08:00
Nikita Mikhaylov
c005dcdd26
Merge pull request #17641 from nikitamikhaylov/parallel_row_numbers
...
Added an offset to exception message for parallel parsing
2020-12-23 17:24:35 +03:00
Nikolai Kochetov
af7f5c9518
Merge pull request #17868 from ClickHouse/async-read-from-socket
...
Async read from socket
2020-12-23 12:20:42 +03:00
Nikita Mikhailov
dcfbe782c6
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-23 05:20:22 +03:00
Nikita Mikhailov
138b74aa3b
better
2020-12-23 01:04:02 +03:00
nikitamikhaylov
c60c161168
add ParsingException
2020-12-23 01:02:01 +03:00
Denis Glazachev
0c39539c76
Apply path workaround on actual uri_ argument
...
Print out actual uri_ argument being used
2020-12-21 03:29:11 +04:00
Nikolai Kochetov
01c8d5dccc
Use replace fiber to callback in ReadBufferFromPocoSocket
2020-12-18 17:24:44 +03:00
Nikita Mikhailov
6a55e018e4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into parallel-parsing-input-format
2020-12-18 02:25:32 +03:00
Nikita Mikhaylov
aa7793e38f
Merge pull request #18084 from nikitamikhaylov/fix-arcadia-third
...
Try to fix Arcadia
2020-12-18 01:54:42 +03:00
alesapin
799997db35
Merge pull request #16621 from arenadata/ADQM-148
...
HDFS configuration and Kerberos Authenticaiton
2020-12-17 23:16:58 +03:00
nikitamikhaylov
d198f03301
suppress warnings
2020-12-17 18:46:26 +03:00
nikitamikhaylov
d70f58a98f
remove ryu
2020-12-17 00:52:04 +03:00
Maksim Kita
685099af7f
Move getPageSize in common
2020-12-17 00:23:41 +03:00
nikitamikhaylov
50c29d9ed0
better
2020-12-16 18:34:29 +03:00
nikitamikhaylov
18d52dbc63
better
2020-12-16 14:55:33 +03:00
nikitamikhaylov
20aaf48e38
pragmas
2020-12-16 14:55:33 +03:00
nikitamikhaylov
5c4e1d1db5
better
2020-12-16 14:55:33 +03:00
nikitamikhaylov
3288f1fd0c
ya make
2020-12-16 14:55:33 +03:00
nikitamikhaylov
c3a6499f6d
fix ya.make
2020-12-16 14:55:33 +03:00
Ilya Golshtein
7e97814859
cleanup, fixes, new submodules, ShellCommand, WriteBufferFromString
2020-12-16 14:48:33 +03:00
Ilya Golshtein
d1d657335b
USE_INTERNAL_HDFS3_LIBRARY + bash lint
2020-12-16 14:48:33 +03:00
Ilya Golshtein
d9166a0645
HADOOP_SECURE_DN_USER way, kinit thread, docker capabilities
2020-12-16 14:48:33 +03:00
Ilya Golshtein
185ac744b1
kerberized hdfs compiled
2020-12-16 14:48:33 +03:00
Maksim Kita
7d23451e81
Replaced usages of 4096 constant with getPageSize
2020-12-16 13:46:28 +03:00
Maksim Kita
dbb2fbcdd5
Unified usages of getPageSize
...
1. Introduced getPageSize function.
2. Replaced usages of getpagesize with getPageSize function.
3. Replaced usages of sysconf(_SG_PAGESIZE) with getPageSize function.
2020-12-16 13:42:23 +03:00
Maksim Kita
058fbd5222
MMapReadBufferFromFileDescriptor use getpagesize
2020-12-16 13:42:23 +03:00
Nikolai Kochetov
4905201985
Merge branch 'master' into async-read-from-socket
2020-12-15 21:04:47 +03:00
nikitamikhaylov
4ff1be6e25
better
2020-12-15 00:56:47 +03:00
nikitamikhaylov
5b7af8aa9c
add extremes and totals
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
da43504654
better
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
9922324787
it works
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
9f127a46c7
first try
2020-12-15 00:56:47 +03:00
Nikita Mikhaylov
0a508c7b8a
save
2020-12-15 00:56:46 +03:00
alexey-milovidov
91be7a6f27
Merge pull request #16809 from kitaisreal/read-float-8digits-unroll-performance-improvement
...
ReadFloat 8digits unroll performance improvement
2020-12-14 23:03:21 +03:00
alexey-milovidov
363ff79cca
Merge pull request #17934 from Jokser/s3-adaptive-single-part-upload
...
Adaptive choose of single/multi part upload in WriteBufferFromS3
2020-12-14 23:00:43 +03:00
Nikolai Kochetov
8de5cd5bc7
Merge branch 'master' into async-read-from-socket
2020-12-14 17:45:38 +03:00
Nikolai Kochetov
e295dfe6e3
Use ucontext for asan
2020-12-14 17:42:08 +03:00
Nikolai Kochetov
116bed2cfd
Fixing build.
2020-12-14 17:42:00 +03:00
alexey-milovidov
60efab623d
Update S3Common.cpp
2020-12-14 13:53:40 +03:00
Vladimir Chebotarev
418c974eaf
Fixed std::out_of_range: basic_string
in S3 URL parsing.
2020-12-14 11:17:29 +03:00
Pavel Kovalenko
346c241c20
Merge remote-tracking branch 'origin/master' into s3-adaptive-single-part-upload
...
# Conflicts:
# src/Disks/S3/DiskS3.cpp
2020-12-14 11:00:30 +03:00
alexey-milovidov
5da9315ceb
Update readFloatText.h
2020-12-14 05:22:17 +03:00
alexey-milovidov
66b2424e33
Update readFloatText.h
2020-12-14 05:20:00 +03:00
alexey-milovidov
04e222f6f3
Merge pull request #17986 from azat/fwd-decl
...
More forward declaration for generic headers
2020-12-13 01:12:05 +03:00
alexey-milovidov
2eabd41749
Merge pull request #17659 from nautaa/master
...
add function to escape charaters for XML
2020-12-12 23:43:41 +03:00
Azat Khuzhin
5b3ab48861
More forward declaration for generic headers
...
The following headers are pretty generic, so use forward declaration as
much as possible:
- Context.h
- Settings.h
- ConnectionTimeouts.h
(Also this shows that some missing some includes -- this has been fixed)
And split ConnectionTimeouts.h into ConnectionTimeoutsContext.h (since
module part cannot be added for it, due to recursive build dependencies
that will be introduced)
Also remove Settings from the RemoteBlockInputStream/RemoteQueryExecutor
and just pass the context, since settings was passed only in speicifc
places, that can allow making a copy of Context (i.e. Copier).
Approx results (How much units will be recompiled after changing file X?):
- ConnectionTimeouts.h
- mainline: 100
- Context.h:
- mainline: ~800
- patched: 415
- Settings.h:
- mainline: 900-1K
- patched: 440 (most of them because of the Context.h)
2020-12-12 17:43:10 +03:00
Pavel Kovalenko
59a5e63417
Merge remote-tracking branch 'origin/master' into s3-adaptive-single-part-upload
...
# Conflicts:
# src/Disks/S3/DiskS3.cpp
# src/Disks/S3/DiskS3.h
# src/Disks/S3/registerDiskS3.cpp
# src/IO/WriteBufferFromS3.cpp
# src/IO/WriteBufferFromS3.h
2020-12-11 18:28:41 +03:00
Kruglov Pavel
6300cd285f
Merge pull request #17909 from Jokser/disk-s3-send-metadata
...
Ability to set metadata when put S3 object
2020-12-11 17:01:14 +03:00
nauta
00dc104025
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse
2020-12-11 16:15:40 +08:00
alexey-milovidov
f7d1441858
Update WriteHelpers.h
2020-12-11 00:09:52 +03:00
nikitamikhaylov
17310c6c50
fix-arcadia
2020-12-10 21:08:16 +03:00
Kruglov Pavel
9a785dbbf5
Merge branch 'master' into disk-s3-send-metadata
2020-12-10 20:17:41 +03:00
nikitamikhaylov
955033d6a1
done
2020-12-10 16:18:37 +03:00
Vladimir Chebotarev
39d867e56d
Added proper authentication for S3 client ( #16856 )
2020-12-10 12:19:42 +03:00
Nikolai Kochetov
0e44a22f43
Fixing build.
2020-12-09 19:17:59 +03:00
Nikolai Kochetov
32b38f389e
Merge branch 'master' into async-read-from-socket
2020-12-09 17:15:36 +03:00
Nikolai Kochetov
156f44808f
Fixing crash.
2020-12-09 17:11:45 +03:00
Pavel Kovalenko
db7a87089b
Adaptive choose of single/multi part upload in WriteBufferFromS3.
2020-12-09 17:09:04 +03:00
alexey-milovidov
e127636a4b
Merge pull request #16787 from kitaisreal/fast-float-integration
...
FastFloat library integration
2020-12-08 21:34:34 +03:00
Pavel Kovalenko
dfbb31174e
Ability to set metadata when put S3 object
2020-12-08 21:31:57 +03:00
alexey-milovidov
ab10cb4bf9
Merge pull request #17707 from ClickHouse/quota-by-x-forwarded-for
...
Allow quotas to be keyed by proxy-forwarded IP address; add support for PROXY protocol
2020-12-08 14:48:05 +03:00
Nikolai Kochetov
7d77a7ba24
Merge pull request #16952 from Enmk/DateTime64_fixes_comparison
...
Fixed comparison of DateTime64 with different scales
2020-12-08 12:40:41 +03:00
Maksim Kita
a9a6517291
Fixed style
2020-12-07 19:26:38 +03:00
Alexey Milovidov
1ed329017b
Merge branch 'master' into quota-by-x-forwarded-for
2020-12-07 18:22:19 +03:00
Maksim Kita
b0afa8488d
Updated parse float precise implementation
2020-12-07 17:23:02 +03:00
Maksim Kita
c3864d2fbf
Updated contrib CMakeLists
2020-12-07 14:08:19 +03:00
Maksim Kita
b6bfb1cf20
Use fast_float by default
2020-12-06 23:37:36 +03:00
Maksim Kita
5f410718ca
Fix marker check
2020-12-06 23:37:35 +03:00
Maksim Kita
ccbfd52315
Fixed compile issues
2020-12-06 23:37:35 +03:00
Maksim Kita
095137b9f7
FastFloat conditional replace precise parsing
2020-12-06 23:37:35 +03:00
Maksim Kita
87c50602bc
Fast float updated implementation
2020-12-06 23:37:35 +03:00
Maksim Kita
7d97f23db4
Fixed point
2020-12-06 23:37:35 +03:00
Maksim Kita
80d66b8868
FastFloat library integration
2020-12-06 23:37:35 +03:00
alexey-milovidov
878864602c
Merge pull request #17831 from kitaisreal/dragonbox-integration
...
DragonBox integration
2020-12-06 22:58:56 +03:00
alexey-milovidov
614420feb9
Merge pull request #17794 from excitoon-favorites/s3testiostream
...
Attempt to use IOStream in AWS SDK
2020-12-06 16:42:12 +03:00
nauta
8e615a1d8d
Merge remote-tracking branch 'upstream/master'
2020-12-06 20:48:47 +08:00
Maksim Kita
977da3d052
Removed ryu
2020-12-06 15:39:39 +03:00
Maksim Kita
64549702a2
DragonBox integration
2020-12-06 00:32:03 +03:00
Vladimir Chebotarev
a5e3d89649
Attempt to use IOStream in AWS SDK.
2020-12-04 13:37:08 +03:00
Ivan
6a48d25b74
Fix arcadian build ( #17781 )
2020-12-04 02:32:17 +03:00
alexey-milovidov
9d7667dada
Update ReadHelpers.h
2020-12-03 16:24:32 +03:00
Nikolai Kochetov
082a496364
Add async read to RemoteQueryExecutor
2020-12-03 15:21:10 +03:00
Alexey Milovidov
3e2447391b
Support for PROXY protocol
2020-12-03 00:05:51 +03:00
alexey-milovidov
85f4045160
Merge pull request #17144 from fibersel/issue-16791
...
introduce zstd compression (for data import/export)
2020-12-02 22:41:07 +03:00
Nikolai Kochetov
e3946bc2b5
Add async read to RemoteQueryExecutor.
2020-12-02 20:02:14 +03:00
nautaa
4cc56c2501
rename function name
2020-12-02 17:00:27 +08:00
nautaa
eb0c442763
add function to escape charaters for HTML
2020-12-01 16:32:09 +08:00
Vasily Nemkov
87945fb68b
Merge branch 'master' into HEAD
2020-11-30 23:25:57 +03:00
tavplubix
db3918d88d
Merge pull request #16861 from Jokser/disk-s3-proxy-tunnel-mode
...
Support HTTP proxy and HTTPS S3 endpoint configuration
2020-11-30 16:05:12 +03:00
a.palagashvili
1e71725143
fix typo
2020-11-29 16:02:04 +03:00
a.palagashvili
9c5640f443
merged
2020-11-29 15:19:19 +03:00
a.palagashvili
7a20fad305
added errors checking, removed redundant variables
2020-11-29 15:17:19 +03:00
a.palagashvili
502355922d
added errors checking, removed redundant variables
2020-11-29 15:14:42 +03:00
a.palagashvili
7b886252ac
added errors checking, removed redundant variables
2020-11-29 15:08:28 +03:00
Alexander Kuzmenkov
edce1e636e
Merge pull request #16535 from ClickHouse/aku/opentelemetry
...
OpenTelemetry improvements
2020-11-25 14:10:17 +03:00
Vitaly Baranov
08b3707842
Merge pull request #15111 from vitlibar/grpc-protocol
...
Implement GRPC protocol.
2020-11-25 09:00:32 +03:00
Alexander Kuzmenkov
1d7dcef4a0
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-24 21:45:10 +03:00
Alexander Kuzmenkov
8de415861f
Merge pull request #17206 from ClickHouse/aku/noescape
...
Remove escaping from toString(std::string)
2020-11-24 21:23:39 +03:00
Vitaly Baranov
93459d854b
Fix WriteBufferFromVector: restart() now resize empty container to initial_size
...
because WriteBufferFromVector can't operate with empty container.
2020-11-24 17:53:34 +03:00
alesapin
45f09fe293
Merge pull request #17220 from ianton-ru/s3_max_redirects
...
S3 max redirects
2020-11-24 12:13:10 +03:00
Alexander Kuzmenkov
951a59eff7
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-23 21:00:22 +03:00
Anton Ivashkin
aa208a9d9f
Use only 's3_max_redirect' in params instead of all settings
2020-11-23 14:02:17 +03:00
Vladimir Chebotarev
b3e2ebbaa5
Used global region for accessing S3 if can't determine exactly.
2020-11-23 08:19:38 +03:00
alexey-milovidov
203db68250
Update ZstdDeflatingWriteBuffer.cpp
2020-11-23 07:14:41 +03:00
alexey-milovidov
945aa009ad
Update ZstdDeflatingWriteBuffer.h
2020-11-23 07:13:02 +03:00
alexey-milovidov
d47cf8c919
Update ZstdInflatingReadBuffer.cpp
2020-11-23 07:11:52 +03:00
Alexey Milovidov
fbbf439338
Merge branch 'master' into Enmk-DateTime64_fixes_comparison
2020-11-23 05:46:17 +03:00
tavplubix
3e335c1e95
Merge pull request #17091 from zhang2014/fix/binlog_checksum
...
Fix MaterializeMySQL SYNC failure when modify binlog_checksum
2020-11-20 13:25:14 +03:00
Anton Ivashkin
a7d4f4be65
Add 's3_max_redirects' test
2020-11-20 11:18:44 +03:00
Alexander Kuzmenkov
7fa779c2ef
Remove escaping from toString(std::string)
...
This is just confusing, I'd expect it to be an identity. It looks
especially weird when you do something like `toString(Field("don't escape
me"))`. Let's see which tests are going to fail.
2020-11-19 18:26:44 +03:00
zhang2014
bed93ef713
Try fix review comment
2020-11-19 12:02:43 +08:00
Alexander Kuzmenkov
f2b3f5f8b6
Allow formatting named tuples as JSON objects
2020-11-18 13:38:30 +03:00
a.palagashvili
22f147ab0f
added newline, fixed initialization in constructor
2020-11-17 23:14:22 +03:00
Alexander Kuzmenkov
b16c5a1748
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-17 22:54:54 +03:00
a.palagashvili
b737a5ea9f
added newlines, fixed formatting
2020-11-17 21:36:18 +03:00
a.palagashvili
6f5390cc70
introduce zstd compression
2020-11-17 19:02:10 +03:00
zhang2014
cc0134f361
Try fix asan build
2020-11-17 23:29:02 +08:00
Alexey Milovidov
24f4fa6edf
Follow Arcadia ya.make rules
2020-11-17 00:16:50 +03:00
Alexey Milovidov
3df04ce0c2
Follow Arcadia ya.make rules
2020-11-16 21:24:58 +03:00
zhang2014
6ef93ac73c
Try fix MaterializeMySQL SYNC with modify binlog_checksum
2020-11-16 21:46:36 +08:00
Maksim Kita
437bbef5b9
Fix marker check
2020-11-15 13:07:23 +03:00
Maksim Kita
1b9c20a5df
ReadFloat 8digits unroll performance improvement
2020-11-15 13:07:23 +03:00
Anton Ivashkin
15b5d3a55a
Merge master
2020-11-13 19:32:35 +03:00
Anton Ivashkin
026f7e0a27
Add 's3_max_redirects' setting
2020-11-13 19:31:51 +03:00
Vasily Nemkov
eb9604ecd0
Fixed comparison of DateTime4 with different scales
...
Made DateTime64 a stand-alone type rather than typedef to allow function resolution/deduction based on type.
Added tests.
2020-11-12 23:32:16 +03:00
Nikolai Kochetov
75e78026de
Fty to fix ci
2020-11-12 13:03:10 +03:00
Nikolai Kochetov
85a4849756
Fty to fix ci
2020-11-12 12:21:33 +03:00
alexey-milovidov
34b2a460ba
Merge pull request #16578 from fibersel/issue-8828
...
add compression method for files: Xz
2020-11-12 02:58:52 +03:00
a.palagashvili
fe5800a27e
remove commented code
2020-11-12 02:12:51 +03:00
tavplubix
058aa8f85e
Merge pull request #16824 from ClickHouse/replace_stringstreams_with_buffers
...
Replace std::*stringstreams with DB::*Buffers
2020-11-12 01:11:44 +03:00
Alexander Tokmakov
dbac7860b1
review suggestions
2020-11-11 16:27:54 +03:00
a.palagashvili
1b06fd9373
regenerated ya.make
2020-11-11 15:57:35 +03:00
Pavel Kovalenko
e311759c5d
Abort multipart upload if no data was written to WriteBufferFromS3. ( #16840 )
2020-11-11 15:15:16 +03:00
Pavel Kovalenko
adfe966c46
Support HTTP proxy and HTTPS S3 endpoint configuration.
2020-11-11 12:30:32 +03:00
a.palagashvili
124ef2f5fa
added and successfully passed tests for content encoding and file() function, formatted code
2020-11-11 04:50:56 +03:00
Alexander Tokmakov
b94cc5c4e5
remove more stringstreams
2020-11-10 21:22:26 +03:00
Alexander Tokmakov
55631e442b
fix bug in WriteBufferFromVector
2020-11-10 14:43:22 +03:00
Alexander Kuzmenkov
55c7051330
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-10 08:50:54 +03:00
a.palagashvili
f999ea2a6f
renamed files, added new library, changed error codes, added tests for file() function
2020-11-10 01:52:22 +03:00
Alexander Tokmakov
5cdfcfb307
remove other stringstreams
2020-11-09 22:12:44 +03:00
a.palagashvili
6286775031
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into issue-8828
2020-11-09 19:53:20 +03:00
Alexander Tokmakov
62ff00ee8b
use WriteBuffer in formatAST(...)
2020-11-09 19:05:40 +03:00
Alexander Tokmakov
a06be511df
pcg serialization
2020-11-09 16:07:38 +03:00
Maksim Kita
240bbd2cd7
Removed fast path for parsing DateTime in Date format
2020-11-09 11:29:08 +03:00
Maksim Kita
02da9af32d
DateTime comparison with date string literal
2020-11-09 11:29:08 +03:00
Alexander Kuzmenkov
2fe9c76728
Merge remote-tracking branch 'origin/master' into HEAD
2020-11-09 09:37:50 +03:00
Alexey Milovidov
dba57529f8
Merge branch 'master' of github.com:yandex/ClickHouse into fix-stringstream
2020-11-07 22:03:38 +03:00
a.palagashvili
268f289bd1
resolved conflict
2020-11-07 16:36:38 +03:00
a.palagashvili
73e5d283aa
regenerated ya.make
2020-11-07 16:24:21 +03:00
Alexey Milovidov
fd84d16387
Fix "server failed to start" error
2020-11-07 03:14:53 +03:00
Alexey Milovidov
7b72894363
Simplified code
2020-11-06 23:23:08 +03:00
Alexey Milovidov
c35e7ec74e
Merge branch 'master' into https-sni
2020-11-06 21:44:26 +03:00
Alexey Milovidov
b56486510f
Improve Arcadia
2020-11-05 12:55:01 +03:00
a.palagashvili
87cc3546ca
fix codestyle
2020-11-04 19:39:26 +03:00
a.palagashvili
53a064b6e3
added eof initializing in constuctor
2020-11-04 15:45:37 +03:00
a.palagashvili
986d13df3a
replaced null with nullptr
2020-11-04 03:35:16 +03:00
a.palagashvili
f9cebbfa81
added newline for files
2020-11-04 02:47:39 +03:00
a.palagashvili
ba6fa5d828
fixed whitespaces, added hidden submodule file
2020-11-02 23:04:49 +03:00
a.palagashvili
2ad01c59da
fixed codestyle, added record to changelog
2020-11-02 16:17:25 +03:00
a.palagashvili
805bfd286c
resolved git modules
2020-11-02 15:16:49 +03:00
Alexey Milovidov
8a68ee2547
Whitespaces
2020-11-02 13:45:48 +03:00
a.palagashvili
495cd47fd8
fixed compressor testing, added base logic for compressor and decompressor, tests passing
2020-11-02 02:52:34 +03:00
a.palagashvili
be2b002ff4
fixed cmake for building, added test for compression method, added basic code for encoding
2020-11-01 21:40:05 +03:00
a.palagashvili
731e274cd0
changed moment of stream object initialization
2020-11-01 03:14:40 +03:00
a.palagashvili
c1abf5d13c
*added adapters' boilerplate for Lzma buffers, *added submodule to gitmodules, *added cmake for xz
2020-11-01 02:56:41 +03:00
alesapin
ae53092536
Merge branch 'master' into system_fetches_table
2020-10-31 18:45:17 +03:00
alexey-milovidov
15a342e5e1
Merge pull request #16541 from ucasFL/parse-null
...
fix parseDateTimeBestEffortOrNull with empty string
2020-10-31 06:38:51 +03:00
alexey-milovidov
83220b0956
Update parseDateTimeBestEffort.cpp
2020-10-30 16:00:49 +03:00
alesapin
be183027b3
Merge pull request #16516 from zlobober/remove_g0
...
Remove -g0 form Arcadia build settings.
2020-10-30 13:58:08 +03:00
Alexander Kuzmenkov
15317fcbd1
Merge remote-tracking branch 'origin/master' into HEAD
2020-10-30 13:34:20 +03:00
alesapin
b34960bffa
Merge branch 'master' into system_fetches_table
2020-10-30 11:33:37 +03:00
feng lv
f428675b6e
fix parseDateTimeBestEffortOrNull with empty string
2020-10-30 05:42:10 +00:00
Alexander Kuzmenkov
18fbb3dc23
some drafts
2020-10-30 00:29:10 +03:00
Pavel Kruglov
dbfef325e6
Rename NullSink to NullOutput
2020-10-29 20:22:48 +03:00
Maxim Akhmedov
3627fabfb9
Remove -g0 form Arcadia build settings.
2020-10-29 17:37:23 +03:00
alesapin
1c9e24b5e2
Merge branch 'master' into system_fetches_table
2020-10-28 10:20:04 +03:00
alesapin
e40c509392
More clear callback name
2020-10-27 16:00:40 +03:00
alesapin
db16942716
Better comment
2020-10-27 15:50:43 +03:00
alesapin
dca35b1913
Add awesome test for fetch
2020-10-27 15:24:10 +03:00
alesapin
880f4bbd05
System fetches
2020-10-26 19:38:35 +03:00
Maksim Kita
440ae2bc57
UUID safe cast functions added
...
1. Added readUUIDTextImpl, readUUIDText, tryReadUUIDText functions in
ReadHelpers.
2. Added toUUIDOrNull, toUUIDOrZero functions based on ReadHelpers read
implementations.
3. Updated documentation.
2020-10-25 11:45:29 +03:00
Alexey Milovidov
237384bad9
Fix "Arcadia"
2020-10-22 05:26:48 +03:00
Alexey Milovidov
eb0e3a83d0
Support SNI in https connections to remote resources
2020-10-22 05:02:26 +03:00
Vitaly Baranov
5f261cec3c
Merge pull request #15199 from filimonov/non_delimited_protobuf
...
ProtobufSingle format
2020-10-15 16:58:39 +03:00
alexey-milovidov
af7d70c9bb
Merge pull request #15646 from excitoon-favorites/betters3storageinitialization
...
Better initialization of S3 storage
2020-10-15 13:31:43 +03:00
Vitaly Baranov
997570780d
Merge branch 'master' into non_delimited_protobuf
2020-10-14 16:26:57 +03:00
alexey-milovidov
fc83bd1088
Merge branch 'master' into setting-date-time-output-format
2020-10-13 23:48:27 +03:00
alexey-milovidov
37c2a57202
Update WriteHelpers.h
2020-10-13 15:23:50 +03:00
Maksim Kita
adaae8a12c
Added OutputFormat setting date_time_output_format
2020-10-13 13:59:43 +03:00
Mikhail Filimonov
f6b00f2cb6
After CR fixes
2020-10-12 07:52:09 +02:00
Mikhail Filimonov
6df42c580b
ProtobufSingle output format
2020-10-12 07:51:45 +02:00
Alexey Milovidov
269b6383f5
Check for #pragma once in headers
2020-10-10 21:37:02 +03:00
alesapin
00f29e400f
Fix race condition in hdfs
2020-10-06 16:29:08 +03:00
Vladimir Chebotarev
d98366ed79
Better initialization of S3 storage.
2020-10-06 11:20:47 +03:00
Vladimir Chebotarev
0497ce4f9c
Possibly better fix.
2020-09-30 18:29:10 +03:00
Vladimir Chebotarev
b460024356
Fixed bug in GZIP compression in S3 storage.
2020-09-30 16:09:55 +03:00
Alexey Milovidov
78dbf10c7b
Fix exception safety in ShellCommand
2020-09-30 03:00:45 +03:00
Alexey Milovidov
2264622f69
Fix clang-tidy
2020-09-19 15:24:43 +03:00
Alexey Milovidov
eb260f6a89
Fix bad code
2020-09-19 13:43:26 +03:00
Alexey Milovidov
1238822785
Fix clang-tidy
2020-09-19 13:37:40 +03:00
Alexey Milovidov
ef5363b87f
Fix terribly wrong code
2020-09-19 02:05:13 +03:00
zhang2014
85e990f518
Fix code style
2020-09-16 11:30:14 +08:00
zhang2014
9100dcd37a
fix build and test failure
2020-09-16 11:13:17 +08:00
zhang2014
30352f096d
Init buffer in constructor
2020-09-15 22:59:21 +08:00
zhang2014
fb92c56beb
Fix bad and nice buffer size
2020-09-15 22:22:23 +08:00
zhang2014
84c68947b9
Add test for MySQLBinlogReadBuffer
2020-09-15 22:07:03 +08:00
zhang2014
c517df0b1a
Merge branch 'master' into fix/mysql_protocol_parser
2020-09-15 20:29:27 +08:00
zhang2014
106e05ab2f
Try fix mysql protocol parse failure
2020-09-15 20:28:42 +08:00
Artem Zuikov
51ba12c2c3
Try speedup build ( #14809 )
2020-09-15 12:55:57 +03:00
Artem Zuikov
d274125c74
Fix wide integer left shift + refactoring ( #14697 )
2020-09-14 14:56:43 +03:00
alexey-milovidov
cc3d1a3922
Merge pull request #14471 from ClickHouse/git-to-clickhouse
...
Added a script to import git repository to ClickHouse
2020-09-12 03:56:31 +03:00
Anton Popov
32135d96f9
Merge pull request #12183 from CurtizJ/polymorphic-parts-2
...
Support codecs in compact parts
2020-09-09 12:34:13 +03:00
Anton Popov
a419267dc6
minor fixes
2020-09-08 19:28:49 +03:00
Alexey Milovidov
e3924b8057
Fix "Arcadia"
2020-09-08 01:14:13 +03:00
Alexey Milovidov
83d2eafd12
Merge branch 'master' of github.com:yandex/ClickHouse into git-to-clickhouse
2020-09-07 03:19:44 +03:00
Artem Zuikov
7c20aa2c62
Another 256-bit integers (strict 32 bytes) ( #14229 )
2020-09-04 16:33:02 +03:00
Alexey Milovidov
23b9677879
Added a script to import git repository to ClickHouse
2020-09-04 08:46:58 +03:00
Artem Zuikov
d304d522cc
Refactoring: rename types to allow change bigint library ( #14219 )
2020-09-01 12:54:50 +03:00
Alexander Kuzmenkov
1a4fcf6650
Fix formatting of minimal negative decimal
2020-08-26 19:34:00 +03:00
Artem Zuikov
becc186c91
Add support for extended precision integers and decimals ( #13097 )
2020-08-19 14:52:17 +03:00
zhang2014
7ff62b090e
ISSUES-4006 try fix build and style failure
2020-08-14 09:59:59 +08:00
zhang2014
e3b78c5a31
ISSUES-4006 try fix build and style failure
2020-08-14 00:51:51 +08:00
zhang2014
57bf007b82
ISSUES-4006 add ya make
2020-08-13 20:51:29 +08:00
zhang2014
96bd3ac34b
ISSUES-4006 split mysql protocol
2020-08-13 20:41:36 +08:00
Vladimir Chebotarev
7371cf6bd1
Proper remote host checking in S3 redirects ( #13404 )
...
* Proper remote host checking in S3 redirects.
Co-authored-by: Alexander Kazakov <Akazz@users.noreply.github.com>
2020-08-11 09:09:08 +03:00
Vitaly Baranov
2e6ba2a05d
Merge pull request #13496 from vitlibar/compound-identifiers-for-custom-settings
...
Support compound identifiers for custom settings.
2020-08-10 01:03:02 +03:00
Vitaly Baranov
2c5a2b2f43
Add function isValidIdentifier().
2020-08-09 02:46:42 +03:00
Alexey Milovidov
edd89a8610
Fix half of typos
2020-08-08 03:47:03 +03:00
alexey-milovidov
7786fd4119
Merge pull request #13228 from ClickHouse/decimal-too-large-negative-exponent
...
Fix assert when decimal has too large negative exponent
2020-08-07 21:57:20 +03:00
Alexey Milovidov
f74f5cfa06
Attempt to fix "Unbundled" build
2020-08-07 14:18:41 +03:00
Alexey Milovidov
7094f5435c
Merge branch 'master' into decimal-too-large-negative-exponent
2020-08-07 04:23:59 +03:00
Alexey Milovidov
241017bc1f
Fix error in parseDateTimeBestEffort
2020-08-07 02:52:18 +03:00
Alexander Kuzmenkov
0eaab3d095
Merge pull request #13191 from ClickHouse/aku/semicolon-cleanup
...
Cleanup for #12999 . NFC
2020-08-05 14:53:27 +03:00
Alexander Kuzmenkov
e7744cc15c
Merge remote-tracking branch 'origin/master' into HEAD
2020-08-03 16:35:42 +03:00
alexey-milovidov
06d997cd38
Update readDecimalText.h
2020-08-03 04:48:05 +03:00
Alexey Milovidov
0fd7af8a63
Merge branch 'master' into stack-frams-size-limit
2020-08-03 00:06:00 +03:00
Alexey Milovidov
503694a84a
Fix error
2020-08-02 23:19:26 +03:00
Alexey Milovidov
8c1bc5e915
Merge branch 'master' into decimal-too-large-negative-exponent
2020-08-02 22:48:47 +03:00
Alexey Milovidov
0ce54187e1
Merge branch 'master' into decimal-too-large-negative-exponent
2020-08-02 22:48:26 +03:00
alexey-milovidov
b666c88c44
Merge pull request #13238 from ClickHouse/generate-ya-make
...
Normalize ya.make files, fix "Arcadia" build
2020-08-02 19:20:40 +03:00
Alexey Milovidov
41111d1e57
Merge branch 'master' into stack-frams-size-limit
2020-08-02 19:18:33 +03:00
alexey-milovidov
57d76da147
Merge pull request #13227 from ClickHouse/fix-logical-error-in-parse-date-time
...
Fix assert in parseDateTimeBestEffort
2020-08-02 17:30:55 +03:00
Alexey Milovidov
6f690b7c0d
Normalize ya.make files, fix "Arcadia" build
2020-08-02 16:57:38 +03:00
Alexey Milovidov
c8ed684a72
Fix assert when decimal has too large negative exponent
2020-08-02 05:35:44 +03:00
Alexey Milovidov
ace4533fae
Fix assert in parseDateTimeBestEffort
2020-08-02 05:05:47 +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
9e97aab3b3
Whitespace
2020-08-02 05:00:52 +03:00
Alexey Milovidov
d3c0635fc0
Merge branch 'master' into stack-frams-size-limit
2020-08-02 04:35:09 +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
07f3662f6d
Merge remote-tracking branch 'origin/master' into deprecate-special-zero-datetime
2020-07-31 23:49:06 +03:00
Vitaly Baranov
80a3caef1c
Allow using any types for custom fields.
2020-07-31 20:57:49 +03:00
Vitaly Baranov
300727afa3
Rework the StringField* classes and make conversion String => StringField* explicit.
2020-07-31 19:11:27 +03:00
Vitaly Baranov
cd372de417
Use SettingUInt64 only in Settings, use UInt64 in other places.
2020-07-31 19:11:27 +03:00
Alexander Kuzmenkov
efb09d7ff5
Cleanup for #12999 . NFC.
2020-07-31 17:53:41 +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
83c9d9ef45
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-31 00:17:04 +03:00
Nikita Mikhaylov
1d6c2ba689
rewrite other test + remove useless includes
2020-07-29 20:37:57 +03:00
Amos Bird
b30240efc0
formatRow function
2020-07-28 22:43:43 +08:00
Alexey Milovidov
50bbfc848d
Merge branch 'master' into stack-frams-size-limit
2020-07-21 14:45:15 +03:00
Vitaly Baranov
0b17595a91
Merge pull request #12423 from vitlibar/update-simdjson
...
Update simdjson
2020-07-20 10:15:38 +03:00
Vitaly Baranov
61e43c3ef9
Make conversion std::string_view => StringRef explicit.
2020-07-19 12:50:24 +03:00
Alexey Milovidov
e207acf19a
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-17 17:06:31 +03:00
alexey-milovidov
9fb40a3f7b
Merge pull request #12386 from fastio/master
...
COS (Tencent Cloud Object Storage) integration
2020-07-17 14:09:16 +03:00
alexey-milovidov
f3db2f3c3d
Update S3Common.cpp
2020-07-17 14:07:26 +03:00
Peng Jian
2fc58e8f10
Fix code sytle check & build check
2020-07-17 11:33:29 +08:00
Alexey Milovidov
7a8bd40c2c
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-16 03:21:21 +03:00
Alexander Kuzmenkov
f785837b1d
Merge pull request #12518 from ClickHouse/aku/android
...
Some provisions for Android build
2020-07-15 22:05:41 +03:00
alexey-milovidov
e7cf3f4e70
Merge pull request #12464 from ianton-ru/s3_profile_events
...
add profiling events from S3 request to system.events and system.quer…
2020-07-15 19:33:15 +03:00
Vladimir Chebotarev
ed4da4bec6
Separated AWSAuthV4Signer
into different logger, removed "AWSClient: AWSClient" ( #12320 )
2020-07-15 17:16:45 +03:00
Alexander Kuzmenkov
3e6b9f297f
Some provisions for Android build
2020-07-15 14:16:00 +03:00
Anton Ivashkin
fbd80e8d67
Fix codestyle
2020-07-15 14:15:12 +03:00
Anton Ivashkin
52fea6a5a3
Merge master
2020-07-14 15:56:38 +03:00
Anton Ivashkin
527d33aa2b
Fix gcc build, fix codestyle
2020-07-14 15:26:22 +03:00
alexey-milovidov
a45d9bba35
Merge pull request #12434 from excitoon-favorites/s3read
...
`min_bytes_for_seek` setting for `DiskS3`
2020-07-14 11:26:09 +03:00
Peng Jian
7579d65ebc
Registering StorageS3 and TableFunctionS3 under two different names (S3 and COSN).
2020-07-13 22:13:30 +08:00
Anton Ivashkin
26fca949bd
add profiling events from S3 request to system.events and system.query_log
2020-07-13 11:27:11 +03:00
Vladimir Chebotarev
820e95ae3c
Added comments.
2020-07-13 07:15:37 +03:00
Alexey Milovidov
74f5e36b03
Merge branch 'master' into deprecate-special-zero-datetime
2020-07-13 04:51:24 +03:00
Alexey Milovidov
5afe441324
Whitespaces
2020-07-13 03:45:42 +03:00
Vladimir Chebotarev
ffde5f137b
Minor fixes.
2020-07-13 03:27:51 +03:00
Vladimir Chebotarev
a479a20ba4
Review fixes.
2020-07-13 03:24:49 +03:00
Vladimir Chebotarev
4802a785b5
Added read_seek_threshold
setting to DiskS3.
2020-07-13 02:51:25 +03:00
Vladimir Chebotarev
67f9d8124b
Attempt to implement streaming optimization in DiskS3
.
2020-07-13 02:47:22 +03:00
Vladimir Chebotarev
718523b0ee
Working wrapper.
2020-07-13 02:47:22 +03:00
Alexey Milovidov
2249ecf6e8
Deprecate special printing of zero Date/DateTime
2020-07-12 23:10:04 +03:00
Alexey Milovidov
5ef8d49ebe
Fix typo
2020-07-12 23:02:51 +03:00
alexey-milovidov
26d32f2ce5
Merge pull request #12412 from Jokser/s3-https
...
S3 HTTPS integration tests
2020-07-12 03:36:37 +03:00
Pavel Kovalenko
d3fa78392e
Retrigger CI
2020-07-11 18:35:51 +03:00
Pavel Kovalenko
8b5f8c592f
Add comment regarding proxy tunnel usage in PocoHTTPClient.cpp
2020-07-11 15:43:30 +03:00
Pavel Kovalenko
f43428a4d5
S3 HTTPS integration test.
2020-07-10 22:42:18 +03:00
Peng Jian
958bb1f3aa
COS (Tencent Cloud Object Storage) integration
...
To allow import and export to COS.
2020-07-10 15:26:55 +08:00
Vladimir Chebotarev
faf6be6576
Implemented single part uploads for DiskS3 ( #12026 )
...
* Implemented single part uploads for DiskS3.
* Added `min_multi_part_upload_size` to disk configuration.
2020-07-09 17:09:17 +03:00
tavplubix
33c3545125
Merge pull request #12197 from nikitamikhaylov/csv-file-bugfix
...
Headers for CSVWithNames in StorageFile
2020-07-08 20:42:49 +03:00
Anton Ivashkin
78ba9c986f
throw exception on redirect limit in S3 request
2020-07-07 16:20:48 +03:00
Nikita Mikhaylov
270551e599
done
2020-07-07 14:45:20 +03:00
flynn
5816858403
add parseDateTimeBestEffortUS function ( #12028 )
...
* add function parseDateTimeBestEffortUS
* add test
* add doc
Co-authored-by: alexey-milovidov <milovidov@yandex-team.ru>
2020-07-05 21:09:20 +03:00
Vladimir Chebotarev
a541683efa
Moved useless S3 logging to TRACE level.
2020-07-01 01:04:30 +03:00
Alexander Kuzmenkov
d77f397b38
review fixes
2020-06-26 03:18:33 +03:00
Alexander Kuzmenkov
059a2704d0
Add CPU frequencies to system.asynchronous_metrics
2020-06-25 23:43:57 +03:00
alexey-milovidov
9de5db9025
Merge pull request #11856 from zhang2014/feature/uuid_without_separator
...
Support parse UUID without separator
2020-06-25 16:26:55 +03:00
zhang2014
c3a38e7f8c
apply review suggestions
2020-06-23 11:15:55 +08:00
Alexey Milovidov
1191679965
Fix wrong code
2020-06-23 00:54:19 +03:00
Alexey Milovidov
4ace4b4c75
Fix bugs in DateTime64 parsing
2020-06-22 23:54:36 +03:00
zhang2014
b820cfb3b6
fix read extra bytes when with separator
2020-06-22 21:30:55 +08:00
zhang2014
ee2ca536ff
try fix build failure
2020-06-22 20:01:54 +08:00
zhang2014
b3ef9a90e9
Support parse uuid without separator
2020-06-22 17:31:30 +08:00
alexey-milovidov
59d3e200ce
Merge pull request #11831 from ClickHouse/decimal-cut-extra-digits-after-point
...
Make reading of Decimal more compatible with other DBMS
2020-06-21 21:03:06 +03:00
Alexey Milovidov
814c1019b2
Fix build after merge
2020-06-21 14:41:06 +03:00
alexey-milovidov
4ee623ccac
Merge pull request #10242 from MovElb/movelb-postgresql-wire-protocol-impl
...
PostgreSQL wire protocol implementation
2020-06-21 14:39:22 +03:00
alexey-milovidov
f4a1872085
Update WriteHelpers.h
2020-06-21 14:32:54 +03:00
Alexey Milovidov
4b7d253c8a
Fix clang-static-analyzer
2020-06-21 13:51:51 +03:00
Alexey Milovidov
227afea032
Merge branch 'master' into decimal-cut-extra-digits-after-point
2020-06-21 13:50:06 +03:00
alexey-milovidov
c8eabd8cec
Merge pull request #11829 from ClickHouse/improve-error-message-decimal-cast
...
Improve error message for Decimal CAST
2020-06-21 00:24:03 +03:00
Alexey Milovidov
6111cbec7f
Trying to fix clang-static-analyzer
2020-06-20 20:10:16 +03:00
Alexey Milovidov
408fc241d6
Make reading of Decimal more compatible with other DBMS
2020-06-20 17:43:01 +03:00
Alexey Milovidov
7b2b726c17
Fix bad types
2020-06-20 17:00:38 +03:00
Alexey Milovidov
d9e7fe3735
Improve error message for Decimal CAST
2020-06-20 16:34:22 +03:00
Mikhail Filimonov
9609bd9dee
Kafka better states, formats based on PeekableReadBuffer, and other minor fixes.
...
Add formats tests, fixes for JSONCompactEachRowWithNamesAndTypes, TSVWithNamesAndTypes. Some CR fixes
Add sanitizing for kafka_max_block_size and kafka_poll_max_batch_size
2020-06-19 10:49:05 +02:00
Alexey Milovidov
cf0bd501e5
Remove harmful default values from code
2020-06-16 01:36:12 +03:00
Alexey Milovidov
186d336e31
Use proper timeouts when communicating with xdbc-bridge
2020-06-16 01:35:15 +03:00
Nikita Mikhaylov
9df693ced5
Merge pull request #11561 from Jokser/s3-http-client-memory-optimization
...
Avoid copying whole response stream into memory in S3 HTTP client.
2020-06-10 16:53:33 +04:00
Pavel Kovalenko
f623ef635b
Avoid copying whole response stream into memory in S3 HTTP client.
2020-06-09 18:26:51 +03:00
alesapin
a6feb81af1
Fix under msan
2020-06-09 18:11:11 +03:00
alesapin
981462db04
Remove dump flag from ReadBufferAIO
2020-06-09 18:01:34 +03:00
Alexey Milovidov
475af33319
Avoid too large stack frames
2020-06-08 20:35:45 +03:00
alexey-milovidov
e3c528e661
Merge pull request #11174 from excitoon-favorites/s3tests
...
Added tests for improved S3 URL parsing
2020-06-07 02:44:40 +03:00
alesapin
22235c1951
Tiny fixes for storage s3
2020-06-04 16:48:20 +03:00
Vladimir Chebotarev
423db7e39a
Added tests for improved S3 URL parsing.
2020-06-04 16:12:04 +03:00
Pervakov Grigorii
bc9381406f
Add default credentials and custom headers for s3 table functions.
2020-06-02 20:48:49 +03:00
Alexey Milovidov
7fa1366a4a
Fix build after merge #11230
2020-06-01 01:25:37 +03:00
alexey-milovidov
256f84ddc2
Merge pull request #11230 from Jokser/s3-poco-http-client
...
S3 Poco Http Client
2020-06-01 01:20:21 +03:00
Alexey Milovidov
25f941020b
Remove namespace pollution
2020-05-31 00:57:37 +03:00
Alexey Milovidov
5aff138956
Preparation for structured logging
2020-05-31 00:35:52 +03:00
MovElb
b4b5c90343
squash
2020-05-30 20:05:05 +03:00
Alexey Milovidov
b78c48310b
Whitespaces
2020-05-30 01:37:44 +03:00
Pavel Kovalenko
51be859b16
S3 Poco HTTP Client WIP (timeouts + proxy support).
2020-05-28 19:11:27 +03:00
Pavel Kovalenko
29a5804342
S3 Poco HTTP Client WIP (rewind buffer).
2020-05-28 12:46:31 +03:00
Pavel Kovalenko
677cb56a06
S3 Poco HTTP Client WIP.
2020-05-27 22:41:49 +03:00
Pavel Kovalenko
a2dccc778c
S3 Poco HTTP Client WIP (redirect support).
2020-05-27 19:56:17 +03:00
Pavel Kovalenko
2b07f69e57
S3 Poco HTTP Client WIP.
2020-05-27 18:02:25 +03:00
Alexey Milovidov
fb4089ab8e
Fix error
2020-05-27 00:48:29 +03:00
Alexey Milovidov
b2057159c1
Experiment on parsing backslash escapes in a more convenient way #10922
2020-05-26 17:24:20 +03:00
alexey-milovidov
bee5849c6a
Merge pull request #11137 from ClickHouse/logger-fmt
...
fmt-style logging, part 1
2020-05-25 01:38:14 +03:00
Alexey Milovidov
7fca4ce4d0
Added missing test @excitoon #11036
2020-05-24 13:44:03 +03:00
Alexey Milovidov
e3cd085230
Fix test (looks like it was incorrect)
2020-05-24 13:42:13 +03:00
Alexey Milovidov
7e1813825b
Return old names of macros
2020-05-24 01:24:01 +03:00
Alexey Milovidov
7c0c328a35
Progress on task
2020-05-24 00:05:47 +03:00
Alexey Milovidov
cd6d3c7509
Progress on task
2020-05-23 22:55:06 +03:00
Alexey Milovidov
eacff92d0e
Progress on task
2020-05-23 22:35:08 +03:00
Alexey Milovidov
86b4d5a86f
Remove duplicate whitespaces (preparation)
2020-05-23 22:09:06 +03:00
Alexey Milovidov
ab0562a574
Make all LOG in single line (preparation)
2020-05-23 22:05:41 +03:00
Alexey Milovidov
57f6dc66d3
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" \+ [^+]+ \+ "[^"]+" \+ [^+]+ \+ "[^"]+" \+ [^+]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" \+ ([^+]+) \+ "([^"]+)" \+ ([^+]+) \+ "([^"]+)" \+ ([^+]+)\);/\1_FORMATTED(\2, "\3{}\5{}\7{}", \4, \6, \8);/'
2020-05-23 20:11:09 +03:00
Alexey Milovidov
533f86278a
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+ << "[^"]+" << [^<]+ << "[^"]+"\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+) << "([^"]+)" << ([^<]+) << "([^"]+)"\);/\1_FORMATTED(\2, "\3{}\5{}\7", \4, \6);/'
2020-05-23 20:00:41 +03:00
Alexey Milovidov
ee4ffbc332
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+" << [^<]+\);' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+), "([^"]+)" << ([^<]+)\);/\1_FORMATTED(\2, "\3{}", \4);/'
2020-05-23 19:47:56 +03:00
Alexey Milovidov
8d2e80a5e2
find {base,src,programs} -name '*.h' -or -name '*.cpp' | xargs grep -l -P 'LOG_\w+\([^,]+, "[^"]+"\)' | xargs sed -i -r -e 's/(LOG_\w+)\(([^,]+, "[^"]+")\)/\1_FORMATTED(\2)/'
2020-05-23 19:42:39 +03:00
Alexey Milovidov
35d79e1252
fmt-style logging, part 1
2020-05-23 19:33:07 +03:00
alexey-milovidov
ac6deaf8ec
Merge pull request #11036 from excitoon-favorites/s3fixes
...
Fixed parsing of S3 URL
2020-05-23 17:06:59 +03:00
Vitaly Baranov
5a0f356cd6
Merge pull request #11038 from Enmk/parseDateTime64BestEffort_fix
...
Fixed parseDateTime64BestEffort implementation
2020-05-22 14:40:39 +03:00
Vladimir Chebotarev
98f31374d5
Added improved S3 URL parsing to DiskS3
.
2020-05-22 11:18:34 +03:00
Vladimir Chebotarev
02cb08ea2f
Fixed parsing of S3 URL.
2020-05-22 11:17:10 +03:00
Vasily Nemkov
403aae9126
Fixed parseDateTime64BestEffort implementation
...
Fixed argument resolution issues.
Added tests and made sure -orNull and -orZero variants alwo work correctly.
2020-05-21 17:21:39 +03:00
Azat Khuzhin
d93b9a57f6
Forward declaration for Context as much as possible.
...
Now after changing Context.h 488 modules will be recompiled instead of 582.
2020-05-21 01:53:18 +03:00
Azat Khuzhin
ec1aff245a
Add an assert() in case of write into a file after close
2020-05-16 01:13:15 +03:00
Ivan
85d783c247
Poco contrib refactoring ( #10396 )
...
* Remove config_common.h
* Refactor libcpuid contrib
* Remove support for libcpuinfo
* Define USE_CPUID in Arcadia
* Refactor Poco libraries
2020-05-08 17:11:19 +03:00
Alexey Milovidov
abe40e2127
Added required comment #10576
2020-05-03 01:34:50 +03:00
alexey-milovidov
a235533d5f
Merge pull request #10576 from Jokser/s3-with-dynamic-proxies
...
S3 with dynamic proxy configuration
2020-05-03 01:25:13 +03:00
alexey-milovidov
9011d18b80
Update S3Common.h
2020-05-03 01:25:02 +03:00
alexey-milovidov
342ed093de
Update S3Common.cpp
2020-05-02 23:46:39 +03:00
alexey-milovidov
250a44a47f
Merge pull request #10607 from Avogar/json_as_string_format
...
Add JSONAsStringRowInputFormat
2020-05-02 22:17:22 +03:00
Avogar
9670e74885
Update makeContinuousMemoryFromCheckpointToPos in PeekableReadBuffer.
2020-05-01 19:42:15 +03:00
Pavel Kovalenko
a1acbcb019
Code style fixes.
2020-04-29 11:45:13 +03:00
Pavel Kovalenko
2ecf4b5a23
Dynamic proxy configuration for DiskS3.
2020-04-29 11:40:29 +03:00
Alexander Tokmakov
53dcce55e9
better diagnostic info in input formats
2020-04-24 15:03:48 +03:00
alexey-milovidov
79d531af87
Merge pull request #10466 from ClickHouse/aku/arena-infinite-loop
...
Work around a bug leading to an infinite loop in addressToLine
2020-04-24 10:38:07 +03:00
Alexander Kuzmenkov
2bedc82c18
Work around a bug leading to an infinite loop in addressToLine.
...
Fixing this is hopeless and would entail rewriting the entire
WriteBuffer thing, and also this hack is something we can backport.
2020-04-24 02:42:04 +03:00
Alexey Milovidov
be22a4b94e
Checkpoint
2020-04-22 08:39:31 +03:00
alexey-milovidov
17e7d4d88a
Merge pull request #10307 from abyss7/arcadia-4
...
Changes for auto-sync with Arcadia
2020-04-17 05:08:34 +03:00
Ivan Lezhankin
e230632645
Changes required for auto-sync with Arcadia
2020-04-16 15:31:57 +03:00
Artem Zuikov
739daf3bbe
Merge branch 'master' into strange
2020-04-15 20:55:21 +03:00
Alexey Milovidov
738fef71f4
Allow to parse +inf #1839
2020-04-15 06:32:33 +03:00
Artem Zuikov
24f715ad87
tech debt
2020-04-14 17:43:09 +03:00
alexey-milovidov
3f1658c0e9
Update parseDateTimeBestEffort.cpp
2020-04-12 22:35:23 +03:00
Alexey Milovidov
142087c4f7
Fix "parseDateTimeBestEffort" for strings in RFC-2822 when day of week is Thuesday or Thursday #10082
2020-04-12 22:34:04 +03:00
Alexey Milovidov
8cb4dd275a
Remove default argument (harmful) #10082
2020-04-12 22:23:59 +03:00
Alexey Milovidov
d4a3ef2fdc
Fixed wrong code (no changes in behaviour)
2020-04-12 19:16:02 +03:00
Alexey Milovidov
39bbc1071b
Fix typo
2020-04-10 20:23:51 +03:00
Pavel Kovalenko
3603c98c81
Move gtest for S3 URI to proper folder.
2020-04-08 14:59:24 +03:00
Pavel Kovalenko
9b1c5c8b51
Fix regex for S3 URI to pass clang-tidy check.
2020-04-08 11:44:26 +03:00
alexey-milovidov
401c52524b
Merge pull request #9998 from Jokser/s3-uri-virtual-hosted-style-support
...
Virtual hosted-style support for S3 URI
2020-04-08 03:51:28 +03:00
alexey-milovidov
37fe63f8d8
Update S3Common.cpp
2020-04-08 03:49:09 +03:00
Alexander Kuzmenkov
385e8839dc
Quote expected strings in parse error messages
2020-04-07 17:15:14 +03:00
Ivan
f6b31f344d
Add cross-compile build for FreeBSD ( #9643 )
...
* Add toolchain to Docker image
2020-04-07 11:33:49 +03:00
Pavel Kovalenko
8c1dda0105
Merge remote-tracking branch 'jokser/s3-uri-virtual-hosted-style-support' into s3-uri-virtual-hosted-style-support
2020-04-06 12:59:59 +03:00
Pavel Kovalenko
f9c98dd689
Merge remote-tracking branch 'origin/master' into s3-uri-virtual-hosted-style-support
2020-04-06 12:57:53 +03:00
Ivan Lezhankin
06446b4f08
dbms/ → src/
2020-04-03 18:14:31 +03:00