Vitaly Baranov
a193e01c8f
Merge pull request #54737 from arenadata/ADQM-1150
...
Added maximum sequential login failures to the quota.
2024-01-31 16:06:17 +01:00
Kruglov Pavel
325419b096
Merge pull request #59398 from Avogar/variant-type-func
...
Add function variantType
2024-01-31 13:06:54 +01:00
Nikolai Kochetov
7e722b52a9
Merge pull request #59003 from kitaisreal/revert-57519-revert-53562-group_sorted_array_function
...
Revert "Revert "Add new aggregation function groupArraySorted()""
2024-01-31 12:31:26 +01:00
avogar
584694ed51
Add function variantType
2024-01-30 18:01:12 +00:00
Maksim Kita
20c1f0c18f
Revert "Revert "Add new aggregation function groupArraySorted()""
2024-01-30 17:15:29 +03:00
Alexey Milovidov
8eac21c963
Merge branch 'master' of github.com:ClickHouse/ClickHouse into rename-ddsketch
2024-01-30 11:50:52 +01:00
Alexey Milovidov
798f655276
Rename quantileDDSketch to quantileDD
2024-01-30 11:49:56 +01:00
Alexey Milovidov
bcc99a216d
Update json.md
2024-01-30 09:10:11 +03:00
Alexey Milovidov
b4a5b6060e
Merge pull request #59341 from rschu1ze/non-string-concat-with-separator
...
Allow non-string arguments in `concatWithSeparator()`
2024-01-30 04:10:06 +01:00
Alexey Milovidov
ac90637170
Merge pull request #59122 from arthurpassos/bring_back_attach_partition_pr
...
Revert revert attach partition PR
2024-01-30 04:02:31 +01:00
Alexey Gerasimchuck
559de083a3
Implemented failed login attempt counting using quota
2024-01-29 23:20:38 +00:00
Robert Schulze
7683b44bf6
Merge pull request #58961 from ClibMouse/seriesDecompose
...
Return baseline component from function `seriesDecomposeSTL()`
2024-01-29 20:41:09 +01:00
Arthur Passos
15d04d0a78
Merge branch 'master' into bring_back_attach_partition_pr
2024-01-29 15:16:49 -03:00
Robert Schulze
c2b7d2047e
Support arguments of arbitary type in function concatWithSeparator()
...
Follow-up to #56540
2024-01-29 14:11:21 +00:00
Arthur Passos
0bbfef884c
Merge branch 'ClickHouse:master' into bring_back_attach_partition_pr
2024-01-28 17:43:38 -03:00
UnamedRus
94770f8d8a
Merge branch 'master' into topk-statistics-count-errors
2024-01-28 20:50:45 +03:00
avogar
92db86b829
Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type
2024-01-28 14:33:49 +00:00
robot-ch-test-poll4
c0fc804797
Merge pull request #59289 from ClickHouse/melvynator-exp-rmv
...
Update view.md
2024-01-28 00:17:56 +01:00
Peignon Melvyn
cf1df96cc1
Update view.md
...
Improved documentation.
2024-01-27 17:27:00 +01:00
Peignon Melvyn
4273ae4f4f
Update view.md
2024-01-26 21:27:20 +01:00
avogar
5833641fa5
Merge branch 'master' of github.com:ClickHouse/ClickHouse into variant-data-type
2024-01-26 16:54:02 +00:00
Artur Beglaryan
1624ecd7e6
Fixed typo in documentation
...
Added missed parameter in xml dictionary config
2024-01-26 15:02:28 +00:00
Arthur Passos
ce6877cbb6
Merge branch 'ClickHouse:master' into bring_back_attach_partition_pr
2024-01-26 10:57:11 -03:00
avogar
ff15ab12b8
Remove bad implementation of DataTypeVariant::createColumnConst, support use_variant_as_common_type setting in functions array/map
2024-01-25 21:06:50 +00:00
avogar
4b26de9660
Rename setting to use it not only in if/multiIf in future
2024-01-25 13:26:13 +00:00
Bhavna Jindal
926982856d
Merge remote-tracking branch 'upstream/master' into seriesDecompose
2024-01-24 10:11:00 -08:00
jsc0218
03fc10d68a
Merge pull request #59017 from filimonov/patch-8
...
Update rename.md
2024-01-24 11:38:56 -05:00
Yarik Briukhovetskyi
d5ab31f8f0
Merge pull request #58895 from avinzhang/patch-1
...
Update executable.md
2024-01-23 23:33:35 +01:00
Arthur Passos
799a94081b
Revert "Revert "Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition""
...
This reverts commit a1c83e2f51
.
2024-01-23 11:40:42 -03:00
Robert Schulze
a1c83e2f51
Revert "Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition"
2024-01-23 15:26:04 +01:00
Anton Popov
bceda4cd29
Merge remote-tracking branch 'upstream/master' into HEAD
2024-01-23 14:03:34 +00:00
Robert Schulze
e67076ea2b
Merge pull request #55201 from canhld94/column_level_compress_block
...
Column-level compression block sizes
2024-01-23 11:22:03 +01:00
Robert Schulze
5a420cd9b1
Update docs
2024-01-23 06:18:07 +00:00
Bhavna Jindal
d9edd5a7f3
fix spell check
2024-01-22 13:32:57 -08:00
Bhavna Jindal
f935493f28
fix trailing whitespaces
2024-01-22 13:32:57 -08:00
Bhavna Jindal
c59f3e164f
Return baseline component as fourth array
2024-01-22 13:32:57 -08:00
Arthur Passos
24b8bbe9fa
Allow to attach partition from table with different partition expression when destination partition expression doesn't re-partition ( #39507 )
...
* temp commit
* temp commit
* draft impl for feedback
* fix weird style changes
* fix weird style changes
* fix weird style changes
* fix weird style changes
* fix weird style changes
* aa
* aa
* Add integ tests and remove partition key restriction
* fix small incosistency in partition id
* style fix
* style fix
* style fix
* use existing DataPartStorageBuilder instead of new one
* Refactor part clone to make it more readable and maintainable
* Add MergeTreeDataPartCloner docs
* define ErrorCodes::BAD_ARGUMENTS
* Rebase
* camel case methods
* address some comments
* yet another rebase?
* Move from integ tests to stateless tests
* address more comments
* add finalize on min_max_idx files
* Add sync option to DistinctPartitionExpCloner
* just a temp test
* revert temp change
* Use echoOn to distinguish test queries
* remove comment
* fix build issue during rebase
* atempt to fix build after rebase
* finally fix build
* clear minmaxidx hyperrectangle before loading it
* Fix error on min_max files deletion where it was being assumed that partition expression contained all columns
* get it to the state it was previously
* add missing include
* getting functional?
* refactoring and renaming
* some more refactoring
* extern bad arguments
* try to fix style
* improvements and docs
* remove duplicate includes
* fix crash
* make tests more stable by ordering
* rebase once again..
* fix
* make ci happy?
* fix rebase issues
* docs
* rebase, but prolly needs to be improved
* refactor out from nasty inheritance to static methods
* fix style
* work around optional
* refactor & integrate some changes
* update column_type
* add tests by dencrane
* set utc
* fix ref file
* fix tests
* use MergeTree instead of SummingMergeTree
* mark MergeTreeDataPart::getBlock as const
* address a few comments
* compute module function name size at compile time
* simplify branching in getPartitionAstFieldsCount
* remove column_indexes argument
* merge getBlock with buildBlock
* add some const specifiers
* small adjustments
* remove no longer needed isNull check
* use std::min and max to update global min max idx
* add some assertions
* forward declare some symbols
* fix grammar
* forward decl
* try to fix build..
* remove IFunction forward decl
* Revert "use std::min and max to update global min max idx"
This reverts commit b2fe79dda7
.
* Revert "remove no longer needed isNull check"
This reverts commit 129db2610f
.
* Revert "Revert "remove no longer needed isNull check""
This reverts commit 9416087dd8
.
* Revert "Revert "use std::min and max to update global min max idx""
This reverts commit 20246d4416
.
* remove some comments
* partial use of MonotonicityCheckMatcher
* ranges
* remove KeyDescriptionMonotonicityChecker
* remove duplication of applyfunction
* move functions to anonymous namespace
* move functions to cpp
* Relax partition compatibility requirements by accepting subset, add tests from partitioned to unpartitioned
* updte reference file
* Support for partition by a, b, c to partition by a, b
* refactoring part 1
* refactoring part 2, use hyperrectangle, still not complete
* refactoring part 3, build hyperrectangle with intersection of source & destination min max columns
* Support attaching to table with partition expression of multiple expressions
* add tests
* rename method
* remove some code duplication
* draft impl for replicatedmergetree, need to dive deeper
* ship ref file
* fix impl for replicatedmergetree..
* forbid attach empty partition replicatedmergetree
* Add replicated merge tree integration tests
* add test missing files
* fix black
* do not check for monotonicity of empty partition
* add empty tests & fix replicated
* remove no longer needed buildBlockWithMinMaxINdexes
* remove column logic in buildHyperrectangle
* simplify implementation by using existing methods
* further simplify implementation
* move all MergeTreeDataPartClone private methods to .cpp file
* decrease decomposition
* use different namespaces
* reduce code duplication
* fix style
* address a few comments
* add chassert to assert arguments size on MonotonicityCheckVisitor
* remove deleteMinMaxFiles method
* remove useless checks from sanitycheck
* add tests for attach partition (not id)
* Remove sanityCheckASTPartition and bring back conditional getPartitionIDFromQuery
* remove empty block comment
* small fixes
* fix formatting
* add missing include
* remove duplicate iuncludes
* trigger ci
* reduce some code duplication
* use updated partition id on replicatedmergetree
* fix build
* fix build
* small refactor
* do not use insert increment on fetch part
* remove duplicate includes
* add one more integ test
* black
* black
* rely on partition exp instead of partition id on replicated part fetch to decide if it is a different partition exp
* add one more integ test
* add order by clause
* fix black
---------
Co-authored-by: Alexey Milovidov <milovidov@clickhouse.com>
2024-01-22 21:00:04 +01:00
Kruglov Pavel
0829de8928
Merge pull request #57599 from Khatskevich/khatskevich/fix_docs
...
Improve named collections documentation
2024-01-22 12:54:57 +01:00
Kruglov Pavel
20379d34d5
Merge branch 'master' into variant-data-type
2024-01-19 23:17:42 +01:00
filimonov
7635da91a8
Update rename.md
...
Remove wrong note. RENAME is supported by most of database engines (including old Ordinary).
2024-01-19 21:55:41 +01:00
Lino Uruñuela
4a6c2d21ff
Update executable.md - Fix script name in SQL example
...
It uses 'generate_random.py' in 'The following Python script is named generate_random.py and is saved in the user_scripts folder....'
However, in the SQL example, it uses 'my_script.py'.
'SELECT * FROM executable('generate_random.py', TabSeparated, 'id UInt32, random String', (SELECT 10))'
2024-01-19 12:17:22 +01:00
Robert Schulze
1bfeee1954
Some fixups
2024-01-18 20:49:50 +00:00
Robert Schulze
15700592f7
Merge remote-tracking branch 'ClickHouse/master' into column_level_compress_block
2024-01-18 19:12:57 +00:00
Kruglov Pavel
5444cde408
Merge branch 'master' into variant-data-type
2024-01-18 18:31:27 +01:00
Robert Schulze
316669b90f
Merge pull request #58396 from zenmiao7/u/zhengmiao/AddArrayFunctionShingles
...
Add function `arrayShingles()`
2024-01-18 11:38:56 +01:00
Duc Canh Le
b16a4cf361
add document
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-01-18 07:55:44 +00:00
Srikanth Chekuri
c23c7e0b6f
feat: add DDSketch quantile ( #56342 )
...
* feat: add DDSketch quantile
* Fix StyleCheck
* Move quantileddsketch.md under right dir
* Update stateless test number and add stateful test
* Throw exception when relative accuracy is too low
* Update test number
* Fix undefined behaviour for empty store
* Fix quantileGK test
* Update test numbers
* Update src/AggregateFunctions/
* Throw exception on out of range values
* Update relative accuracy docs and add encoding details
* Address review comments and suggestions
* Remove unused function
* Address alexey review comments
* Remove unused function isFloat64FieldType
* Throw error on invalid relative accuracy
* Simplify mapping
* Address remaining review comments
* Add effective memory usage suggestions
* Fix Stylecheck
* Fix fast test
* Incorporate bins capacity suggestion
* Fix fuzzer
* Remove inheritance in Mapping, Store and DDSketch
* Add checks for bin resizing
* Add note about the binary compatible implementation
2024-01-17 19:51:32 -08:00
Yarik Briukhovetskyi
8dce581ae7
update ci
2024-01-17 14:14:15 +01:00
Yarik Briukhovetskyi
9fbe2296db
Update docs/en/sql-reference/table-functions/executable.md
2024-01-17 13:04:17 +01:00
Robert Schulze
84ab20ff77
Some fixups
2024-01-17 12:01:52 +00:00
Robert Schulze
22534c69c4
Merge remote-tracking branch 'ClickHouse/master' into u/zhengmiao/AddArrayFunctionShingles
2024-01-17 10:49:11 +00:00
avinzhang
74f2864f20
Update executable.md
...
Adding the sentence on the requirement to run the script.
2024-01-17 17:42:59 +10:00
Anton Popov
134d389bea
Merge remote-tracking branch 'upstream/master' into HEAD
2024-01-15 18:23:25 +00:00
Alexander Tokmakov
5128607995
Merge pull request #58393 from jaymebrd/feat/add-from-modifier-sync-replica-lightweight
...
add `from srcreplicas` modifier for `SYSTEM SYNC REPLICA LIGHTWEIGHT`
2024-01-14 20:53:16 +01:00
UnamedRus
77aaecd6ed
Another doc fix
2024-01-14 00:11:19 +00:00
UnamedRus
877c643955
fix docs
2024-01-13 23:53:05 +00:00
UnamedRus
090f05cf6c
return docs back, added test
2024-01-14 02:19:04 +03:00
robot-ch-test-poll4
4c5884b1d9
Merge pull request #58701 from ClickHouse/docs/assume-contraint
...
Adds documentation for `ASSUME CONSTRAINT`
2024-01-11 17:04:48 +01:00
robot-clickhouse-ci-1
5c47a4fa91
Merge pull request #58666 from ClickHouse/docs/data-faster-than-datetime
...
Explains that date is generally faster than datetime.
2024-01-11 10:17:54 +01:00
Kseniia Sumarokova
e74f8e9095
Update docs/en/sql-reference/data-types/datetime.md
2024-01-11 09:50:48 +01:00
robot-ch-test-poll
498894a15c
Merge pull request #58700 from ClickHouse/docs/arrayjoin-short-circuit-function-eval-no-no
...
Adds info about not using `arrayJoin` with `short_circuit_function_evaluation`.
2024-01-11 02:22:11 +01:00
johnnymatthews
2bfe7a2cab
Adds docs for ASSUME CONSTRAINT.
2024-01-10 21:13:21 -04:00
johnnymatthews
826a39b732
Adds arrayJoin exception. Prettifies file. Fixes spelling.
2024-01-10 20:43:19 -04:00
johnnymatthews
b276694ac2
Adds ALL qualifier to JOIN.
2024-01-10 13:17:04 -04:00
johnnymatthews
4723a9c082
Explains that date is generally faster than datetime.
2024-01-10 11:50:02 -04:00
Robert Schulze
582a9cc2a7
Merge pull request #58655 from rschu1ze/docs-match
...
Document that `match()` can use `ngrambf_v1` and `tokenbf_v1` indexes
2024-01-10 15:43:52 +01:00
vdimir
263c6e9c95
Merge pull request #58608 from yariks5s/remove_order_by_requirement_paste_join
...
Remove order by requierement in PASTE JOIN
2024-01-10 15:18:18 +01:00
Robert Schulze
27e809a4f5
Add match() to supported functions for token/ngrambf_v1 indexes
2024-01-10 13:39:19 +00:00
Robert Schulze
92692bc57c
Fix links
2024-01-10 13:36:54 +00:00
Robert Schulze
a0128e0f51
Merge pull request #58544 from rschu1ze/sqid-decode
...
Add `sqidDecode()` function
2024-01-10 13:47:13 +01:00
Robert Schulze
4cacfa6b43
Merge pull request #57509 from jinjunzh/qatzstd_main
...
Add Intel-QAT-based `ZSTD_QAT` compression codec
2024-01-10 10:31:39 +01:00
Robert Schulze
ced9e93ac6
Merge remote-tracking branch 'rschu1ze/master' into qatzstd_main
2024-01-09 20:36:02 +00:00
Yarik Briukhovetskyi
aef24c0621
Merge branch 'ClickHouse:master' into remove_order_by_requirement_paste_join
2024-01-09 17:03:54 +01:00
Robert Schulze
69ba1a706a
Merge remote-tracking branch 'rschu1ze/master' into string-similarity
2024-01-09 15:22:52 +00:00
Yarik Briukhovetskyi
c8f97e877f
fix typo
2024-01-09 13:31:15 +01:00
yariks5s
dc4cb2fa0e
add docs
2024-01-09 11:46:54 +00:00
Robert Schulze
64ab30f446
Merge pull request #57078 from ClibMouse/seriesDecompose
...
Seasonal decompose of time series into seasonal, trend and residue components
2024-01-09 11:18:13 +01:00
Bhavna Jindal
b2434d0c10
minor refactoring and cosmetic changes
2024-01-08 10:49:09 -08:00
Kruglov Pavel
b947609b8e
Merge branch 'master' into variant-data-type
2024-01-08 15:04:51 +01:00
Jayme Bird
f7173004cc
update docs
2024-01-08 12:40:05 +00:00
Robert Schulze
0f51e32bb5
Rename from ZSTDQPL to ZSTD_QPL
2024-01-07 17:47:31 +00:00
Robert Schulze
53965bb9f1
Merge remote-tracking branch 'rschu1ze/master' into qatzstd_main
2024-01-07 14:11:22 +00:00
Robert Schulze
ee0738e3df
Implement jaroSimilarity + jaroWinklerSimilarity
2024-01-07 08:34:41 +00:00
Robert Schulze
7d98fdede7
Implement Dramerau-Levenshtein distance
2024-01-07 08:34:41 +00:00
Robert Schulze
d54e500832
Merge remote-tracking branch 'rschu1ze/master' into punycode-revert-revert
2024-01-07 08:08:46 +00:00
Robert Schulze
adebc372d7
Improve wording in docs
2024-01-07 08:07:03 +00:00
Robert Schulze
44b9547fba
Rename decode/encodeSqid() to sqidDecode/Encode()
2024-01-05 21:40:35 +00:00
Bhavna Jindal
22474f6b38
changed 2nd argument type to UInt and other cosmetic changes
2024-01-05 11:39:52 -08:00
Robert Schulze
f6ecf2b617
Add decode function for sqids
2024-01-05 13:33:40 +00:00
Robert Schulze
8169b3e17f
Merge remote-tracking branch 'rschu1ze/master' into punycode-revert-revert
2024-01-05 12:19:46 +00:00
Robert Schulze
2cc2a9089c
Incorporate review feedback
2024-01-05 12:18:21 +00:00
Blacksmith
f213e880eb
Add doc for shingles function.
2024-01-05 04:11:15 +08:00
Robert Schulze
76b7cddb18
Update docs
2024-01-04 16:29:43 +00:00
Kruglov Pavel
cc7d7e3811
Merge pull request #58456 from mneedham/patch-1
...
Add output_format_decimal_trailing_zeros setting for trailing zeros
2024-01-04 15:32:31 +01:00
Aliaksei Khatskevich
ad28d1a124
Add named collections to mysql table function docs
2024-01-04 09:22:41 +01:00
Aliaksei Khatskevich
172ec325e2
Add disclaimer that redis does not support named collections
2024-01-04 09:22:40 +01:00
Aliaksei Khatskevich
9060a1bbd2
Add named collections to s3Cluster table function docs
2024-01-04 09:22:40 +01:00
Aliaksei Khatskevich
e75cc5d50d
Add named collections to gcs table function docs
2024-01-04 09:22:40 +01:00
Aliaksei Khatskevich
e98d576fb8
Add named collections to s3 table function docs
2024-01-04 09:22:40 +01:00
Aliaksei Khatskevich
c3f1d0259a
Add named collections to remote table function docs
2024-01-04 09:22:40 +01:00
Aliaksei Khatskevich
741757634f
Improve redis table function documentation
2024-01-04 09:22:39 +01:00
Aliaksei Khatskevich
02db6c6b2b
Fix postgresql table function arguments documentation
2024-01-04 09:22:39 +01:00
Robert Schulze
f652c6050c
Implement idnaEn/Decode()
2024-01-03 18:08:32 +00:00
Bhavna Jindal
62521d30ce
fix style-check
2024-01-03 09:34:58 -08:00
Bhavna Jindal
8a7eaed07e
Added additional testcases
2024-01-03 09:16:32 -08:00
Mark Needham
3125482631
Add output_format_decimal_trailing_zeros setting for trailing spaces
2024-01-03 14:25:03 +00:00
Kruglov Pavel
4d8cf71ba7
Merge branch 'master' into variant-data-type
2024-01-03 15:21:23 +01:00
zvonand
89beb32e64
Edit docs for toWeek()
2024-01-03 13:10:14 +01:00
Robert Schulze
b5d7ea2b02
Introduce OrNull() overloads for punycodeEncode/Decode()
2024-01-03 10:50:00 +00:00
Robert Schulze
2186aa8f21
Revert "Revert "Implement punycode encoding/decoding""
...
This reverts commit 345d29a3c1
.
2024-01-03 08:03:01 +00:00
Bhavna Jindal
c0cff7b4f3
handled edge cases and addresses review comments
2024-01-02 08:52:28 -08:00
Bhavna Jindal
5c34ddab09
implemneted seriesDecomposeSTL method
2024-01-02 08:52:23 -08:00
Alexey Milovidov
78523639e0
Remove function
2023-12-30 14:52:54 +01:00
Alexey Milovidov
ea03cc82aa
Merge pull request #58320 from ClickHouse/mv3
...
Refreshable materialized views again
2023-12-29 14:44:50 +01:00
Alexey Milovidov
09181b6c37
Merge pull request #58335 from lingtaolf/feature/sparkBar_alias_to_sparkbar
...
sparkBar as an alias to sparkbar
2023-12-29 13:02:55 +01:00
凌涛
57c57360db
add doc
2023-12-29 10:43:11 +08:00
Michael Kolupaev
96c68e5aae
Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY
2023-12-28 17:56:06 +00:00
Michael Kolupaev
bda01ca9db
Spelling
2023-12-28 17:56:05 +00:00
Michael Kolupaev
edd120e8be
Make it experimental
2023-12-28 17:56:05 +00:00
Michael Kolupaev
f0417d0ec3
Things
2023-12-28 17:56:05 +00:00
Michael Kolupaev
0fc7535eba
Fixes
2023-12-28 17:56:05 +00:00
Michael Kolupaev
609b2c216c
Fix some of the CI
2023-12-28 17:56:05 +00:00
Michael Kolupaev
8b8ef41407
Documentation
2023-12-28 17:56:05 +00:00
Anton Popov
482e01dea3
add docs
2023-12-28 17:36:56 +00:00
Alexander Tokmakov
38fe70c68a
Revert "Refreshable materialized views (takeover)"
2023-12-28 13:12:20 +01:00
Alexey Milovidov
a2faa65b08
Merge pull request #56946 from ClickHouse/mv
...
Refreshable materialized views (takeover)
2023-12-28 09:29:44 +01:00
Alexey Milovidov
345d29a3c1
Revert "Implement punycode encoding/decoding"
2023-12-28 09:12:22 +03:00
Michael Kolupaev
b9cbecb0df
Remove pausing, enable multithreading, kick off refresh on table creation unless the query says EMPTY
2023-12-27 20:24:56 +00:00
Michael Kolupaev
dbf8fa23df
Spelling
2023-12-27 20:24:55 +00:00
Michael Kolupaev
18cc5d1b76
Make it experimental
2023-12-27 20:24:55 +00:00
Michael Kolupaev
538b23d862
Things
2023-12-27 20:24:55 +00:00
Michael Kolupaev
802961f0a2
Fixes
2023-12-27 20:24:55 +00:00
Michael Kolupaev
673743e2ac
Fix some of the CI
2023-12-27 20:24:55 +00:00
Michael Kolupaev
7786b12a89
Documentation
2023-12-27 20:24:55 +00:00
Kruglov Pavel
4b2a0b99fc
Update docs/en/sql-reference/functions/other-functions.md
2023-12-27 20:02:50 +01:00
Alexey Milovidov
11ca0b7b44
Merge pull request #58137 from ClickHouse/thomoco-patch-4
...
Update from.md
2023-12-23 05:22:15 +01:00
Alexey Milovidov
bcda9b9d6f
Update from.md
2023-12-23 07:21:43 +03:00
jinjunzh
aaf98f0ed7
refine setting with enable_zstd_qat_codec
2023-12-22 14:24:15 -05:00
robot-ch-test-poll2
97c85e6e41
Merge pull request #58147 from cwurm/patch-3
...
Update insert-into.md: Clarify position of SETTINGS clause
2023-12-22 15:59:17 +01:00
Yarik Briukhovetskyi
483a377834
Merge pull request #57995 from yariks5s/paste_join
...
Implementing PASTE JOIN
2023-12-22 12:56:06 +01:00
Christoph Wurm
5d8e5ee5d2
Update insert-into.md: Clarify position of SETTINGS clause
...
I've recently stumbled several times trying to figure out where to put the `SETTINGS` when inserting `VALUES` and `FROM INFILE`, so I'm clarifying it here in the docs.
2023-12-22 11:40:46 +00:00
Thom O'Connor
6e0e4d154d
Update from.md
...
Updated the SELECT...FROM...FINAL documentation to add better guidance to the use of FINAL, rather than saying "avoid using it"
2023-12-21 12:01:00 -07:00
robot-clickhouse-ci-1
cc23ddd94a
Merge pull request #58094 from cwurm/fix_docs_settings_anchors
...
Docs: Fix broken anchors to core settings
2023-12-20 19:59:47 +01:00
Christoph Wurm
9def89d416
Fix anchors to settings.md
2023-12-20 18:26:36 +00:00
Kruglov Pavel
ca7001d70f
Merge pull request #57850 from shanielh/feature/s3-session-token
...
Feature/s3 session token
2023-12-20 17:22:09 +01:00
jinjunzh
372de8a046
refine patch
2023-12-20 10:12:24 -05:00
Anton Popov
87d0cec055
Merge pull request #57433 from CurtizJ/materialize-lightweight-delete
...
Add mutation command `APPLY DELETED MASK`
2023-12-20 14:44:11 +01:00
vdimir
ae4270465d
Merge pull request #57544 from ClickHouse/vdimir/dict_hashed_array_shard
...
Support SHARDS for HashedArrayDictionary
2023-12-20 13:02:26 +01:00
Robert Schulze
ecb6f31211
Merge pull request #57969 from rschu1ze/punycode-is-cool
...
Implement punycode encoding/decoding
2023-12-20 10:20:34 +01:00
Kruglov Pavel
087946f385
Merge branch 'master' into variant-data-type
2023-12-20 00:40:18 +01:00
robot-ch-test-poll3
39b77ddc02
Merge pull request #56138 from crackhead-koala/add-documentation-for-sample-size-functions
...
Add documentation for minSampleSizeConversion and minSampleSizeContinous
2023-12-19 23:19:55 +01:00
Yarik Briukhovetskyi
a58c35f2b4
fix docs
2023-12-19 21:30:35 +01:00
Yarik Briukhovetskyi
6e816d45ae
Merge branch 'master' into paste_join
2023-12-19 20:02:24 +01:00
yariks5s
4e418a89d9
fixed suggestions
2023-12-19 19:00:37 +00:00
avogar
319ae440b6
Implement Variant data type
2023-12-19 16:45:15 +00:00
Robert Schulze
952175ce39
Merge pull request #57875 from zhongyuankai/order_by_all
...
Support `ORDER BY ALL`
2023-12-19 13:38:07 +01:00
Robert Schulze
6053fa9d89
Merge remote-tracking branch 'rschu1ze/master' into docs-mv-table-engine
2023-12-19 11:52:26 +00:00
Robert Schulze
00c407ecc1
Merge remote-tracking branch 'rschu1ze/master' into punycode-is-cool
2023-12-19 06:27:23 +00:00
Shani Elharrar
679a0e1300
StorageS3 / TableFunctionS3: Allow passing session_token to AuthSettings
...
This can help users that want to pass temporary credentials that
issued by AWS in order to load data from S3 without changing
configuration or creating an IAM User.
Fixes #57848
2023-12-19 08:06:36 +02:00
Yarik Briukhovetskyi
0671ade7be
Merge branch 'ClickHouse:master' into date_trunc_docs_enhancement
2023-12-18 18:07:31 +01:00
yariks5s
1a66dd94fa
init
2023-12-18 15:37:02 +00:00
yariks5s
37216ab312
docs
2023-12-18 15:06:34 +00:00
Robert Schulze
414a2893d0
Merge pull request #57821 from rschu1ze/consolidate-substring-tests
...
Dumb down `substring()` tests
2023-12-18 12:32:20 +01:00
Alexey Milovidov
33cf8842bc
Merge branch 'master' into fix-arrayfold
2023-12-18 04:57:07 +01:00
Robert Schulze
19c8ac567f
Implement punycodeEncode()/Decode()
2023-12-17 17:04:28 +00:00
Robert Schulze
9033c96e29
Some fixups
2023-12-17 09:11:16 +00:00
Robert Schulze
2cfb543b33
Doc updates
2023-12-16 18:48:23 +08:00
zhongyuankai
01f5b20517
Support ORDER BY ALL
2023-12-16 18:48:23 +08:00
Raúl Marín
946defa8a6
Merge pull request #57860 from zvonand/zvonand-fix-57819
...
Try to fix memory leak in StorageHDFS
2023-12-15 11:50:17 +01:00
Julia Kartseva
7a5b40563a
Merge pull request #57574 from ClibMouse/dev-seriesPeriodDetect
...
Revert "Revert "Implemented series period detect method using pocketfft lib""
2023-12-14 21:10:23 -08:00
Andrey Zvonov
0174b94469
Merge branch 'ClickHouse:master' into zvonand-fix-57819
2023-12-14 20:14:54 +01:00
Bhavna Jindal
bb8589cabe
minor cosmetic changes
2023-12-14 08:34:37 -08:00
Andrey Zvonov
f9579580e9
Retrigger CI + make docs a bit better
2023-12-14 16:34:10 +01:00
Robert Schulze
b36a93a25d
Revert "Remove arrayFold
"
...
This reverts commit 15dc0ed610
.
2023-12-14 09:52:29 +00:00
Alexey Milovidov
e4901323fd
Merge pull request #57836 from ClickHouse/remove-array-fold
...
Remove `arrayFold`
2023-12-14 07:15:29 +01:00
Nikolay Degterinsky
4c8cc4e0bd
Update string-functions.md
2023-12-14 05:32:12 +01:00
Alexey Milovidov
15dc0ed610
Remove arrayFold
2023-12-14 04:34:32 +01:00
andrewzolotukhin
c29007beeb
Fixed typo in string-functions.md
2023-12-14 04:54:52 +02:00
Julia Kartseva
b8d274d070
Add malformed output generation to JSON fuzzer ( #57646 )
...
Randomly modify structural characters of a valid JSON ('{', '}', '[', ']',
':', '"', ',') to generate output that cannot be parsed as JSON.
Follow-up to https://github.com/ClickHouse/ClickHouse/pull/56490
2023-12-13 19:59:31 +01:00
Anton Popov
1960713176
add docs
2023-12-13 17:29:34 +00:00
Robert Schulze
d0a4443bbc
Consolidate substring() tests
2023-12-13 16:49:39 +00:00
jinjunzh
bce1814363
add codec into doc
2023-12-13 11:18:21 -05:00
Robert Schulze
bbd7d0c057
Merge pull request #57277 from slvrtrn/substr-with-enums
...
Add Enums support to `substring` function
2023-12-13 17:03:03 +01:00
Johnny
54abbf146d
Update into-outfile.md
2023-12-13 09:04:07 -04:00
vdimir
398499d253
Support SHARDS for HashedArrayDictionary
2023-12-13 13:00:28 +00:00
johnnymatthews
5467670741
Mentions that APPEND or TRUNCATE should be used with INTO-OUTFILE.
2023-12-12 11:13:34 -04:00
Robert Schulze
e6372d5528
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums
2023-12-12 12:59:30 +00:00
Bhavna Jindal
1ea8cb2a45
Added more testcases and spell check
2023-12-11 08:48:10 -08:00
Robert Schulze
c141dd1330
Merge pull request #57549 from rschu1ze/format-arbitrary-types
...
Support arguments of arbitary type in function `format()`
2023-12-11 12:33:51 +01:00
Robert Schulze
9e434d43d7
Merge remote-tracking branch 'rschu1ze/master' into substr-with-enums
2023-12-11 10:21:08 +00:00
Alexey Milovidov
5a33fdcd4d
Merge pull request #57645 from bharatnc/ncb/sha512-256
...
add SHA512_256 function
2023-12-10 18:02:09 +01:00
Alexey Milovidov
0d1bdff347
Deprecate LIVE VIEW
2023-12-09 16:57:42 +01:00
Bhavna Jindal
1f58b0f150
Merge branch 'master' into dev-seriesPeriodDetect
2023-12-08 10:26:39 -05:00
Bhavna Jindal
94943ec83d
fix for non-constant arguments
2023-12-08 07:10:47 -08:00
Bharat Nallan Chakravarthy
e01e6671b3
Merge remote-tracking branch 'upstream/master' into ncb/sha512-256
2023-12-07 23:53:18 -08:00
Bharat Nallan Chakravarthy
2c1f57ba40
add docs
2023-12-07 08:58:11 -08:00
Alexey Milovidov
11920e751a
Merge pull request #57592 from bharatnc/ncb/alias-format-readable-size
...
Add FORMAT_BYTES as an alias for formatReadableSize
2023-12-07 15:15:56 +01:00
Andrey Zvonov
f0bf5ef3c8
Update fileCluster.md
2023-12-07 13:00:00 +01:00
Robert Schulze
554c5d690c
Merge remote-tracking branch 'rschu1ze/master' into format-arbitrary-types
2023-12-07 09:36:39 +00:00
Bharat Nallan Chakravarthy
19e96c4351
add docs
2023-12-06 14:08:51 -08:00
Bhavna Jindal
dad268c33b
Revert "Revert "Implemented series period detect method using pocketfft lib""
...
This reverts commit d7d83c99e5
.
2023-12-06 13:31:49 -08:00
Robert Schulze
1276c3ab80
Try to fix broken links
2023-12-06 08:48:56 +00:00
Robert Schulze
c0d56c7bee
Implement format() with arbitrary arguments
2023-12-05 22:51:30 +00:00
Robert Schulze
afa6e4388b
Move docs of format() from general string functions to replacing string functions
2023-12-05 20:04:42 +00:00
slvrtrn
e275080f52
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-05 19:48:10 +01:00
Robert Schulze
f56dd6561f
Merge remote-tracking branch 'rschu1ze/master' into revert-revert-sqid
2023-12-05 18:41:10 +00:00
Alexey Milovidov
d7d83c99e5
Revert "Implemented series period detect method using pocketfft lib"
2023-12-05 18:17:07 +03:00
Nikolay Degterinsky
a776a5cac5
Merge pull request #57483 from joelynch/stop-listen-tcp-secure
...
bugfix: correctly parse SYSTEM STOP LISTEN TCP SECURE
2023-12-05 15:25:34 +01:00
Alexey Milovidov
2988f6f92a
Revert "Add new aggregation function groupArraySorted()"
2023-12-05 15:31:17 +03:00
Robert Schulze
f1a2b46d60
Incorporate feedback
2023-12-05 12:28:28 +00:00
Robert Schulze
a2cd240317
Revert "Revert "Add sqid()
function""
...
This reverts commit 8d5d0ef38f
.
2023-12-05 10:50:30 +00:00
Alexey Milovidov
8d5d0ef38f
Revert "Add sqid()
function"
2023-12-05 13:45:33 +03:00
Alexey Milovidov
cbea3545aa
Revert "add function getClientHTTPHeader"
2023-12-05 13:34:34 +03:00
robot-clickhouse
22f840e24b
Merge pull request #57487 from ClickHouse/update/uniqUpTo-usage-example
...
Adds usage example for uniqUpTo.
2023-12-05 07:04:28 +01:00
Alexey Milovidov
8603b4e92a
Update docs/en/sql-reference/aggregate-functions/parametric-functions.md
...
Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2023-12-05 08:12:47 +03:00
Nikolay Degterinsky
9b2cf06eb1
Fix docs
2023-12-05 05:14:19 +01:00
Johnny
ff746fb018
Grammar fixes.
2023-12-04 17:51:38 -04:00
Johnny
4d8084db31
Adds usage example for uniqUpTo.
...
A [user on Twitter](https://twitter.com/Dan_The_Goodman/status/1731453529078796740 ) pointed out that we didn't have a usage example here. This adds an example, and clarifies what `uniqUpTo` does.
2023-12-04 17:48:41 -04:00
joelynch
b312a9f4ee
bugfix: parse system stop listen tcp secure
2023-12-04 19:56:35 +01:00
Robert Schulze
8db3bac7bd
Merge pull request #57442 from awakeljw/dev
...
Add `sqid()` function
2023-12-04 15:50:28 +01:00
Robert Schulze
f6036fbb29
Some fixups
2023-12-03 16:20:59 +00:00
awakeljw
06241de257
fix codes according to the reviews
2023-12-03 22:00:42 +08:00
Arvind Pj
020f1d274d
docs: fix arrayReduce anchor in arrayFold see also
2023-12-02 18:49:58 +05:30
Arvind Pj
0e8cf43982
docs: fix arrayFold anchor in arrayReduce see also
2023-12-02 11:36:09 +05:30
JackyWoo
8a68d51261
Add index to table system.numbers ( #50909 )
2023-12-01 19:59:25 +01:00
slvrtrn
8eff62a4de
Merge remote-tracking branch 'origin' into substr-with-enums
2023-12-01 03:43:48 +01:00
Julia Kartseva
1f8031c6e1
Merge pull request #56892 from icuken/alter_temporary_table
...
allow ALTER for TEMPORARY tables
2023-11-30 18:29:43 -08:00
Raúl Marín
46acd8736c
Merge pull request #57189 from Algunenano/fix_respect_nulls
...
Fix RESPECT NULLS
2023-11-30 20:21:42 +01:00
Sergey Kviatkevich
b76bedb53a
update docs
2023-11-30 21:42:13 +03:00
robot-ch-test-poll3
85be7cf6b8
Merge pull request #57383 from biggerfisch/docs/exists-examples
...
Add more doc examples for the EXISTS operator
2023-11-30 15:25:02 +01:00
Kruglov Pavel
575ee1e665
Merge pull request #56868 from zvonand/zvonand-fileCluster
...
Introduce `fileCluster` table function
2023-11-30 13:49:53 +01:00
Avery Fischer
b75653e449
Add more doc examples for the EXISTS operator
...
The existing documentation for EXISTS makes it look like it only works
as part of a WHERE clause, when in fact, it can be used in many places.
Changing the docs to note that a bit differently with another example
should provide more clarity on the use of this term.
2023-11-30 10:57:44 +01:00
Nikolai Kochetov
024f41888e
Merge pull request #53562 from yariks5s/group_sorted_array_function
...
Add new aggregation function groupArraySorted()
2023-11-29 17:52:01 +01:00
zvonand
c329e382ab
resolve conflicts
2023-11-29 16:03:07 +01:00
Denny Crane
e33efaff9f
Revert "Update date-time-functions.md"
2023-11-28 15:56:51 -04:00
Han Fei
6733438adc
Merge branch 'master' into hanfei/statistic
2023-11-28 16:35:00 +01:00
Robert Schulze
b56b48d2de
Update docs
2023-11-28 14:59:20 +00:00
zvonand
c306d21b54
merge master + resolve conflicts
2023-11-28 15:51:21 +01:00
abakhmetev
23e81d8234
Update date-time-functions.md
...
month as an integer number (01-12) == %m, and not %c
2023-11-28 17:26:42 +03:00
Kruglov Pavel
06b9f8129f
Merge pull request #57298 from nellicus/patch-2
...
replace incorrect field name in coalesce example
2023-11-28 14:59:01 +01:00
Raúl Marín
48fff248e5
Merge remote-tracking branch 'blessed/master' into fix_respect_nulls
2023-11-28 12:28:36 +01:00
Raúl Marín
1a3f4032b1
Fix doc reference
2023-11-28 12:27:35 +01:00
Antonio Andelic
a61f32867e
Merge pull request #56488 from lingtaolf/feature/getHTTPHeader
...
add function getClientHTTPHeader
2023-11-28 11:41:56 +01:00
Robert Schulze
1448276bae
Merge pull request #55872 from azat/hour-no-leading-zero
...
Add ability to parse hours/months without leading zeros
2023-11-28 11:07:00 +01:00
robot-ch-test-poll3
e24b9e5ca2
Merge pull request #57276 from phallstrom/patch-1
...
Update URL to related content about LowCardinality
2023-11-28 10:59:14 +01:00
Antonio Bonuccelli
612c6be204
replace incorrect field name in coalesce example
...
field in the example should be `telegram` (not `icq`)
2023-11-28 10:20:02 +01:00
Ubuntu
a85cf758b0
Fuzz JSON table function
...
Create a table function `fuzzJSON`
An example query:
```
CREATE NAMED COLLECTION json_fuzzer AS json_str={};
SELECT *
FROM fuzzJSON(json_fuzzer, json_str = '{"students" : ["Alice", "Bob"]}', random_seed = 666, max_output_length = 128, probability = 0.9)
LIMIT 3
Query id: 7f802052-efb0-41b4-87fa-03b7dd290e9d
┌─json──────────────────────────────────────────────────────────────────────────────────┐
│ {"ade0yX":[9200406572736542991, true, "sm"]} │
│ {"students":["Alice", "eSN3WO#a6NYTBe0$#OWwyIQ"], "cVoP2BuQugQ":17384271928263249403} │
│ {"students":["Alice", "Bob", "T+-k4+PJGkL%XRRaF2BoeN@&A"]} │
└───────────────────────────────────────────────────────────────────────────────────────┘
```
Next step:
* Generate invalid string
Fixes #35962
add Object('json')
use named collection
2023-11-28 01:58:24 +00:00
slvrtrn
497e5abc47
Add a doc entry.
2023-11-28 00:09:36 +01:00
Philip Hallstrom
6d7f160bcc
Update URL to related content about LowCardinality
2023-11-27 15:05:59 -08:00
Han Fei
7bd2ea3add
Merge branch 'master' into hanfei/statistic
2023-11-27 23:31:23 +01:00