Alexey Milovidov
ac9f01079a
Merge pull request #56722 from ClickHouse/remove-orphan-headers
...
Remove orphan header files
2023-11-14 12:03:10 +01:00
Robert Schulze
daa60acb19
Bug: #56673
2023-11-14 11:03:00 +00:00
Kseniia Sumarokova
0676c09d72
Merge branch 'master' into remove-unused-code
2023-11-14 11:59:53 +01:00
vdimir
3b73780bf6
Calculate sets from (array) joined actions
2023-11-14 10:35:43 +00:00
Robert Schulze
afb5c3e810
Some fixups (mostly for consistency)
...
- Made the exception texts consistent accross codecs
- Slightly less noisy comments in C++ code
- Remove unlikely() because it did not make a difference considering the
total function costs
- Consolidated tests into existing test, delete leftover
02869_gcd_codec_test_incorrect_type test (it was consolidated into
02872_gcd_codec long time ago)
2023-11-14 10:29:20 +00:00
Nikita Mikhaylov
40df5b8a74
Update CompressionCodecGCD.cpp
2023-11-14 10:28:28 +00:00
Nikita Mikhaylov
a80f8082db
Update CompressionCodecGCD.cpp
2023-11-14 10:28:25 +00:00
Nikita Mikhaylov
71f4f7519b
Update CompressionCodecGCD.cpp
2023-11-14 10:28:21 +00:00
Nikita Mikhaylov
a7f8171d3e
Update CompressionCodecGCD.cpp
2023-11-14 10:28:15 +00:00
Nikita Mikhaylov
0ae79f6d18
Fix crash
2023-11-14 10:28:12 +00:00
Robert Schulze
2931bbfe62
Merge pull request #56665 from rschu1ze/refactor-ast-hash-calculation
...
Small refactoring of AST hash calculation (follow-up to #56545 )
2023-11-14 11:24:30 +01:00
Antonio Andelic
2f505786e2
Merge branch 'more-reliable-log-handling-keeper' into disable-compress-logs-default
2023-11-14 09:46:19 +00:00
Antonio Andelic
1ab7e5693d
Add unit test
2023-11-14 09:43:09 +00:00
Alexander Gololobov
80ca41f18d
Merge pull request #56420 from ClickHouse/system_replicas_with_many_tables
...
Optimizations for system.replicas with many tables
2023-11-14 10:23:48 +01:00
Antonio Andelic
3f5ccabba6
Don't append different log types in same file
2023-11-14 09:07:42 +00:00
Antonio Andelic
5849e06595
Fix
2023-11-14 09:07:17 +00:00
Antonio Andelic
8d27920987
Merge branch 'master' into more-reliable-log-handling-keeper
2023-11-14 08:38:07 +00:00
Alexey Milovidov
e32f6e5556
Merge branch 'master' into remove-orphan-headers
2023-11-14 09:23:19 +01:00
Alexey Milovidov
9bf62dd622
Remove orphan header files
2023-11-14 07:43:11 +01:00
Alexey Milovidov
cb74f52c5c
Make autogenerated file as light as possible
2023-11-14 06:27:39 +01:00
Alexey Milovidov
32dd1b26b3
Make autogenerated file as light as possible
2023-11-14 06:26:05 +01:00
Alexey Milovidov
3ef14f6098
Merge branch 'master' of github.com:ClickHouse/ClickHouse into coverage
2023-11-14 06:08:32 +01:00
Alexey Milovidov
beb0f6c5c1
Merge pull request #56648 from jsc0218/TunePGConnParameter
...
Reset PG's conn timeout and try times to avoid endless wait for unavailable URLs
2023-11-14 06:06:40 +01:00
Alexey Milovidov
c48dc8219f
Merge pull request #56662 from ClickHouse/miscellaneous-changes-tidy
...
Miscellaneous
2023-11-14 06:05:56 +01:00
avogar
a09437c816
Fix possible 'uncaught exception of type std::__1::system_error: mutex lock failed: Invalid argument' in clickhouse-local
2023-11-13 22:23:38 +00:00
Robert Schulze
361a3ca11f
Merge pull request #56519 from rschu1ze/qc-ignore-nondeterministic-queries
...
Query cache: Allow to ignore non-deterministic queries
2023-11-13 21:32:44 +01:00
Alexander Tokmakov
0622379ec7
Revert "Add a setting max_execution_time_leaf to limit the execution time on shard for distributed query"
2023-11-13 21:11:07 +01:00
Nikolai Kochetov
4004248c13
Fix duplicate usage of table function input().
2023-11-13 19:01:36 +00:00
Alexey Milovidov
f7f8f4cd23
Merge pull request #56105 from ClickHouse/taming-query-profiler
...
Taming query profiler
2023-11-13 19:29:24 +01:00
Alexey Milovidov
c81cc3f953
Merge pull request #56660 from ClickHouse/better-ccache-2
...
Better use of build cache
2023-11-13 19:28:33 +01:00
Alexander Gololobov
b49f50bf47
Set DB:Exception on unscheduled requests
2023-11-13 17:53:38 +01:00
Alexander Gololobov
6e861a6176
Handle query cancellation
2023-11-13 17:53:38 +01:00
Alexander Gololobov
1113b3041b
Return exception from the job
2023-11-13 17:53:38 +01:00
Alexander Gololobov
c27913f09a
Separate thread pools for request with and w/o zk
2023-11-13 17:53:38 +01:00
Alexander Gololobov
45f5d28299
Deduplicate concurrent requests in system.replicas
2023-11-13 17:53:38 +01:00
Nikolay Degterinsky
bf04f0f298
Merge pull request #56494 from evillique/fix-empty-named-collections
...
Fix empty NAMED COLLECTIONs
2023-11-13 17:49:17 +01:00
Nikolay Degterinsky
b8cba418e3
Merge pull request #56493 from evillique/fix-alter-column-alias
...
Fix ALTER COLUMN with ALIAS
2023-11-13 17:48:06 +01:00
Nikolay Degterinsky
02ce2a0e83
Merge pull request #56489 from evillique/fix-drop-ttl-dependency
...
Fix startup failure due to TTL dependency
2023-11-13 17:40:19 +01:00
Nikolay Degterinsky
ae6b4e62b1
Merge pull request #56401 from evillique/kerberos-kafka-segfault
...
Fix segfault during Kerberos initialization
2023-11-13 17:33:08 +01:00
Robert Schulze
d6df7d8403
Merge remote-tracking branch 'rschu1ze/master' into refactor-ast-hash-calculation
2023-11-13 15:54:21 +00:00
Alexey Milovidov
2ad98a58c9
Better caching of arrow build ( #56657 )
...
* Better caching of Arrow build
* Fix error
* Remove useless files
2023-11-13 16:51:01 +01:00
Kruglov Pavel
abf08839ec
Merge pull request #55976 from Avogar/fix-client-insert-in-background
...
Fix 'Cannot read from file:' while running client in a background
2023-11-13 15:16:49 +00:00
Kruglov Pavel
d5280df6d3
Merge pull request #56122 from bigo-sg/orc_tuple_field_prune
...
Allow tuple field pruning in ORC to speed up scaning
2023-11-13 14:46:43 +00:00
vdimir
5c8d0c25ee
Revert "Analyzer: fix logical error with set in array join"
...
This reverts commit fede5d8fcb
.
2023-11-13 14:42:14 +00:00
Sema Checherinda
7f3a082c0e
Merge pull request #56456 from ucasfl/fix-mysql
...
Fix transfer query to MySQL compatible query
2023-11-13 15:25:58 +01:00
kssenii
876b2cd7bc
Remove unused code
2023-11-13 15:10:57 +01:00
Antonio Andelic
d9fbab554f
remove useless include
2023-11-13 14:52:32 +01:00
Robert Schulze
b899270372
Remove default value for argument 'ignore_aliases' from IAST::updateTreeHash()
2023-11-13 13:18:35 +00:00
Antonio Andelic
e3c66f8a63
Merge branch 'master' into more-reliable-log-handling-keeper
2023-11-13 12:14:57 +00:00
Antonio Andelic
99d521becf
More reliable log handling in Keeper
2023-11-13 12:09:13 +00:00
vdimir
fede5d8fcb
Analyzer: fix logical error with set in array join
2023-11-13 11:54:01 +00:00
Alexey Milovidov
7a489059ac
Merge pull request #56350 from ClickHouse/system-symbols
...
Remove garbage.
2023-11-13 12:25:18 +01:00
Alexey Milovidov
ed50cb61f8
Fix style
2023-11-13 12:23:55 +01:00
Raúl Marín
6ce1ae36d3
Fix the fix
2023-11-13 10:56:49 +00:00
Robert Schulze
50cd59a72b
Remove default value for argument 'ignore_aliases' from IAST::getTreeHash()
2023-11-13 10:27:38 +00:00
Alexey Milovidov
8e820185cb
Merge branch 'master' of github.com:ClickHouse/ClickHouse into better-ccache-2
2023-11-13 11:17:18 +01:00
Robert Schulze
6ee95433f9
+ static
2023-11-13 09:53:19 +00:00
Alexey Milovidov
90936aa2c7
Merge pull request #56649 from chhetripradeep/pchhetri/enable-secure-flag-for-clickhouse-cloud-second-attempt
...
Switch to SSL port for clickhouse-client for hostnames pointing to clickhouse cloud
2023-11-13 10:18:29 +01:00
Kseniia Sumarokova
e428e4ed7a
Merge branch 'master' into cache-config-improvement
2023-11-13 10:09:58 +01:00
Alexey Milovidov
82c461031e
Fix build
2023-11-13 10:09:23 +01:00
Alexey Milovidov
636487b93e
Merge branch 'master' into taming-query-profiler
2023-11-13 09:12:39 +01:00
Kseniia Sumarokova
b7915e6983
Merge pull request #55782 from aiven-sal/aiven-sal/namedcoll_pr
...
NamedCollections: prevent fields overriding in functions' calls
2023-11-13 09:07:09 +01:00
Alexey Milovidov
a05091be04
Miscellaneous
2023-11-13 09:06:18 +01:00
Kseniia Sumarokova
d3b6310fe1
Merge pull request #56609 from jsc0218/LessAggressiveRescheduleWithUnsuccessfulConn
...
Less aggressive reschedule with unavailable conn of PG
2023-11-13 09:01:23 +01:00
Alexey Milovidov
9a7f5ab0a1
Better use of build cache
2023-11-13 08:54:24 +01:00
Alexey Milovidov
c4de4045f1
Fix error
2023-11-13 06:29:45 +01:00
Alexey Milovidov
6e910f002f
Merge branch 'master' of github.com:ClickHouse/ClickHouse into collect-binary-size
2023-11-13 05:06:56 +01:00
Alexey Milovidov
225c78681e
Merge branch 'master' into collect-binary-size
2023-11-13 04:00:25 +01:00
Pradeep Chhetri
be1e061764
Use SSL port for clickhouse-client for hostnames pointing to clickhouse cloud
2023-11-13 10:31:56 +08:00
Alexey Milovidov
a044c61c79
Merge branch 'master' of github.com:ClickHouse/ClickHouse into system-symbols
2023-11-13 03:27:37 +01:00
jsc0218
9194f77e71
change default value of PG's conn timeout and try times to avoid endless wait when conn url is unavailable
2023-11-13 02:11:31 +00:00
Alexey Milovidov
9ed47749de
Merge pull request #56644 from evillique/fix-cast-nullable-enum-to-string
...
Fix conversion from `Nullable(Enum)` to `Nullable(String)`
2023-11-13 02:48:34 +01:00
robot-ch-test-poll
0d8af2c119
Merge pull request #56545 from rschu1ze/qc-alias
...
Fix handling of aliases in query cache
2023-11-13 02:17:41 +01:00
robot-clickhouse-ci-2
9bceafbf9e
Merge pull request #56638 from chhetripradeep/pchhetri/enable-secure-flag-for-clickhouse-cloud
...
Enable --secure flag for clickhouse-client for hostnames pointing to clickhouse cloud
2023-11-13 00:30:58 +01:00
jsc0218
9c954046af
style fix again
2023-11-12 23:23:56 +00:00
jsc0218
c63a6f5cf5
change comment style
2023-11-12 19:31:38 +00:00
Nikolay Degterinsky
d3ac896131
Fix conversion from Nullable(Enum) to Nullable(String)
2023-11-12 19:02:42 +00:00
Robert Schulze
bea529c9a1
Try to stabilize test results
2023-11-12 15:11:38 +00:00
Robert Schulze
91f53514d9
Incorporate review feedback
2023-11-12 15:11:38 +00:00
Robert Schulze
9b61de2b8b
Fix whitespace
2023-11-12 15:11:38 +00:00
Robert Schulze
52c825db44
Query cache: Allow to ignore non-deterministic queries
...
Fixes : #56504
2023-11-12 15:11:38 +00:00
Robert Schulze
139d8cea13
Merge pull request #56430 from rschu1ze/pcg
...
Use `pcg` + `randomSeed()` instead of `std::mt19937`/`std::random_device`
2023-11-12 15:57:18 +01:00
Vitaly Baranov
6b50f22b42
Merge pull request #56516 from vitlibar/lazy-loading-of-base-backups
...
Load base backups lazily
2023-11-12 14:20:47 +01:00
Robert Schulze
3f49e1c5ed
Merge remote-tracking branch 'rschu1ze/master' into pcg
2023-11-12 11:43:19 +00:00
Robert Schulze
90711b1b99
Fix test failures
2023-11-12 11:06:58 +00:00
Antonio Andelic
f6d5ac485e
Merge pull request #56620 from chhetripradeep/pchhetri/demote-leader-before-stop-second-attempt
...
Add 4-letter command for yielding leadership
2023-11-12 11:38:40 +01:00
Pradeep Chhetri
3cb41bf0f2
Enable --secure flag for clickhouse-client for hostnames pointing to clickhouse cloud
2023-11-12 15:00:10 +08:00
Pradeep Chhetri
ce668e4491
Enable --secure flag for clickhouse-client for hostnames pointing to clickhouse cloud
2023-11-12 14:45:17 +08:00
Alexey Milovidov
e6149cb1f0
Fix idiotic behavior of sumMap aggregate function
2023-11-12 06:45:05 +01:00
Alexey Milovidov
f77ca20720
Miscellaneous
2023-11-12 06:39:53 +01:00
Alexey Milovidov
345f3935ff
Something
2023-11-12 06:39:16 +01:00
Alexey Milovidov
faee91a820
Fix style
2023-11-12 04:36:50 +01:00
Alexey Milovidov
84bd67dd30
Parallelize compilation for RISC-V
2023-11-12 04:23:05 +01:00
Alexey Milovidov
0de9f83192
Fix tidy
2023-11-12 00:23:09 +01:00
Alexey Milovidov
bd78cc3445
Merge branch 'master' into system-symbols
2023-11-12 00:15:55 +01:00
Alexey Milovidov
ad03f1ee47
Merge pull request #56485 from ClickHouse/better-settings
...
Better settings
2023-11-12 00:01:38 +01:00
robot-clickhouse-ci-1
8625ddc906
Merge pull request #56514 from kitaisreal/analyzer-special-functions-projection-names-fix
...
Analyzer special functions projection names fix
2023-11-11 23:50:09 +01:00
Sema Checherinda
ed2bb53eec
Merge pull request #56594 from CheSema/inline-data
...
hide VERSION_INLINE_DATA under feature flag
2023-11-11 12:06:42 +01:00
Maksim Kita
504cc33a2a
Analyzer special functions projection names fix
2023-11-11 12:49:33 +03:00
Alexey Milovidov
744570f825
Merge pull request #56616 from ClickHouse/remove-dependencies
...
Remove dependencies
2023-11-11 09:38:55 +01:00
Alexey Milovidov
04630c3e5a
Merge branch 'master' into better-settings
2023-11-11 09:26:59 +01:00
Alexey Milovidov
7138174401
Maybe fix tidy
2023-11-11 08:58:06 +01:00
Pradeep Chhetri
d0922782ed
Revert "Revert "Add 4-letter command for yielding/resigning leadership""
...
This reverts commit e1766b96d9
.
2023-11-11 15:37:49 +08:00
Alexey Milovidov
c52a91caf6
Remove dependencies
2023-11-11 06:59:20 +01:00
Alexey Milovidov
bdb35e1d4c
Merge branch 'remove-cpp-templates-2' into system-symbols
2023-11-11 04:26:10 +01:00
Alexey Milovidov
66d297ee47
Fix style
2023-11-11 04:25:49 +01:00
Alexey Milovidov
c94f4266fa
Merge branch 'remove-cpp-templates-2' into system-symbols
2023-11-11 04:12:44 +01:00
Alexey Milovidov
58319f08be
Merge branch 'master' into system-symbols
2023-11-11 04:12:37 +01:00
Alexey Milovidov
28bf977960
Fix test
2023-11-11 03:59:16 +01:00
Alexey Milovidov
fcd45d47e4
Merge branch 'master' of github.com:ClickHouse/ClickHouse into remove-cpp-templates-2
2023-11-11 03:45:54 +01:00
Alexey Milovidov
e1766b96d9
Revert "Add 4-letter command for yielding/resigning leadership"
2023-11-11 05:45:02 +03:00
Alexey Milovidov
e5aad4a6fd
Revert "Add /keeper/availability-zone node to allow server load balancing within AZ."
2023-11-11 05:43:58 +03:00
Alexey Milovidov
2efe26eee9
Fix error and remove garbage
2023-11-11 03:38:46 +01:00
jsc0218
b5a79b1bda
less aggressive reschedule when unavailable connection exists, to avoid repeated interrupting other normal routines
2023-11-11 02:20:58 +00:00
Alexey Milovidov
c095b1e9ef
Merge pull request #56502 from amosbird/fix-56481
...
Fix two cases of projection analysis.
2023-11-11 02:29:04 +01:00
Alexey Milovidov
a90f3b14e8
Split FunctionsStringArray
2023-11-11 02:21:24 +01:00
Alexey Milovidov
4de5ee8acc
Something
2023-11-11 01:01:43 +01:00
Alexey Milovidov
3bec4dce8e
Merge branch 'master' into remove-cpp-templates-2
2023-11-11 00:50:32 +01:00
Yakov Olkhovskiy
477c90729d
Merge remote-tracking branch 'origin/master' into fix-analyzer-mv-scalars
2023-11-10 19:06:30 +00:00
Maksim Kita
bf08f3ef5a
Revert "Inserting only non-duplicate chunks in MV"
2023-11-10 21:21:13 +03:00
Raúl Marín
72fae1057d
Fix ubsan in sleep and add sanity checks
2023-11-10 17:24:41 +00:00
Raúl Marín
78f0a2a61d
Revert "Merge pull request #56591 from ClickHouse/revert-56500-function-sleep-exception-message-fix"
...
This reverts commit e8875d881d
, reversing
changes made to a5b1474b6a
.
2023-11-10 17:20:17 +00:00
Sema Checherinda
3c15a5e714
hide VERSION_INLINE_DATA under storage_metadata_write_full_object_key feature
2023-11-10 17:24:50 +01:00
Alexey Milovidov
9317357873
Merge pull request #56546 from ClickHouse/remove-1
...
Remove useless using
2023-11-10 16:56:56 +01:00
Alexey Milovidov
1cc658f9be
Merge pull request #56552 from ClickHouse/noreturn
...
Allow `chassert` to guide the static analyzer
2023-11-10 16:56:11 +01:00
Alexey Milovidov
21a814c20b
Revert "FunctionSleep exception message fix"
2023-11-10 18:53:56 +03:00
Robert Schulze
a5b1474b6a
Merge pull request #56586 from rschu1ze/toUnixTS-docs
...
Update docs of `fromUnixTimeStamp[InJodaSyntax]()`
2023-11-10 15:21:48 +01:00
Yakov Olkhovskiy
7baca92766
Merge remote-tracking branch 'origin/master' into fix-analyzer-mv-scalars
2023-11-10 14:14:22 +00:00
Nikolai Kochetov
a666f26056
Merge pull request #56419 from ClickHouse/fix-02404_memory_bound_merging-with-analyzer
...
Fix 02404_memory_bound_merging with analyzer.
2023-11-10 15:04:14 +01:00
Robert Schulze
8ad124ef64
Fix #56258 , attempt II
2023-11-10 14:03:13 +00:00
kssenii
b898e90bc1
Better
2023-11-10 14:31:00 +01:00
Nikolay Degterinsky
a6ebeb8422
Merge pull request #56484 from evillique/fix-on-cluster
...
Fix ON CLUSTER queries without database on initial node
2023-11-10 13:40:41 +01:00
Nikolay Degterinsky
05945ff80d
Merge pull request #56486 from evillique/fix-replicated-database-cluster-port
...
Fix default port for Replicated database cluster
2023-11-10 13:37:45 +01:00
Nikolay Degterinsky
07b2cdb614
Merge pull request #56491 from evillique/fix-alter-comment-on-cluster
...
Fix ALTER COMMENT queries ON CLUSTER
2023-11-10 13:35:26 +01:00
Robert Schulze
4223b82fb4
Revert "Fix #56258 "
...
This reverts commit 1dc565cd22
.
2023-11-10 11:50:16 +00:00
Nikolai Kochetov
687eaeb186
Update InterpreterExplainQuery.cpp
2023-11-10 12:34:25 +01:00
Nikolai Kochetov
145468dfd1
Merge pull request #56500 from kitaisreal/function-sleep-exception-message-fix
...
FunctionSleep exception message fix
2023-11-10 12:30:18 +01:00
Nikolai Kochetov
0898cf3e06
Merge pull request #56520 from kitaisreal/analyzer-move-functions-out-of-any-pass-refactoring
...
Analyzer MoveFunctionsOutOfAnyPass refactoring
2023-11-10 12:27:14 +01:00
Nikolai Kochetov
d233743200
Merge pull request #56531 from kitaisreal/analyzer-log-used-row-policies
...
Analyzer log used row policies
2023-11-10 12:26:11 +01:00
Robert Schulze
82f5e92bf5
Update docs of fromUnixTimeStamp[InJodaSyntax]()
2023-11-10 11:11:42 +00:00
Kseniia Sumarokova
ecd98006ce
Merge pull request #56306 from ClickHouse/fix-backup-restore-flatten-nested
...
Fix restore from backup with `flatten_nested` and `data_type_default_nullable`
2023-11-10 11:43:17 +01:00
Kseniia Sumarokova
2709ecd50d
Merge pull request #56457 from ClickHouse/fix-test-database-hdfs
...
Fix test `02725_database_hdfs.sh`
2023-11-10 11:40:18 +01:00
Kseniia Sumarokova
e48df94772
Merge pull request #56377 from ClickHouse/minor-improvements-for-s3-queue
...
Minor improvements for S3Queue
2023-11-10 11:28:09 +01:00
Alexander Gololobov
696bd2644f
Merge pull request #56547 from ClickHouse/better-warning
...
Better warning message
2023-11-10 10:41:44 +01:00
Alexander Gololobov
0a1078bb37
Merge pull request #56548 from ClickHouse/system-symbols-pick
...
Add a table `system.symbols`
2023-11-10 10:37:11 +01:00
Antonio Andelic
ba7b684810
Merge pull request #53481 from myrrc/fix/reconfig-leader-replace
...
Keeper `reconfig`: add timeout before yielding/taking leadership
2023-11-10 09:32:40 +01:00
Yakov Olkhovskiy
2544a15c94
optimization, comment
2023-11-10 05:59:24 +00:00
Alexey Milovidov
7fb04acc03
Miscellaneous
2023-11-10 06:13:21 +01:00
Alexey Milovidov
7a44e2f478
Miscellaneous
2023-11-10 05:36:44 +01:00
Alexey Milovidov
60a9974adc
Fix build
2023-11-10 05:34:29 +01:00