Azat Khuzhin
315906b380
Add ability to parse hours/months without leading zeros
...
Recently I was looking into one dataset, that has such format.
So I've changed the meaning of the following formatters for
formatDateTime()/parseDateTime(), like in other implementations [1]:
- %l/%k - to handle hours without leading zeros
- %c - handle months without leading zeros
[1]: https://www.php.net/strftime
And since this is kind of behaviour change (even though it is unlikely
will break something), there is a new setting to control this new
behaviour:
- parsedatetime_enable_format_without_leading_zeros=1 (default ON)
- formatdatetime_enable_format_without_leading_zeros=0 (default OFF, since this could change users output)
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-11-26 19:10:17 +01:00
Robert Schulze
4088ec0eac
Merge pull request #57199 from rschu1ze/docs-math-funcs
...
Docs: Improve math function docs
2023-11-25 21:22:53 +01:00
Robert Schulze
2e7c16e138
Fix broken links
2023-11-25 19:47:32 +00:00
Kseniia Sumarokova
ea7c68febe
Merge pull request #56705 from ClickHouse/docs-s3-gcs-improvements
...
[Docs] Add details to S3 and GCS table functions
2023-11-24 16:17:40 +01:00
Robert Schulze
75ceaf6200
Docs: Improve math function docs
2023-11-24 14:31:39 +00:00
Tomáš Hromada
956a8add35
Update other-functions.md
...
Fix `initializeAgregation` typo
2023-11-23 15:57:19 +01:00
Bhavna Jindal
a324bd2780
added macro to enable/disable pocketfft lib
2023-11-21 06:52:47 -08:00
Bhavna Jindal
baaa15b5b0
added macro to enable/disable pocketfft lib
2023-11-21 06:52:47 -08:00
Bhavna Jindal
ad99cb902f
changed method name, updated pocketfft repo reference
2023-11-21 06:52:47 -08:00
Bhavna Jindal
e3826786f1
Added testcases, documentation and addressed comments
2023-11-21 06:52:47 -08:00
slvrtrn
9f96b58979
Update docs, add more tests.
2023-11-20 16:22:47 +01:00
robot-clickhouse-ci-1
4bf3845fbf
Merge pull request #56962 from ClickHouse/docs-count-distinct-perf-tip
...
[Docs] Add perf tip for COUNT(DISTINCT expr)
2023-11-19 20:55:15 +01:00
Justin de Guzman
9d3c62ec41
[Docs] Recommend against OPTIMIZE FINAL in OPTIMIZE page
2023-11-18 18:51:35 -08:00
Justin de Guzman
a894671e8a
[Docs] Add perf tip for COUNT(DISTINCT expr)
2023-11-18 17:53:32 -08:00
Robert Schulze
4353507724
Merge pull request #56540 from slvrtrn/concat-arbitrary-types
...
Support arguments of arbitary type in function `concat()`
2023-11-18 17:21:03 +01:00
slvrtrn
d504ad6e99
Merge remote-tracking branch 'origin' into concat-arbitrary-types
2023-11-17 13:45:12 +01:00
Denny Crane
3765a1c77b
Update random-functions.md
2023-11-16 16:07:49 -04:00
Robert Schulze
0b45e4bfee
Merge remote-tracking branch 'ClickHouse/master' into concat-arbitrary-types
2023-11-15 15:44:36 +00:00
Robert Schulze
f21dd37d18
Some fixups
2023-11-15 15:43:41 +00:00
Robert Schulze
eb08bba607
Update docs
2023-11-15 16:37:24 +01:00
slvrtrn
c7cd4fa972
Update concat docs
2023-11-15 14:57:34 +01:00
Ethan Shea
37dc535d78
Remove tabs
2023-11-13 16:16:07 -05:00
Ethan Shea
207c4c50cb
Improve legibility of window functions list
...
Before, markdown was rendering these as one big paragraph.
2023-11-13 16:12:05 -05:00
justindeguzman
bdb624f20f
[Docs] Add details on S3 table function memory usage/streaming
2023-11-13 13:03:25 -08:00
justindeguzman
de42b7f9e0
[Docs] Add details to S3 and GCS table functions
2023-11-13 12:57:05 -08: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
Denny Crane
c93efc929a
fix typo in the doc
2023-11-13 16:54:21 +03: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
rondo_1895
04b75a3ac9
Update except.md
...
Symbol Error
2023-11-13 11:37:19 +08:00
Robert Schulze
bea529c9a1
Try to stabilize test results
2023-11-12 15:11:38 +00:00
Robert Schulze
a511f41438
Docs: Fix overly long quote which pushed the right pane out of view
2023-11-12 10:51:22 +00:00
Shri Bodas
bc68fcf759
canonicalRand is replaced by randCanonical
2023-11-11 10:11:47 -08:00
Robert Schulze
82f5e92bf5
Update docs of fromUnixTimeStamp[InJodaSyntax]()
2023-11-10 11:11:42 +00:00
Salvatore Mesoraca
7d206cbc3c
NamedCollections: prevent fields overriding in functions call
...
Add syntax in SQL and XML to mark specific fields to allow
override or not.
Also add a new setting to control the default behaviour when
overriding support is not specified.
2023-11-09 17:25:16 +01:00
Robert Schulze
86b8ebf71c
Merge remote-tracking branch 'rschu1ze/master' into arrayRandomSample-improved
2023-11-07 15:25:29 +00:00
Robert Schulze
842cc36598
Update docs
2023-11-07 10:25:27 +00:00
Robert Schulze
54b5d573d7
Merge remote-tracking branch 'rschu1ze/master' into idatatype-convenience-functions
2023-11-07 10:18:30 +00:00
Robert Schulze
e22c673299
Revert "Revert "Add function arrayRandomSample()
""
...
This reverts commit e47e50e30d
.
2023-11-07 10:16:13 +00:00
robot-ch-test-poll1
845a235ad8
Merge pull request #56237 from ClickHouse/justindeguzman-patch-1
...
[Docs] Specify IAM role necessary for GCS table function
2023-11-07 01:20:06 +01:00
Alexey Milovidov
e47e50e30d
Revert "Add function arrayRandomSample()
"
2023-11-07 02:49:11 +03:00
Robert Schulze
8846cc6770
Merge pull request #56327 from rschu1ze/parseQueryOrNull
...
Improve `formatQuery()`
2023-11-06 22:48:16 +01:00
Robert Schulze
5cfcf98d4a
Merge pull request #56277 from rschu1ze/show-columns-connection-type
...
Make type names in `SHOW COLUMNS` dependent on connection type
2023-11-06 16:24:27 +01:00
Robert Schulze
8896134531
Cleanup IDataType convenience functions
2023-11-06 13:25:32 +00:00
Robert Schulze
ae1dcb5254
Move documentation of string similarity functions to better location
2023-11-06 13:25:08 +00:00
vdimir
3b775dee53
Merge pull request #55126 from ClickHouse/vdimir/jaccard_index_perf
...
Add function jaccardIndex back with better performance
2023-11-06 10:39:02 +01:00
Robert Schulze
049c811a38
Make type names in SHOW COLUMNS dependent only on connection type
2023-11-05 21:20:20 +00:00
Robert Schulze
8a64066ee1
+ formatQueryOrNull()
2023-11-05 20:24:23 +00:00
Robert Schulze
480e284db1
Merge pull request #56088 from jh0x/feature-from-days-zero
...
Add function `fromDaysSinceYearZero()`
2023-11-04 00:17:04 +01:00
Nikita Mikhaylov
9666549d15
Merge pull request #56280 from ClickHouse/melvynator-patch-2
...
Update detach.md
2023-11-03 14:45:04 +01:00
vdimir
55a1baf029
Merge pull request #56022 from ClickHouse/vdimir/check_all_tables
...
Add CHECK query for all the tables
2023-11-03 10:10:42 +01:00