lwz9103
31dd409d28
Improve compatibility of cast(timestamp as string) with spark
...
remove trailing zeros with the configuration date_time_64_output_format_cut_trailing_zeros_align_to_groups_of_thousands, which defaults to false to maintain consistency with previous behavior.
If config is true, output scale will be dynamic set in (0, 3, 6) according to tailing zeros. See changes in following examples.
- 2012-01-01 00:11:22.000000 -> 2012-01-01 00:11:22
- 2012-01-01 00:11:22.120000 -> 2012-01-01 00:11:22.120
- 2012-01-01 00:11:22.123400 -> 2012-01-01 00:11:22.123400
2024-10-11 14:11:16 +08:00
Konstantin Bogdanov
67c1e89d90
Apply linter changes
2024-10-06 12:29:20 +02:00
Duc Canh Le
de5258128e
update fmtlib version to 9.1.0
...
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-07 06:44:36 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/
2024-05-19 09:39:36 +00:00
Robert Schulze
de2a0be025
Don't access static members through instance
...
- clang-tidy rightfully complains (-readability-static-accessed-through-instance)
- not going to enable the warning for now to avoid breaking the build
2024-04-03 18:50:33 +00:00
János Benjamin Antal
9e8c731e1e
Remove some inclusion of magic enum
2024-03-20 17:00:36 +00:00
Alexey Milovidov
cbf5443585
Remove old code
2024-03-04 00:11:55 +01:00
Blargian
aa8876a611
#58363 - Changes based on review of draft PR - changed output_format_pretty_color to use UInt64Auto. Added isWritingToTerminal function to IO/WriteHelpers.h and updated test
2024-01-12 12:31:57 +02:00
Yakov Olkhovskiy
b92030b485
Merge branch 'master' into feature-server-iface-metrics
2023-11-27 15:44:25 -05:00
Alexey Milovidov
184e6f840e
Remove useless header files
2023-11-06 03:49:55 +01:00
Yakov Olkhovskiy
7887e1e14e
fix
2023-10-28 23:26:38 +00:00
avogar
e8ea41e2d4
Add setting to print pretty deep nested Tuples
2023-09-28 22:17:44 +00:00
irenjj
473ba91c21
Refactor writeAnyMarkdownEscapedString and Add more info into doc.
2023-08-29 23:54:40 +08:00
irenjj
51aa89eed8
Add a setting to automatically escape special characters in Markdown.
2023-08-28 00:10:33 +08:00
Austin Kothig
6b42975d33
Change BE-UUID to work the same as LE-UUID. Included high and low getters to provide cleaner code when accessing undertype.
2023-08-18 08:19:46 -07:00
ltrk2
2846ea49b4
Merge branch 'master' into feature/mergetree-checksum-big-endian-support
2023-08-14 13:02:30 -04:00
Nikolay Degterinsky
7321f5e543
Better
2023-08-10 06:34:10 +00:00
Andrey Zvonov
21097209d2
Revert "Remove toDecimalString
"
2023-07-24 15:41:21 +03:00
Alexey Milovidov
d7cdfb47d3
Fix merge
2023-07-24 01:56:04 +02:00
Alexey Milovidov
5f4756fb33
Remove toDecimalString
2023-07-22 04:54:58 +02:00
ltrk2
ba4072f049
Adapt changes around SipHash
2023-07-19 10:01:58 -07:00
Alexey Milovidov
efb901245b
Merge branch 'master' into ft-thread-scheduling-stacktrace
2023-06-29 11:38:54 +03:00
Nikita Mikhaylov
d24c5ab01f
Merge branch 'master' into fix-ip-aggregate-state
2023-06-27 14:11:26 +02:00
Yakov Olkhovskiy
f11e1c25ee
added to fatal errors handler, added comments
2023-06-24 17:24:54 +00:00
Yakov Olkhovskiy
cf301324fb
Merge branch 'master' into fix-ip-aggregate-state
2023-06-16 12:49:17 -04:00
zvonand
4155d13d69
merge master and resolve conflict
2023-06-16 02:20:32 +02:00
Robert Schulze
8358d29ac7
Merge pull request #50405 from ClibMouse/feature/reservoir-sampler-big-endian-support
...
Implement big-endian support for the deterministic reservoir sampler
2023-06-13 09:55:23 +02:00
Yakov Olkhovskiy
b9df4304d4
Merge branch 'master' into fix-ip-aggregate-state
2023-06-09 10:06:43 -04:00
Andrey Zvonov
d95be4162f
Merge branch 'master' into zvonand-implicit-tz
2023-06-08 18:34:45 +03:00
Yakov Olkhovskiy
760483d8d3
multiple fixes
2023-06-06 04:18:51 +00:00
ltrk2
3938309374
Implement review comments
2023-06-05 08:18:03 -07:00
ltrk2
50654435dc
Implement endianness-independent serialization for UUID
2023-06-02 19:36:37 +00:00
ltrk2
f2e076a443
Implement big-endian support for the deterministic reservoir sampler
2023-05-31 19:33:32 +00:00
Andrey Zvonov
9237b904be
Merge branch 'master' into zvonand-implicit-tz
2023-05-10 01:25:33 +02:00
zvonand
8338d54c34
Merge branch 'master' of github.com:ClickHouse/ClickHouse into zvonand-implicit-tz
2023-05-05 15:50:26 +02:00
zvonand
2b08801ae9
add timezone param
2023-05-05 15:50:19 +02:00
Robert Schulze
d35ff02b8b
Fix writeAnyEscapedString if quote_character is a meta character
...
Function writeAnyEscapedString() escapes
- quote_character with itself or with a backslash, depending on template
parameter escape_quote_with_quote
- some metacharacters with backslash.
If quote_character is a metacharacter, the code previously always quoted
with backslash, independently of escape_quote_with_quote. I didn't find
places which do this but better be on the safe side.
2023-05-05 12:40:48 +00:00
zvonand
a218f010e8
First portion of speedup
...
Do not generate DateLUT for each serialized and deserialized
date
2023-05-05 14:12:14 +02:00
Alexey Milovidov
dd6e8a67fb
Fix error
2023-04-23 15:59:46 +02:00
Alexey Milovidov
6b39c876dc
Fix error
2023-04-23 15:40:39 +02:00
Alexey Milovidov
530b764953
Fix IBM
2023-04-21 12:38:45 +02:00
zvonand
b7bb09d362
upload
2023-03-27 20:19:52 +02:00
zvonand
b9bbda3a6f
add test + fix
2023-03-23 01:42:00 +01:00
zvonand
83ee185fce
upd
2023-03-21 16:33:19 +01:00
zvonand
1bd6eef9c2
readded new funcs + basic tests, big decimals WiP
2023-03-21 13:38:39 +01:00
Alexey Milovidov
d8cda3dbb8
Remove PVS-Studio
2023-02-19 23:30:05 +01:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages ( #45449 )
...
* save format string for NetException
* format exceptions
* format exceptions 2
* format exceptions 3
* format exceptions 4
* format exceptions 5
* format exceptions 6
* fix
* format exceptions 7
* format exceptions 8
* Update MergeTreeIndexGin.cpp
* Update AggregateFunctionMap.cpp
* Update AggregateFunctionMap.cpp
* fix
2023-01-24 00:13:58 +03:00
Alexey Milovidov
e855d3519a
Merge branch 'master' into refactoring-ip-types
2023-01-02 21:58:53 +03:00
Joanna Hulboj
5d7b287e40
FIXUP: Simplify as per PR comment
2022-12-22 20:08:14 +00:00
Joanna Hulboj
501cc390f6
Prevent duplicates in column name hints. Improve formatting.
2022-12-22 16:58:30 +00:00