Alexey Milovidov
ce5d63510f
Remove even more useless code
2021-12-24 12:25:27 +03:00
Alexey Milovidov
edb50b5844
Remove unused code
2021-12-24 12:25:27 +03:00
Alexey Milovidov
a96b4d50d6
Fix error
2021-12-24 12:25:27 +03:00
Alexey Milovidov
003ee51c6d
Fix buildId
2021-12-24 12:25:27 +03:00
Alexey Milovidov
ae61cf66b5
Fix resources
2021-12-24 12:25:27 +03:00
Alexey Milovidov
29d28c531f
Move code around to avoid dlsym on Musl
2021-12-24 12:25:27 +03:00
Alexey Milovidov
d6ece47b7f
Allow vfork
2021-12-24 12:25:27 +03:00
Kevin Michel
ffc1fca296
Start/stop servers when listen_host/*_port changes
...
This allows starting and stopping separately each protocol server
without restarting ClickHouse.
This also allows adding or removing `listen_host` entries, which
start and stops servers for all enabled ports.
When stopping a server, the listening socket is immediately closed
(and available for another server).
Protocols with persistent connections try to wait for any currently
running query to finish before closing the connection, but idle
connection are closed quickly (depending on how often the protocol
is polled).
An extra ProfileEvent is added, `MainConfigLoads`, it is
incremented every time the configuration is reloaded. This helps
when trying to assess whether the new configuration was applied.
2021-12-24 08:26:02 +01:00
Nikolay Degterinsky
52b18b0c56
Refactor
2021-12-23 14:10:12 +00:00
lgbo-ustc
5a9bd7fd41
fixe typos
2021-12-23 18:13:56 +08:00
lgbo-ustc
e25b1f7361
update comments
2021-12-23 18:05:52 +08:00
lgbo-ustc
fe4ef69fc7
remove unused header
2021-12-23 18:01:58 +08:00
lgbo-ustc
59bc87e409
remove unused errorcode
2021-12-23 17:53:19 +08:00
lgbo-ustc
9fdb061b7e
Add evict policy in LRUCache
2021-12-23 17:36:41 +08:00
lgbo-ustc
abe79fb1c2
move Exception in LRUCache::set()
2021-12-23 16:33:43 +08:00
lgbo-ustc
d29a4d0527
add trySet() in LRUCache
2021-12-23 16:16:33 +08:00
lgbo-ustc
f0b22d2882
fixed code-style
2021-12-23 15:15:39 +08:00
alexey-milovidov
12fb830181
Merge pull request #33061 from ClickHouse/merge-33024
...
Merge #33024
2021-12-23 07:50:11 +03:00
lgbo-ustc
c3736859ac
update some comments
2021-12-23 11:56:54 +08:00
lgbo-ustc
d205f9ecab
codes refactor
2021-12-23 11:50:26 +08:00
Alexey Milovidov
53c83e4813
Merge branch 'Issue77' of github.com:DevTeamBK/ClickHouse into merge-33025
2021-12-23 01:36:46 +03:00
Alexey Milovidov
3e059a095b
Corrections
2021-12-23 01:25:35 +03:00
Alexey Milovidov
ba77993943
Merge branch 'Issue20' of github.com:DevTeamBK/ClickHouse into merge-33024
2021-12-23 01:23:47 +03:00
Rajkumar
a75d3d1c83
Review comments
2021-12-22 13:39:45 -08:00
Rajkumar
afe9e6a325
Addressing review comment
2021-12-22 11:42:22 -08:00
Rajkumar
852889f995
Addressing review comment
2021-12-22 08:54:33 -08:00
Maksim Kita
5d4b0f8f1a
Merge pull request #33026 from ClickHouse/remove-old-code-config-processor
...
Remove obsolete code from ConfigProcessor.
2021-12-22 13:34:53 +03:00
lgbo-ustc
2d226e287a
update comment in LRUCache::set
2021-12-22 15:11:39 +08:00
Kseniia Sumarokova
484a4d62dd
Merge pull request #32835 from kssenii/fising-s3
...
Fix optimization with lazy seek for async reads from remote fs
2021-12-22 09:38:23 +03:00
Meena-Renganathan
91036e729c
Fixed the indentation
...
Signed-off-by: Meena-Renganathan <Meena.Renganathan@ibm.com>
2021-12-21 16:07:24 -08:00
Boris Kuschel
c452b3fad9
Modifed the code to handle the sysconf() fialure
...
Signed-off-by: Boris Kuschel <Boris.Kuschel@ibm.com>
2021-12-21 18:33:00 -05:00
Alexey Milovidov
088d14b885
Remove obsolete code from ConfigProcessor.
2021-12-22 02:13:31 +03:00
Boris Kuschel
68de95afc9
Native Format Parsing - Integer Overflow Resizing Arrays
...
Signed-off-by: Boris Kuschel <Boris.Kuschel@ibm.com>
2021-12-21 18:10:51 -05:00
taiyang-li
2597925724
merge master
2021-12-21 15:55:39 +08:00
lgbo-ustc
44c0f0e680
rewrite comments
2021-12-21 10:59:23 +08:00
lgbo-ustc
fb1214efeb
fixed code style
2021-12-21 10:56:57 +08:00
lgbo-ustc
eb9e9bd47a
fixed a bug
2021-12-21 10:50:25 +08:00
lgbo-ustc
2e2354be40
1. add tryDel and getOrTrySet in LRUCache
...
2. fixed bugs in LRUCache for evicting elements
2021-12-21 10:39:59 +08:00
lgbo-ustc
2c67516432
1. fixed code style
...
2. fixed bugs in lru cache
2021-12-21 09:44:04 +08:00
alexey-milovidov
04fb8aeaa5
Merge pull request #32946 from antonio2368/feature/hints-for-settings
...
Hints for invalid settings in query and HTTP requests
2021-12-21 00:52:42 +03:00
Maksim Kita
dd0d3de050
Merge pull request #32970 from kitaisreal/loops-remove-postfix-increment
...
Loops remove postfix increment
2021-12-20 19:51:07 +03:00
Antonio Andelic
bc52758e4d
Explicitly default move/copy constructors
2021-12-20 17:05:08 +01:00
Maksim Kita
51477adf1b
Updated additional cases
2021-12-20 15:55:07 +03:00
Azat Khuzhin
6aebc3e94c
Do not loose ProfileEvents in case of thread destroyed before
...
v2: drop std::move and add copy ctor for ProfileEvents::Counter::Snapshot
v2: remove std::move
2021-12-19 23:43:05 +03:00
Azat Khuzhin
909ce68b5a
Do not suppress exception in ThreadStatus::~ThreadStatus()
2021-12-19 23:43:05 +03:00
kssenii
ed42620530
Rename BlobStorage to AzureBlobStorage
2021-12-17 12:24:05 +03:00
taiyang-li
d033fc4c24
merge master and fix conflict
2021-12-17 15:11:21 +08:00
kssenii
ca283a4bb8
Fix optimization with lazy seek
2021-12-17 00:18:28 +03:00
mergify[bot]
cc3176d437
Merge branch 'master' into memory-overcommit
2021-12-16 12:44:50 +00:00
alesapin
2753fe01a3
Merge branch 'master' into fix_special_build_check
2021-12-15 10:35:28 +03:00
mergify[bot]
dfdf886976
Merge branch 'master' into memory-overcommit
2021-12-15 00:00:28 +00:00
Dmitry Novik
de432f9270
Fix possible NPE when thread_group is not set
2021-12-14 16:39:53 +03:00
alesapin
9974f10631
Fix clang tidy
2021-12-14 15:34:20 +03:00
lgbo-ustc
248e933fc4
Add test for local cache
2021-12-14 16:06:30 +08:00
Azat Khuzhin
a7dc6f309f
Remove SparseHashMap.h
...
It was added only for arcadia build, and used only in one place, no need
to have a separate typedef for it.
2021-12-14 10:07:14 +03:00
Azat Khuzhin
e16891713d
Fix sparse_hashed dict performance with sequential keys (wrong hash function)
...
In #27152 the hash function for sparse_hash_map had been changed to
std::hash<> switch it back to DefaultHash<> (ClickHouse builtin), since
std::hash<> for numeric keys returns itself and this does not works
great with sparse_hash_map.
I've tried the example from #32480 and using some hash fixes the
performance of sparse_hashed layout.
Fixes : #32480
v2: Add comments for SparseHashMap
2021-12-14 10:07:14 +03:00
taiyang-li
8234d1176f
merge master
2021-12-14 10:39:21 +08:00
Kseniia Sumarokova
78ed383f15
Merge pull request #31505 from ContentSquare/azure_blob_storage_dependency
...
Azure Blob Storage Disks
2021-12-13 18:28:48 +03:00
mergify[bot]
b81d600c1e
Merge branch 'master' into memory-overcommit
2021-12-12 23:01:56 +00:00
李扬
8675086104
Merge branch 'master' into hive_table
2021-12-12 09:01:46 -06:00
Jakub Kuklis
60dd22dd4e
Checking for success of file removal operation
2021-12-10 22:04:37 +01:00
Jakub Kuklis
43f420cba8
Adding a flag to use Azure Blob Storage
2021-12-10 22:04:36 +01:00
kssenii
f5a77fca39
Done
2021-12-09 14:44:25 +00:00
Nikolay Degterinsky
2b2ffcc8ea
Merge branch 'master' into classification
2021-12-09 11:22:01 +00:00
Nikita Mikhaylov
dbf5091016
Parallel reading from replicas ( #29279 )
2021-12-09 13:39:28 +03:00
Mikhail f. Shiryaev
03927f5fc6
Revert "graphite: split tagged/plain rollup rules (for merges perfomance)"
...
This reverts commit 303552f515
.
2021-12-08 15:49:21 +01:00
lgbo
38020a33e4
some refinement
2021-12-08 10:07:04 +08:00
Dmitry Novik
a956a468f7
Remove log entry with data race
2021-12-07 13:03:51 +03:00
mergify[bot]
907a042af3
Merge branch 'master' into memory-overcommit
2021-12-07 09:50:37 +00:00
Mikhail f. Shiryaev
5fc20b3e6a
Merge pull request #25122 from msaf1980/rollup_rules_type
...
GraphiteMergeTree Rollup rules type
2021-12-07 10:18:08 +01:00
lgbo-ustc
54cc65ede8
fixed code style
2021-12-07 17:12:26 +08:00
lgbo-ustc
fcea033a07
fixed code style
2021-12-07 12:17:47 +08:00
lgbo-ustc
0c1733817b
update LRUCache set()
2021-12-07 10:57:05 +08:00
mergify[bot]
600dcb749a
Merge branch 'master' into memory-overcommit
2021-12-07 00:40:20 +00:00
Dmitry Novik
366b105c27
Fix data race
2021-12-07 01:16:09 +03:00
Dmitry Novik
697ab52387
Add logs to GlobalOvercommitTracker
2021-12-07 01:06:00 +03:00
Dmitry Novik
12101d82aa
Fix overcommit ratio comparison and race condition
2021-12-06 21:34:52 +03:00
msaf1980
303552f515
graphite: split tagged/plain rollup rules (for merges perfomance)
2021-12-06 16:49:08 +01:00
lgbo-ustc
3c56a5deac
refector
...
1. Make the lru cache pilicy in RemoteReadBufferCache into Common/UnreleasableLRUCache.h
2. If try to use local cached file fail, the RemoteReadBuffer::create() return the original ReadBuffer
3. Remove LocalFileReader
4. RemoteCacheController does not hold a context now, and the download process starts in RemoteReadBufferCache
once a new RemoteCacheController is create successly
5. Make an abstract class RemoteFileMetaDataBase for descripting a remote file meta data.
6. Remote file meta data need to a version, can cache multi-version for a file now
2021-12-06 16:17:32 +08:00
Azat Khuzhin
abab7108e4
Fix QueryProfiler building under osx
...
Fixes : #32165
2021-12-04 09:19:34 +03:00
Azat Khuzhin
22a74dc68d
Make jemalloc under osx even more reliable
...
- explicitly call zone_register() again
- explicitly call malloc(free()) to initialize jemalloc()
2021-12-04 09:19:34 +03:00
Azat Khuzhin
0b2de32228
Fix QueryProfiler (query_profiler_{cpu,real}_time_period_ns) reset
...
Even after timer_delete() the signal can be fired.
Reproducer:
$ clickhouse-server & # with configured trace_log
$ clickhouse-benchmark -c2 --query 'select * from numbers(1e6)' --query_profiler_cpu_time_period_ns=1 &
...
2021.12.02 14:28:01.320288 [ 24885 ] {} <Debug> TCPHandler: Processed in 177.055205644 sec.
User defined signal 2
CI failures:
- https://s3.amazonaws.com/clickhouse-test-reports/32067/8dbc7a8dae17090a18778f29629d8746a1bb9b72/stateful_tests__debug__actions_.html
- https://s3.amazonaws.com/clickhouse-test-reports/32064/c07450a7dce363b7a4c5ca3ab0e833c25e3d46c0/stateful_tests__debug__actions_.html
Fix this by do not reset the signal back, and introduce a flag to ignore
signals after disabling the timer.
Fixes : #31740
2021-12-03 01:33:08 +03:00
taiyang-li
2f4e7e1d4e
merge master
2021-12-02 19:48:21 +08:00
Dmitry Novik
2ab4fc734d
Merge pull request #31740 from azat/fix-disabling-query-profiler
...
Fix disabling query profiler
2021-12-01 18:15:50 +03:00
alexey-milovidov
96ec92c7cd
Merge pull request #31155 from ClickHouse/incremental-profile-events
...
Send incremental profile events to client
2021-12-01 04:04:41 +03:00
Kseniia Sumarokova
3c348a2998
Merge pull request #8331 from Vxider/window-view
...
Support for Stream Processing
2021-11-30 18:20:12 +03:00
alexey-milovidov
e943be340a
Merge pull request #31566 from arenadata/ADQM-388
...
get Build ID via Section headers first
2021-11-30 05:52:11 +03:00
Kseniia Sumarokova
c7a8ad69c4
Merge pull request #31825 from azat/query_views_log-test
...
Cover query_views_log
2021-11-29 16:10:56 +03:00
taiyang-li
df68b5b1a1
Update ErrorCodes.cpp
...
remove blank
2021-11-29 10:46:47 +08:00
taiyang-li
d35e2a1c83
Merge branch 'master' into hive_table
2021-11-26 11:44:50 +08:00
Azat Khuzhin
ee0258e128
Add sanity check into ThreadStatus::disableProfiling()
2021-11-26 01:13:55 +03:00
Azat Khuzhin
2840405c8a
Fix typo in ThreadStatus::query_profiler_enabled
2021-11-26 01:13:55 +03:00
kssenii
223048d395
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-26 01:06:06 +03:00
Alexey Milovidov
85cec911be
Fix strange code in TypeList
2021-11-25 23:55:02 +03:00
taiyang-li
58c0357436
Update ErrorCodes.cpp
...
fix typo
2021-11-25 19:16:43 +08:00
Kruglov Pavel
f28130193a
Merge branch 'master' into fix-whole-text-serialization
2021-11-25 14:00:20 +03:00
taiyang-li
72f60cceb9
Merge branch 'master' into hive_table
2021-11-25 17:33:26 +08:00
Kseniia Sumarokova
93cf66df12
Merge pull request #30936 from kssenii/seekable-read-buffers
...
Reduce memory usage for some formats when reading with s3/url/hdfs
2021-11-25 11:19:24 +03:00
Alexey Milovidov
2373456866
Fix build
2021-11-25 04:18:54 +03:00
Azat Khuzhin
df67af0c88
Fix disabling query profiler
...
Before there was two incorrect checks:
- timer_id != nullptr, but first timer is 0x0 and the comparison does
not work
- previous_handler should also be reseted regardless it was nullptr or
not, plus it also incorrectly uses 'sigaction * previous_handler'
before.
Which leads to permanent query profiler enabled for particular thread,
this is especially visible if you have query profiler disabled and you
are running some query with profiler enabled, i.e.:
select 1 settings query_profiler_real_time_period_ns=1
After, QueryPipelineEx will eat lots of CPU due because of profiler.
2021-11-24 23:28:20 +03:00
Alexey Milovidov
21f112b30e
Merge branch 'better-crosscompiling-freebsd' into hermetic-builds
2021-11-24 22:43:30 +03:00
Alexey Milovidov
f1b8e2a2c8
Fix build
2021-11-24 22:43:12 +03:00
Alexey Milovidov
8e4c7fccc3
Fix build
2021-11-24 20:19:52 +03:00
Alexey Milovidov
438619389f
Fix build
2021-11-24 16:53:51 +03:00
mergify[bot]
2ab091a85b
Merge branch 'master' into fix-whole-text-serialization
2021-11-24 12:44:53 +00:00
Alexey Milovidov
ecf7822153
Fix build
2021-11-24 15:28:54 +03:00
alesapin
646cf38213
Merge pull request #28981 from JackyWoo/add_4_letter_words_commands
...
Add four letter commands to keeper
2021-11-24 13:32:36 +03:00
taiyang-li
89dcef69d5
merge master
2021-11-24 14:38:04 +08:00
Alexey Milovidov
e59e833cc6
Fix build
2021-11-24 03:11:22 +03:00
Ilya Golshtein
ae15126d20
just more verbose comment
2021-11-23 12:56:14 +00:00
Ilya Golshtein
e27ce34cf2
get Build ID via Section headers first
2021-11-23 12:56:14 +00:00
alexey-milovidov
341f705419
Merge pull request #30599 from ClickHouse/zlib-ng-own-cmake
...
Use our own CMakeLists for `zlib-ng`, `cassandra`, `mariadb-connector-c` and `xz`, `re2`, `sentry`, `gsasl`, `arrow`, `protobuf`.
2021-11-23 13:33:29 +03:00
tavplubix
7a43a87f5b
Use shard and replica name from Replicated
database arguments ( #31488 )
...
* fix another issue
* use shard and replica name from Replicated database
* fix
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-11-23 12:41:54 +03:00
lgbo
996d7125c0
Merge branch 'master' into hive_table
2021-11-23 10:19:02 +08:00
Vitaly Baranov
8eae84b8cf
Merge pull request #31607 from vitlibar/stop-reloading-all-configs-on-shutdown-early
...
Stop all periodic reloading of all the configuration files on shutdown earlier
2021-11-22 22:45:14 +03:00
alesapin
35de9e42d9
Merge branch 'master' into add_4_letter_words_commands
2021-11-22 18:02:02 +03:00
avogar
9bee988e16
Fix tests
2021-11-22 14:26:48 +03:00
Vitaly Baranov
2f8c829395
Stop all periodic reloading of all the configuration files on shutdown earlier.
2021-11-22 12:26:05 +03:00
taiyang-li
d22854e82b
add compile swiych USE_HIVE
2021-11-22 10:52:10 +08:00
Alexey Milovidov
c5fcef03c3
Remove trash
2021-11-21 18:12:05 +03:00
Alexey Milovidov
6246cec409
Fix build on AArch64
2021-11-21 14:30:04 +03:00
Alexander Tokmakov
856502fa81
log long operations in Keeper
2021-11-20 20:39:31 +03:00
kssenii
ff969b4605
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-20 15:03:13 +03:00
kssenii
29978f9707
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-20 12:13:39 +03:00
alesapin
3f8f08e816
Slightly better
2021-11-19 12:30:58 +03:00
taiyang-li
e8644807fe
merge master and solve conflict
2021-11-19 15:01:58 +08:00
kssenii
6a39d871b2
Merge branch 'master' of github.com:ClickHouse/ClickHouse into vxider-window-view
2021-11-18 17:29:11 +03:00
Nikolay Degterinsky
f2060d48ac
Merge branch 'master'
2021-11-17 22:23:41 +00:00
alesapin
45cd535839
Fix my own wrong command usage
2021-11-17 15:44:07 +03:00
alesapin
5f3eca4cd1
Merge branch 'master' into JackyWoo_add_4_letter_words_commands
2021-11-17 12:59:20 +03:00
alexey-milovidov
2a5c70c5f9
Merge pull request #31400 from ClickHouse/remove-thread-local-std-string
...
Remove thread_local std::string
2021-11-17 10:29:34 +03:00
Alexander Tokmakov
416a82b99a
Merge branch 'master' into check_dependencies_on_drop
2021-11-15 13:35:45 +03:00
kssenii
f4ffedd5f3
Better
2021-11-15 10:23:35 +03:00
Alexey Milovidov
bd684f02f2
Fix clang-tidy
2021-11-14 04:57:59 +03:00
Alexey Milovidov
1e4e36ff2d
Remove thread_local std::string
2021-11-14 02:43:17 +03:00
kssenii
f18dcd2287
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-13 14:38:57 +03:00
Tomáš Hromada
445b0ba7cc
Expose all GlobalThreadPool config params ( #31285 )
2021-11-12 16:24:47 +03:00
JackyWoo
a2f3337ca1
code style change
2021-11-12 20:48:42 +08:00
alexey-milovidov
b1f177e2ae
Merge pull request #31309 from Civil/riscv
...
Initial support for risc-v
2021-11-12 03:41:57 +03:00
Kseniia Sumarokova
2313981fd7
Merge pull request #31260 from azat/external-cleanup
...
Cleanup extern ProfileEvents/CurrentMetrics and add a style check
2021-11-12 00:02:57 +03:00
Vladimir Smirnov
48451182f8
Initial support for risc-v
...
Make ClickHouse compilable and runnable on risc-v 64
So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.
What doesn't work:
1. traces - they are always empty
2. system.stack_trace only have first frame
2021-11-11 19:23:34 +01:00
Kseniia Sumarokova
e20cb0c10a
Merge branch 'master' into retriable-http
2021-11-11 11:52:06 +03:00
taiyang-li
af78116c3f
Merge branch 'master' into hive_table
2021-11-11 11:52:28 +08:00
cms
bc6616d8be
improve error message while using OFFSET FETCH clause without ORDER BY
2021-11-11 08:20:21 +08:00
kssenii
62c70ce5cf
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-11-10 21:16:11 +00:00
Azat Khuzhin
f9428450cd
Fix OpenedFileCacheHits/OpenedFileCacheMisses
2021-11-10 21:15:27 +03:00
Azat Khuzhin
baf14444e6
Cleanup ProfileEvents and CurrentMetrics
2021-11-10 21:15:27 +03:00
Vitaly Baranov
1579bcfd20
Merge pull request #31178 from vitlibar/backup-engines-and-improvements
...
Backup engines and improvements
2021-11-10 18:20:41 +03:00
taiyang-li
26988ab757
Merge branch 'master' into hive_table
2021-11-10 11:01:03 +08:00
alexey-milovidov
7006147268
Merge pull request #31159 from snar/freebsd-disk-space
...
correct disk space calculations
2021-11-10 02:48:29 +03:00
Vitaly Baranov
8a93001245
Switch to XML format for backup's metadata.
2021-11-09 23:16:45 +03:00
Vitaly Baranov
cf77c0b3fc
New syntax for BACKUP/RESTORE: set backup engine explicitly.
2021-11-09 23:16:40 +03:00
alesapin
d4cb8dad94
Merge pull request #31175 from ClickHouse/add_unit_tests
...
Add unit tests to CI
2021-11-09 20:18:35 +03:00
Dmitry Novik
cbe6d89c69
Fix typos
2021-11-09 16:40:23 +03:00
Dmitry Novik
87960c3f3d
Fix division by zero
2021-11-09 16:02:36 +03:00
Dmitry Novik
32904701f9
Fix OvercommitTracker when soft limit is not set
2021-11-09 16:02:36 +03:00
Dmitry Novik
9c7e6c7814
Use per user soft limit in GlobalOvercommitTracker
2021-11-09 16:02:36 +03:00
Dmitry Novik
9464dc2fd3
Add waiting timeout
2021-11-09 16:02:36 +03:00
Dmitry Novik
0816dedaea
Introduce memory overcommit
2021-11-09 16:02:36 +03:00
alesapin
b91b90d639
Fix test local address
2021-11-09 16:02:17 +03:00
Dmitry Novik
406bb4d997
Merge pull request #28965 from nicelulu/issues_28774
...
128bit hash-functions accepting arbitrary list of arguments
2021-11-09 14:40:25 +03:00
Alexandre Snarskii
c36c64a9a0
more corrections for disk size calculations
2021-11-09 12:28:59 +03:00
taiyang-li
54ac5486ca
fix build error
2021-11-09 17:14:53 +08:00
Dmitry Novik
f5a92c6f0b
cleanup code
2021-11-08 23:47:57 +03:00
Dmitry Novik
a093395b9b
Process incremental profile events on client
2021-11-08 16:38:31 +03:00
Dmitry Novik
8708e00b3a
Send incremental profile events to client
2021-11-08 12:40:31 +03:00
taiyang-li
36ca0b296b
implement hive table engine
2021-11-05 19:55:30 +08:00
kssenii
4bc2a29345
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-11-04 14:41:24 +00:00
Azat Khuzhin
7769d75088
Log size of remapped memory (remap_executable)
2021-11-04 00:19:00 +03:00
kssenii
ec11179f91
Merge branch 'master' of github.com:ClickHouse/ClickHouse into seekable-read-buffers
2021-11-03 14:33:31 +03:00
kssenii
45ea820297
Reduce memory usage for some formats
2021-11-03 14:30:03 +03:00
Kruglov Pavel
2f950ee138
Merge pull request #30927 from CurtizJ/with-fill-interval
...
Support `INTERVAL` type in `STEP` clause for `WITH FILL` modifier
2021-11-03 11:23:21 +03:00
Alexander Tokmakov
56aeff734a
Merge branch 'master' into check_dependencies_on_drop
2021-11-02 16:15:30 +03:00
Kruglov Pavel
9a1275cb10
Merge pull request #30178 from Avogar/tsv-csv
...
Refactor and improve TSV, CSV, JSONCompactEachRow, RowBinary formats. Fix bugs in formats
2021-11-02 00:38:30 +03:00
Alexander Tokmakov
2b566c5bdf
basic check for dependencies on drop table
2021-11-01 22:20:18 +03:00
Vitaly Baranov
a1f29d31ea
Support BACKUP & RESTORE for log family.
2021-11-01 12:07:17 +03:00
alexey-milovidov
e879c510b8
Merge pull request #30917 from ClickHouse/miscellaneous
...
Miscellaneous
2021-11-01 00:44:16 +03:00
Anton Popov
aff2711f1a
support INTERVAL type in WITH FILL
2021-10-31 19:42:43 +03:00
Vitaly Baranov
d29b73e301
Merge pull request #30689 from vitlibar/refactor-log-family
...
Refactoring of Log family
2021-10-31 18:50:08 +03:00
Alexey Milovidov
993f3faefd
Miscellaneous
2021-10-31 18:11:46 +03:00
kssenii
2940d9fd19
Squashed commit of the following:
...
commit a1acc7ed3485bd158cf42f26b2d2a1bca84b7269
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Sun Oct 31 14:47:25 2021 +0000
Fix
commit 12a27d445b
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 29 09:24:53 2021 +0000
Adjutments after merge with master
commit f17e321a73
Merge: 55f1ba857d
11b70a285c
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 29 08:03:25 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 55f1ba857d
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 29 07:38:42 2021 +0000
Small fixes
commit aeba8104d1
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Thu Oct 28 10:28:05 2021 +0000
Some more fixes
commit 82f3754b8a
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Wed Oct 27 20:20:15 2021 +0000
Slightly better
commit 2647b88a66
Merge: 7024f51b55
2bb586bed3
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Wed Oct 27 19:38:19 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 7024f51b55
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Wed Oct 27 18:30:25 2021 +0000
Review fixes and add test
commit 7de5fca075
Merge: 1ecb6ad05d
855b10261c
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Sun Oct 24 17:04:24 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 1ecb6ad05d
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Sat Oct 23 18:53:59 2021 +0000
Better
commit 710ee96878
Merge: 28d2485716
158b4c26b7
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Mon Oct 18 08:31:25 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 28d2485716
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 15 17:27:26 2021 +0000
Some fixes
commit 7c20ca07b7
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 15 12:59:24 2021 +0000
Fix style check
commit ccb02cac56
Merge: 9e4fe0f3c8
d1138a8a25
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Fri Oct 15 12:36:30 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 9e4fe0f3c8
Merge: 9814cb1b45
daed77038b
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 09:58:15 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 9814cb1b45
Merge: 1c8b1b1133
969999ff10
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 09:49:08 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
commit 1c8b1b1133
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 09:33:07 2021 +0000
Better
commit e7dbfff5d2
Merge: 3329b668d6
198adc7ecd
Author: kssenii <sumarokovakseniia@mail.ru>
Date: Tue Oct 12 06:19:15 2021 +0000
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-31 17:53:08 +03:00
alexey-milovidov
b18e5fcfe4
Merge branch 'master' into issues_28774
2021-10-31 15:07:26 +03:00
mergify[bot]
1102b1dcef
Merge branch 'master' into tsv-csv
2021-10-31 12:03:24 +00:00
alexey-milovidov
15b9d65221
Merge pull request #30662 from azat/conf-clickhouse
...
Switch everything left from `<yandex>` to `<clickhouse>`
2021-10-31 14:56:51 +03:00
Vitaly Baranov
0e8c9b089f
Keep indices for StorageStripeLog in memory.
2021-10-31 03:52:41 +03:00
Vitaly Baranov
42596b16bc
Make StorageLog.cpp to implement both Log and TinyLog engines.
...
Refactoring of implementation of the Log family.
2021-10-31 03:52:36 +03:00
Maksim Kita
2e3ff53725
Merge pull request #30708 from ClickHouse/revert-30707-revert-30673-improve-usability-remote-host-filter
...
Revert "Revert "Improve usability of `remote_url_allow_hosts`""
2021-10-30 15:55:24 +03:00
Kruglov Pavel
7d4f211d5b
Merge branch 'master' into tsv-csv
2021-10-29 16:38:06 +03:00
kssenii
f17e321a73
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-29 08:03:25 +00:00
mergify[bot]
65df198e9b
Merge branch 'master' into conf-clickhouse
2021-10-28 22:19:42 +00:00
kssenii
7e2ea97e3c
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-28 18:46:21 +03:00
Maksim Kita
a8ef6cc3b6
Merge pull request #30734 from kitaisreal/sql-user-defined-functions-on-cluster-support
...
SQLUserDefinedFunctions support ON CLUSTER
2021-10-28 18:08:38 +03:00
Alexey Milovidov
8b4a6a2416
Remove cruft
2021-10-28 02:10:39 +03:00
kssenii
9461e225bb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-27 22:47:47 +03:00
kssenii
2647b88a66
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-27 19:38:19 +00:00
Maksim Kita
d6c0cde173
Updated UserDefinedSQLFunctionFactory
2021-10-27 18:49:18 +03:00
Kruglov Pavel
0715566cc0
Merge branch 'master' into tsv-csv
2021-10-27 17:52:49 +03:00
JackyWoo
e5b0eedd31
adjust code style for keeper 4lw cmd
2021-10-27 22:26:53 +08:00
JackyWoo
a60663e33d
add 4lw commands to keeper
2021-10-27 20:26:42 +08:00
alexey-milovidov
9f9b4968d7
Merge pull request #30663 from ClickHouse/fix_five_years_old_bug
...
Fix case-insensetive search in UTF8 strings
2021-10-27 12:10:12 +03:00
alesapin
8749f4a31a
Merge pull request #29043 from nvartolomei/nv/parts-uuid-move-shard-kill
...
Part movements between shards improvements and cancel support
2021-10-27 10:46:00 +03:00
Nikolai Kochetov
0f30513652
Revert "Revert "Improve usability of remote_url_allow_hosts
""
2021-10-26 20:17:02 +03:00
Nikolai Kochetov
403ff98baa
Revert "Improve usability of remote_url_allow_hosts
"
2021-10-26 20:15:29 +03:00
Maksim Kita
b58f819789
Merge pull request #30667 from kitaisreal/compiled-expression-cache-limit-elements-size
...
CompiledExpressionCache limit elements size
2021-10-26 16:43:49 +03:00
alexey-milovidov
329437abca
Merge pull request #30674 from ClickHouse/fix-indecency
...
Fix indecency #30337
2021-10-26 14:24:18 +03:00
mergify[bot]
ce88a84e88
Merge branch 'master' into nv/parts-uuid-move-shard-kill
2021-10-26 11:09:19 +00:00
Alexander Tokmakov
a1cab43feb
fix five years old bug in StingSearcher
2021-10-26 13:32:07 +03:00
Maksim Kita
dbf4811029
Updated documentation
2021-10-26 13:00:42 +03:00
Alexey Milovidov
da3e13b730
Fix indecency #30337
2021-10-26 10:00:19 +03:00
Alexey Milovidov
97bcceca44
Improve usability of remote_url_allow_hosts
2021-10-26 09:49:12 +03:00
alexey-milovidov
5434f1d149
Merge pull request #30337 from ClickHouse/fix-memory-indication
...
Fix consumed memory indication in clickhouse-client
2021-10-26 09:48:03 +03:00
Azat Khuzhin
3a6f876abc
gtest_getMultipleValuesFromConfig: switch <yandex> to <clickhouse>
2021-10-26 08:53:00 +03:00
Maksim Kita
3810baf44c
CompiledExpressionCache limit elements size
2021-10-26 00:00:57 +03:00
Azat Khuzhin
f41cf281e4
Add QueryProfilerRuns profile event
...
This will help to investigate query latency spikes.
2021-10-25 21:14:16 +03:00
Dmitry Novik
8e680b068a
Add comment with fix explanation
2021-10-25 16:53:23 +03:00
kssenii
52296e8b04
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-25 00:22:32 +03:00
kssenii
7de5fca075
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-24 17:04:24 +00:00
Kseniia Sumarokova
7383bdd5fa
Merge pull request #25969 from ucasfl/filelog-engine
...
Implementation of a table engine to consume application log files in ClickHouse
2021-10-24 10:14:05 +03:00
Azat Khuzhin
b73092c169
Fix tests that relies on checking stack size under TSan
...
Under TSan using too much stack requires too much RSS for shadow memory,
and neither of this TSAN_OPTIONS helps:
- history_size=2
- flush_memory_ms=2000
- memory_limit_mb=50000
So instead, decrease allowed limit of the stack size in checkStackSize()
under TSan, to address exessive memory usage for the server compiled
with TSan.
Note, that before this patch 01763_max_distributed_depth test can
increase RSS of the server to 70GiB.
2021-10-23 14:09:19 +03:00
kssenii
39b9e9c258
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-22 15:40:41 +03:00
feng lv
6565e1d4b2
fix conflict
2021-10-20 15:22:16 +00:00
Maksim Kita
a9ac7fb394
Merge pull request #30451 from kitaisreal/executable-udf-clickhouse-example
...
ExecutableUDF example fix style check
2021-10-20 15:33:32 +03:00
Maksim Kita
ac358d08a6
Fix style check
2021-10-20 15:33:20 +03:00
mergify[bot]
0a4360c43e
Merge branch 'master' into tsv-csv
2021-10-20 11:57:06 +00:00
avogar
7007286088
Fix WithNamesAndTypes parallel parsing, add new tests, small refactoring
2021-10-20 14:48:54 +03:00
Maksim Kita
b8407e53ed
Merge pull request #30436 from kitaisreal/executable-udf-clickhouse-example
...
ExecutableUDF example
2021-10-20 12:58:50 +03:00
Maksim Kita
3496cd1bfe
ExecutableUDF example
2021-10-20 12:53:03 +03:00
Kseniia Sumarokova
c692155c7e
Merge pull request #30309 from kssenii/fix-file-symlinks
...
Fix symlinks in file table function
2021-10-20 11:09:51 +03:00
kssenii
31cd71c849
Clean up
2021-10-20 09:37:18 +03:00
feng lv
05fd6f7caf
fix comflict
2021-10-19 12:50:22 +00:00
Kruglov Pavel
1e2ceeb2e7
Merge pull request #29291 from Avogar/capnproto
...
Add CapnProto output format, refactor CapnProto input format
2021-10-19 11:54:55 +03:00
Dmitry Novik
e9f3cf6651
Fix used memory calculation
2021-10-18 17:49:26 +03:00
kssenii
710ee96878
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-18 08:31:25 +00:00
feng lv
1e3df5780c
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-18 07:33:11 +00:00
Azat Khuzhin
6d4af3bac1
Move SquashingTransform to Interpreters (to fix split build)
...
clickhouse_common_io requires clickhouse_core:
ld.lld: error: undefined symbol: DB::blocksHaveEqualStructure(DB::Block const&, DB::Block const&)
>>> referenced by SquashingTransform.cpp:92 (/src/ch/clickhouse/src/Common/SquashingTransform.cpp:92)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/SquashingTransform.cpp.o:(void DB::SquashingTransform::append<DB::Block&&>(DB::Block&&))
>>> referenced by SquashingTransform.cpp:92 (/src/ch/clickhouse/src/Common/SquashingTransform.cpp:92)
>>> src/CMakeFiles/clickhouse_common_io.dir/Common/SquashingTransform.cpp.o:(void DB::SquashingTransform::append<DB::Block const&>(DB::Block const&))
while clickhouse_core requires clickhouse_common_io:
"clickhouse_core" of type SHARED_LIBRARY
depends on "roaring" (weak)
depends on "clickhouse_common_io" (weak)
depends on "clickhouse_common_config" (weak)
depends on "clickhouse_common_zookeeper" (weak)
depends on "clickhouse_dictionaries_embedded" (weak)
depends on "clickhouse_parsers" (weak)
Follow-up for: #30247 (cc @KochetovNicolai)
2021-10-18 10:28:36 +03:00
feng lv
9378b93e41
fix
2021-10-17 14:49:27 +00:00
Kseniia Sumarokova
07b44713b6
Ping CI
2021-10-17 13:45:32 +03:00
Kseniia Sumarokova
cd22ca6167
Update filesystemHelpers.h
2021-10-17 13:13:47 +03:00
kssenii
059fc1de69
Allow symlinks in file storage
2021-10-17 09:11:06 +00:00
Nikolai Kochetov
bfcbf5abe0
Merge branch 'master' into removing-data-streams-folder
2021-10-17 10:42:37 +03:00
alexey-milovidov
e9af03ef52
Merge pull request #30248 from ClickHouse/musl-4
...
Preparation to build with Musl
2021-10-16 18:44:35 +03:00
kssenii
4a0bdd296d
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-16 18:35:48 +03:00
Nikolai Kochetov
067eaadadd
Merge branch 'master' into removing-data-streams-folder
2021-10-16 09:46:05 +03:00
feng lv
8b7721ae6f
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into filelog-engine
2021-10-16 05:14:11 +00:00
Alexey Milovidov
41acc52458
Preparation to build with Musl
2021-10-16 00:17:34 +03:00
Nikolai Kochetov
fd14faeae2
Remove DataStreams folder.
2021-10-15 23:18:20 +03:00
alexey-milovidov
50b54b37ca
Merge pull request #30072 from ClickHouse/client-profile-msg
...
Fix hardware utilization info printing in client
2021-10-15 23:05:43 +03:00
kssenii
28d2485716
Some fixes
2021-10-15 17:27:26 +00:00
kssenii
ccb02cac56
Merge branch 'master' of https://github.com/ClickHouse/ClickHouse into retriable-http
2021-10-15 12:36:30 +00:00
kssenii
881ae8617e
Merge branch 'master' of github.com:ClickHouse/ClickHouse into disk-async-read
2021-10-15 15:09:56 +03:00