Commit Graph

16093 Commits

Author SHA1 Message Date
Robert Schulze
312fe8e31d
Merge pull request #55298 from rschu1ze/use_mysql_types_in_show_columns
Make `use_mysql_types_in_show_columns` independent from the connection
2023-10-07 22:03:24 +02:00
Robert Schulze
73ff017fb5
Merge remote-tracking branch 'rschu1ze/master' into israelov/generate-random-int-array 2023-10-07 18:10:09 +00:00
Robert Schulze
3580c4d730
Fixups 2023-10-07 18:08:54 +00:00
robot-ch-test-poll1
59a3b3356f
Merge pull request #55296 from rschu1ze/qc-better-logging
Improve logging in query cache
2023-10-07 17:59:19 +02:00
Robert Schulze
cfa2e99b6e
Merge remote-tracking branch 'rschu1ze/master' into more-mysql-compat 2023-10-07 13:08:24 +00:00
Robert Schulze
2e8cac6e9c
Make use_mysql_types_in_show_columns independent from the connection
Fixes: #55273
2023-10-07 13:06:41 +00:00
Robert Schulze
a72ae92328
Make the logging in the query cache easier to understand 2023-10-07 11:33:11 +00:00
JackyWoo
784fe880eb Merge branch 'master' into lb_nearest_host_name 2023-10-07 09:04:26 +08:00
Daniel Byta
158e1ed703
Update client-libraries.md 2023-10-07 03:50:08 +03:00
Aleksa Cukovic
db0cf729f5
Fix query_log cache usage column name in docs
It is not called `query_log_usage` but `query_cache_usage`
2023-10-05 22:31:48 +02:00
robot-ch-test-poll4
70c3f31926
Merge pull request #55250 from ethshea/studentt-doc-fix
Fix broken link rendering in studentTTest.md
2023-10-05 14:01:19 +02:00
robot-clickhouse
61ff2131b5
Merge pull request #55258 from codenation-nl/patch-1
Update truncate.md
2023-10-05 13:51:58 +02:00
Avery Fischer
ecac99f45e
Fix docs typo (makeDateTime32 -> makeDateTime64)
Appears to have been a simple typo. Fixing to the actual function!
2023-10-05 13:10:54 +02:00
Jens Hoevenaars
9d63f86259
Update truncate.md
Small typo in command
2023-10-05 12:11:33 +02:00
Ethan Shea
95b68743c6 Fix broken link rendering in studentTTest.md 2023-10-04 21:47:06 -04:00
Denny Crane
7e0536e9f5
Update merge-tree-settings.md 2023-10-04 12:22:24 -03:00
Denny Crane
3e80f66d38 update use_local_cache_for_remote_storage settings name 2023-10-03 21:09:35 -03:00
Robert Schulze
907e792a93
Add information_schema.columns.extras
Fixes: #55183
2023-10-03 13:11:03 +00:00
Robert Schulze
2aefa760c3
Add information_schema.tables.table_rows
Fixes: #55182
2023-10-03 12:24:10 +00:00
Priyansh Agrawal
540d966033 Docs and comment 2023-10-02 22:51:58 +01:00
pdy
72e4559d30 edit wrong example in en doc 2023-10-01 18:53:41 +08:00
Alexey Milovidov
9aaab27373
Merge pull request #55120 from ClickHouse/fix-functions-in-docs
Fix function names in docs
2023-09-30 00:36:39 +03:00
Denny Crane
82bb1b1a43
Update merge-tree-settings.md 2023-09-29 15:14:22 -03:00
Denny Crane
55cd909c29
Update merge-tree-settings.md 2023-09-29 15:11:32 -03:00
Robert Schulze
16bac8a18f
Merge pull request #55150 from rschu1ze/docs-54820
Docs: Fix #54820
2023-09-29 18:31:12 +02:00
Robert Schulze
bbbd05e7c7
Docs: Fix #54820 2023-09-29 15:49:56 +00:00
Justin de Guzman
f3c65eb118
Fix ordering of S3Queue in sidebar 2023-09-29 08:40:49 -07:00
kssenii
d1f6888119 Allow unique consumer identifier 2023-09-29 16:17:02 +02:00
Mikhail f. Shiryaev
8488581ac8
Merge branch 'master' into patch-12 2023-09-29 12:09:33 +02:00
Mikhail f. Shiryaev
d8085c8d28
Merge branch 'master' into auto/v23.8.3.48-lts 2023-09-29 11:34:57 +02:00
vdimir
3a9abde35d
Merge pull request #54514 from ClickHouse/vdimir/allow_experimental_partial_result
Add setting allow_experimental_partial_result
2023-09-29 10:32:57 +02:00
Alexey Milovidov
458cbb3b18 Fix function names in docs 2023-09-29 10:15:46 +02:00
robot-clickhouse
485422328d Update version_date.tsv and changelogs after v23.9.1.1854-stable 2023-09-29 07:04:45 +00:00
Alexey Milovidov
8f9a227de1
Merge pull request #54931 from yariks5s/s3_style_url
s3-style URL fix
2023-09-29 07:12:01 +03:00
Kruglov Pavel
e8d8c6dea5
Merge pull request #55095 from Avogar/print-pretty-type-names
Add setting to print pretty deep nested types like Tuple/Array/Map
2023-09-29 00:20:39 +02:00
avogar
0abf09d1b5 Fix example in docs 2023-09-28 22:17:44 +00:00
avogar
e8ea41e2d4 Add setting to print pretty deep nested Tuples 2023-09-28 22:17:44 +00:00
avogar
e2d7c543eb Don't try to infer numbers from strings in JSON formats by default to avoid parsing errors, add docs for setting input_format_json_try_infer_numbers_from_strings 2023-09-28 22:15:26 +00:00
yariks5s
24fb96c91f changed docs 2023-09-28 15:20:09 +00:00
Nikolay Degterinsky
9ebecb5499
Merge pull request #54639 from evillique/timestamp-function
Add `timestamp` function for compatibility with MySQL
2023-09-28 16:44:16 +02:00
kssenii
4a7922507b Minor changes 2023-09-28 16:18:00 +02:00
kssenii
7d91ba109a Update doc 2023-09-28 13:58:59 +02:00
Peignon Melvyn
cbf0535468
Update s3queue.md 2023-09-28 13:34:09 +02:00
Nikolai Kochetov
cf1be73977
Update s3.md 2023-09-28 12:22:48 +02:00
yariks5s
ff455fd5d3 modified docs 2023-09-28 10:20:34 +00:00
vdimir
9b001e5092
Add setting allow_experimental_partial_result to doc 2023-09-28 09:40:59 +00:00
Robert Schulze
675819be6b
Minor fixes 2023-09-27 21:15:20 +00:00
Nikolay Degterinsky
c1f59eccd5 Add fraction part to the time argument, add docs, better test 2023-09-27 20:17:32 +00:00
János Benjamin Antal
c911c8daf4
Prevent attaching parts from tables with different projections or indices (#55062)
* Prevent attaching parts from tables with different projections or indices

* Update docs

* Add tests
2023-09-27 15:02:53 -04:00
yariks5s
3400e47ac9 added docs 2023-09-27 19:02:01 +00:00
robot-clickhouse-ci-1
7a825c1417
Merge pull request #54427 from Avogar/json-object-as-tuple-inference
Add new features to schema inference for JSON formats
2023-09-27 20:12:45 +02:00
robot-clickhouse
078c9bb427 Update version_date.tsv and changelogs after v23.8.3.48-lts 2023-09-27 15:24:02 +00:00
Robert Schulze
e9c3032f83
Merge pull request #55037 from rschu1ze/inf_sch_tables
Implement information_schema.tables.data_length
2023-09-27 14:09:38 +02:00
凌涛
0d256a381a add doc
fix tests

modify code stype and spelling

add tests and modify code style
2023-09-27 17:03:53 +08:00
Robert Schulze
886afd11b6
Fix expected results 2023-09-27 08:46:57 +00:00
Robert Schulze
3a1663a460
Merge pull request #55035 from rschu1ze/is_deterministic_resubmit
Added field "is_deterministic" to system.functions
2023-09-27 10:13:18 +02:00
robot-ch-test-poll3
aa139774a0
Merge pull request #55042 from ucasfl/review-fix
Review fix for #54935
2023-09-27 09:36:55 +02:00
flynn
3d299d5f9d Review fix 2023-09-27 03:16:52 +00:00
JackyWoo
5da03e8ba5 Add load balancing test_hostname_levenshtein_distance 2023-09-27 10:46:39 +08:00
Robert Schulze
e22de584e9
information_schema.tables.data_length 2023-09-26 20:08:54 +00:00
Robert Schulze
dcdc8bf0e9
Added field "is_deterministic" to system.functions 2023-09-26 19:13:23 +00:00
Robert Schulze
6634043a9f
Merge pull request #54837 from rschu1ze/obsolete-mt-settings
Mark obsolete settings in system.merge_tree_settings as is_obsolete = 1
2023-09-26 19:55:05 +02:00
George Gamezardashvili
0ce30ab6d5
SSH keys authentication (#41109)
Added new type of authentication based on SSH keys. It works only for Native TCP protocol.

Co-authored-by: Nikita Mikhaylov <nikitamikhaylov@clickhouse.com>
Co-authored-by: Robert Schulze <robert@clickhouse.com>
2023-09-26 17:50:19 +02:00
Kruglov Pavel
bea80ab5b7
Merge branch 'master' into json-object-as-tuple-inference 2023-09-26 15:23:08 +02:00
Alexander Tokmakov
f39cb17881
Revert "Added field "is_deterministic" to system.functions" 2023-09-26 15:01:05 +02:00
Kruglov Pavel
69a17bbef6
Merge pull request #52853 from Avogar/http-valid-json-on-exception
Output valid JSON/XML on excetpion during HTTP query execution
2023-09-26 14:25:55 +02:00
Kruglov Pavel
b6863a9f52
Fix comments 2023-09-26 14:13:34 +02:00
Anton Popov
6cd32eb7b5
Merge pull request #50612 from CurtizJ/long-column-names
Allow to replace long file names to hashes
2023-09-26 13:05:33 +02:00
Robert Schulze
978a0c9cab
+ test 2023-09-26 10:45:50 +00:00
Robert Schulze
fa40732395
Merge pull request #54766 from rschu1ze/is_deterministic
Added field "is_deterministic" to system.functions
2023-09-26 11:05:03 +02:00
kssenii
251b0165ca Better 2023-09-25 22:55:41 +02:00
kssenii
3b54b6be88 Add system tables 2023-09-25 20:04:15 +02:00
avogar
9e75825515 Merge branch 'master' of github.com:ClickHouse/ClickHouse into json-object-as-tuple-inference 2023-09-25 17:24:36 +00:00
Robert Schulze
10cee14bce
Fix docs 2023-09-25 17:09:58 +00:00
Robert Schulze
3562204850
+ docs 2023-09-25 17:08:37 +00:00
Robert Schulze
5233adecb0
Merge remote-tracking branch 'rschu1ze/master' into is_deterministic 2023-09-25 16:27:50 +00:00
avogar
42ca897f2d Better schema inference for JSON formats 2023-09-25 15:42:59 +00:00
vdimir
70ae994e77
Merge pull request #54935 from ucasfl/hamming-distance
Add several string distance functions
2023-09-25 17:06:16 +02:00
Anton Popov
0ebc22e851
Merge branch 'master' into long-column-names 2023-09-25 16:55:14 +02:00
Priyansh Agrawal
f27a76b923 Add function byteSwap.
byteSwap accepts an integer `operand` and returns the integer which is
obtained by swapping the **endianness** of `operand` i.e. reversing the
bytes of the `operand`.

Issue: #54734
2023-09-24 21:02:09 +01:00
zvonand
2ab38761d7 added docs 2023-09-24 13:01:23 +02:00
flynn
0a701ba7e9 fix spell 2023-09-23 17:50:02 +00:00
flynn
661ba85865 add more functions 2023-09-23 17:17:35 +00:00
serxa
44acb53ad3 Merge branch 'master' into io-scheduling-throttler 2023-09-23 10:51:18 +00:00
flynn
c264bb5fad fix 2023-09-23 04:11:20 +00:00
Alexey Milovidov
783d1873b2
Merge pull request #54839 from rschu1ze/vector-search-test-refactoring
Refactor and split up vector search tests
2023-09-23 00:10:47 +03:00
robot-ch-test-poll3
1334202af4
Merge pull request #54863 from zvonand/zvonand-refactor-globs
Refactor and simplify multi-directory globs
2023-09-22 23:09:05 +02:00
Robert Schulze
ec09fd124d
Merge pull request #54856 from slvrtrn/to-days-since-year-zero-datetime
`DateTime`/`DateTime64` support in `toDaysSinceYearZero()`
2023-09-22 20:39:54 +02:00
flynn
0ed66a6611 add doc 2023-09-22 17:48:17 +00:00
Robert Schulze
2ca0e2e07d
Merge pull request #54773 from slvrtrn/tableau-online-information-schema
Adjust information_schema to support Tableau Online via MySQL interface
2023-09-22 16:11:55 +02:00
Robert Schulze
a7c4efb845
Simpler 2023-09-22 13:13:55 +00:00
robot-ch-test-poll
118a068a4d
Merge pull request #54899 from ClickHouse/serxa-patch-3
Docs. Fix column name and type
2023-09-22 13:10:35 +02:00
Robert Schulze
e9c0dbd33e
Merge remote-tracking branch 'rschu1ze/master' into tableau-online-information-schema 2023-09-22 11:03:06 +00:00
Vitaly Baranov
3a2ca1f69c
Merge pull request #51261 from evillique/users-valid-until
Add VALID UNTIL clause for users
2023-09-22 12:38:30 +02:00
Robert Schulze
9a91f97ac4
Merge pull request #53831 from rschu1ze/clang-17
Switch CI to Clang 17
2023-09-22 12:28:35 +02:00
Robert Schulze
be1e92a2ac
Merge pull request #54518 from rschu1ze/split-better
Provide fallback to Python/Spark-like splitting in splitBy*() functions
2023-09-22 12:07:45 +02:00
robot-clickhouse
10686479f7
Merge pull request #54861 from ClickHouse/third-party-library-headings
Convert third party library titles to headings
2023-09-21 23:38:23 +02:00
Sergei Trifonov
5c674e553d
Docs. Fix column name and type 2023-09-21 18:52:05 +02:00
Robert Schulze
5209bd2d51
Merge remote-tracking branch 'rschu1ze/master' into clang-17 2023-09-21 14:45:55 +00:00
Pavel Novitskiy
853e3f0aa7
Add drop table IF EMPTY (#48915) 2023-09-21 09:20:18 -04:00
slvrtrn
e49ddbb678 Merge remote-tracking branch 'origin' into tableau-online-information-schema 2023-09-21 14:25:04 +02:00
slvrtrn
da6b856c32 Merge remote-tracking branch 'origin' into to-days-since-year-zero-datetime 2023-09-21 14:22:37 +02:00
Robert Schulze
c2a593baf9
Split tests 2023-09-21 09:17:38 +00:00
zvonand
5f67788c03 update docs and comments 2023-09-21 00:16:17 +02:00
Justin de Guzman
1c81338976
Convert third party library titles to headings 2023-09-20 17:39:49 -04:00
Robert Schulze
e95f9ee814
Merge remote-tracking branch 'rschu1ze/master' into is_deterministic 2023-09-20 21:17:57 +00:00
Robert Schulze
28ca5cad7d
Fix spelling 2023-09-20 21:15:52 +00:00
slvrtrn
a68fbe073b Update toDaysSinceYearZero docs 2023-09-20 18:02:53 +02:00
Robert Schulze
2c91e52da1
Merge pull request #54600 from rschu1ze/fix-annoy-crash
Annoy/Usearch index: Fix LOGICAL_ERROR during build-up with default values
2023-09-20 17:05:16 +02:00
Robert Schulze
5729871605
Merge remote-tracking branch 'rschu1ze/master' into qc-throw 2023-09-20 13:25:51 +00:00
slvrtrn
fb0ba86489 Merge remote-tracking branch 'origin' into tableau-online-information-schema 2023-09-20 15:14:40 +02:00
Robert Schulze
f3bf8388b6
Incorporate feedback 2023-09-20 10:00:00 +00:00
SmitaRKulkarni
d8adf05de2
Added a new column _block_number (#47532)
Added a new virtual column _block_number which is persisted on merges when allow_experimental_block_number_column is enabled
2023-09-20 11:31:12 +02:00
Robert Schulze
cbcff6ef08
Merge remote-tracking branch 'rschu1ze/master' into clang-17 2023-09-20 09:15:58 +00:00
Sergei Trifonov
696ab745aa
Doc. Update query-complexity.md 2023-09-20 07:51:27 +02:00
slvrtrn
636fc506aa Replace information_schema view columns aliases with uppercase 2023-09-19 23:42:40 +02:00
Robert Schulze
5111f1e090
Update docs/en/operations/query-cache.md
Co-authored-by: Nikita Taranov <nickita.taranov@gmail.com>
2023-09-19 18:59:00 +02:00
Robert Schulze
a15029ecb5
Query Cache: Reject queries with non-deterministic functions by default
https://github.com/ClickHouse/support-escalation/issues/963
2023-09-19 16:41:43 +00:00
Robert Schulze
83a2969f0c
Merge remote-tracking branch 'rschu1ze/master' into clang-17 2023-09-19 13:38:41 +00:00
Robert Schulze
774c4b52da
Rework 2023-09-19 12:20:53 +00:00
slvrtrn
e4e9727572 Update information_schema docs 2023-09-19 14:14:17 +02:00
Kruglov Pavel
acadda1665
Merge branch 'master' into json-object-as-tuple-inference 2023-09-19 13:49:39 +02:00
Kruglov Pavel
e163670357
Merge branch 'master' into http-valid-json-on-exception 2023-09-19 13:42:53 +02:00
Robert Schulze
1556cdd21a
Merge pull request #54789 from rschu1ze/docs-qc2
Docs: Update query cache docs about usage in view definitions
2023-09-19 13:32:02 +02:00
robot-clickhouse-ci-1
0be0f43390
Merge pull request #54451 from den-crane/patch-58
Doc. max_execution_time and the role of timeout_before_checking_execution_speed
2023-09-19 12:33:50 +02:00
Robert Schulze
29e83fbe64
Docs: Update query cache docs about usage in view definitions
Cf. https://github.com/ClickHouse/support-escalation/issues/963
2023-09-19 10:26:19 +00:00
serxa
311db94640 default max_burst equals to max_speed as in Throttler 2023-09-19 10:10:21 +00:00
Anton Popov
624782bd8f Merge remote-tracking branch 'upstream/master' into HEAD 2023-09-18 23:13:20 +00:00
robot-clickhouse-ci-1
9e1e8f4d67
Merge pull request #54707 from incfly/doc-update
add missing documentation for system sync database replica.
2023-09-19 00:29:17 +02:00
Anton Popov
d94c1b1ec9 add check for collisions in filenames 2023-09-18 22:27:04 +00:00
Alexander Tokmakov
de9f4be7bd
Update system.md 2023-09-19 00:04:25 +02:00
slvrtrn
ad7b707658 Update information_schema.tables sql and docs 2023-09-18 22:30:27 +02:00
Robert Schulze
94281f1141
Merge remote-tracking branch 'rschu1ze/master' into clang-17 2023-09-18 20:15:01 +00:00
slvrtrn
9a0d07c682 Update information_schema docs 2023-09-18 22:14:53 +02:00
Robert Schulze
baf1016e4b
More 2023-09-18 18:39:21 +00:00
serxa
04d0b881ea more docs 2023-09-18 18:38:05 +00:00
Robert Schulze
4ed5b903b4
Docs: remove anchor prefix 2023-09-18 18:35:59 +00:00
Jianfei Hu
e8a292cbd4
Apply suggestions from code review
Co-authored-by: Alexander Tokmakov <tavplubix@gmail.com>
2023-09-18 11:08:41 -07:00
robot-ch-test-poll2
c3a5d7dbf0
Merge pull request #54758 from rschu1ze/docs-qc
Docs: Update query cache section on non-deterministic functions
2023-09-18 20:01:46 +02:00
Robert Schulze
d31a43a379
Remove Woboq 2023-09-18 17:44:04 +00:00
Robert Schulze
3a3a00f95e
Bump minimal required compiler to Clang 16 2023-09-18 17:44:04 +00:00
Robert Schulze
6872e95fb2
Remove prefixes 2023-09-18 17:34:40 +00:00
Robert Schulze
3753a78d1b
Fix anchors 2023-09-18 17:24:49 +00:00
Robert Schulze
6de45e355f
Fix spelling/style 2023-09-18 15:28:22 +00:00
Robert Schulze
b14e00f966
Docs: Update query cache section on non-deterministic functions
Cf. https://github.com/ClickHouse/support-escalation/issues/963
2023-09-18 14:36:16 +00:00
kssenii
10518a9c83 Merge remote-tracking branch 'upstream/master' into kssenii-patch-6 2023-09-18 13:00:26 +02:00
robot-clickhouse
0625bbb3ef
Merge pull request #54659 from laurieliyang/patch-2
Update stddevsamp.md, fix a broken url in md.
2023-09-18 12:30:45 +02:00
robot-ch-test-poll
23d67fc2a4
Merge pull request #54667 from RoryCrispin/patch-2
Small typo
2023-09-18 12:28:58 +02:00
Robert Schulze
2a5aa289e8
Implement true Python/Spark split behavior 2023-09-18 07:42:57 +00:00
Robert Schulze
b5b2cc511b
Pythonic vs Spark splitting 2023-09-18 07:42:52 +00:00