Commit Graph

104 Commits

Author SHA1 Message Date
Arthur Passos
28ca29fda2 remove stale comment 2023-11-07 14:31:34 -03:00
Arthur Passos
e4400ec24c add transition from reading key to reading quoted key when double quotes are found 2023-11-07 13:33:02 -03:00
Alexey Milovidov
bb57caa83e
Merge pull request #53180 from ClickHouse/ditch-tons-of-garbage
Ditch tons of garbage
2023-08-10 16:59:51 +03:00
Alexey Milovidov
aa757490bd Ditch tons of garbage 2023-08-09 02:19:02 +02:00
Alexey Milovidov
5561e3e198 Remove garbage and speed up Debug and Tidy builds 2023-08-09 01:44:39 +02:00
vdimir
8b77e2096c
Merge pull request #49760 from arthurpassos/extract_kv_ignore_kv_delimiter_when_reading_value 2023-05-20 13:27:59 +02:00
vdimir
07de815d96
Merge pull request #49836 from arthurpassos/add_extract_kv_max_number_of_pairs_safeguard 2023-05-15 16:31:01 +02:00
Arthur Passos
e8f971aa2b use LIMIT_EXCEEDED instead of TOO_LARGE_MAP_SIZE 2023-05-15 09:25:10 -03:00
Arthur Passos
b06e34a77f Accept key value delimiter as part of value 2023-05-15 13:52:47 +02:00
Arthur Passos
b1549a19a5 Use 0 as unlimited 2023-05-12 11:19:35 -03:00
Arthur Passos
1e3b7af97a Add setting to limit the max number of pairs produced by extractKeyValuePairs 2023-05-12 10:26:05 -03:00
Robert Schulze
922420420c
Merge pull request #49300 from ClickHouse/rs/functdocs
Introduce more fields for in-source function documentation
2023-05-12 11:36:04 +02:00
Robert Schulze
45c28e1221
Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
flynn
236a0d9da0 add alias str_to_map and mapFromString for extractKeyValuePairs 2023-05-03 15:46:17 +00:00
Arthur Passos
434af1dc6d fix ut 2023-04-22 11:19:14 -03:00
Arthur Passos
b7a5a86db2 fix comment 2023-04-21 14:28:10 -03:00
Arthur Passos
9c1d61ba0b address comments and update docs 2023-04-21 11:31:59 -03:00
Arthur Passos
a03de85bab minor doc update 2023-04-20 10:01:34 -03:00
Arthur Passos
c7d7df75f2 minor doc update 2023-04-17 11:20:03 -03:00
Arthur Passos
3380c91206 Add validation for number of arguments provided and update doc examples 2023-04-17 11:15:24 -03:00
Arthur Passos
3523c0fb0e fix escap sequences unit tests, values are not allowed to start with escape sequences anymore 2023-04-13 09:55:51 -03:00
Arthur Passos
41b4f8549f define ILLEGAL_TYPE_OF_ARGUMENT in ArgumentExtractor 2023-04-12 17:15:58 -03:00
Arthur Passos
ee6ad4a461 reject values starting with escape sequences if escaping support is turned on 2023-04-12 15:37:58 -03:00
Arthur Passos
a97fa9a449 add input arguments type validation 2023-04-12 15:36:30 -03:00
Arthur Passos
d381f82843 remove escaping_support parameter left overs 2023-04-06 12:22:47 -03:00
Arthur Passos
52e7a09de7 Use two functions extractKeyValuePairs and extractKeyValuePairsWithEscaping instead of boolean parameter 2023-04-06 12:17:14 -03:00
Arthur Passos
671f4b100c minor renaming 2023-04-06 11:28:40 -03:00
Arthur Passos
46bf0572cb =default for extractkvp constructor 2023-04-05 16:42:50 -03:00
Arthur Passos
a1446764a9 update docs to reflect new boolean argument 2023-04-05 13:27:38 -03:00
Arthur Passos
3c3c38d689 Use boolean column as escaping support argument instead of ColumnString 2023-04-05 13:20:32 -03:00
Arthur Passos
b7c34e4356 more docs 2023-04-05 12:33:30 -03:00
Arthur Passos
ebd22e92ce more docs / comments 2023-04-05 11:53:13 -03:00
Arthur Passos
6dec537b3c more docs 2023-04-05 10:34:39 -03:00
Arthur Passos
5437b7dafa fix clangtidy build 2023-04-05 08:15:49 -03:00
Arthur Passos
10b821fa2e remove big input test as it's outdated 2023-04-04 15:44:14 -03:00
Arthur Passos
22367f84e6 fix undefined mm_is_in_prepare 2023-04-03 18:26:30 -03:00
Arthur Passos
fa1fdf7573 style 2023-04-03 15:28:17 -03:00
Arthur Passos
c1bcfbc57d extract configuration comparisons into meaningful methods 2023-04-03 15:25:18 -03:00
Arthur Passos
607b0c8880 Use different string writers strategies for escaping and non escaping 2023-04-03 15:16:06 -03:00
Arthur Passos
c7c96bfeab refactor state handlers so writer comes from them 2023-04-03 14:19:15 -03:00
Arthur Passos
c80ba3d52e unit tests passing 2023-04-03 13:48:58 -03:00
Arthur Passos
aee9ccb27a validated output against main test case, performance is not the same as before, but still good 2023-04-03 12:45:29 -03:00
Arthur Passos
e52a2982e0 fixed another stringwriter bug, where multi-row input would break because of prev_commit_offset=0 2023-03-31 15:01:42 -03:00
Arthur Passos
0b7792f7b7 fix string writer ub, escape sequence parsing failure and make state machine fully functional (remove extra if statements) 2023-03-31 10:44:39 -03:00
Vasily Nemkov
89ebe61de8 Implemented writing to ColumnString directly via StringWriter 2023-03-30 15:21:22 +02:00
Vasily Nemkov
31a8a7b863 Fixed unit-tests 2023-03-30 09:25:10 +02:00
Vasily Nemkov
4b7005b8b1 Changes discussed with Arthur 2023-03-30 09:24:41 +02:00
Vasily Nemkov
73430b8d57 Minor adjustments 2023-03-29 18:37:44 +02:00
Vasily Nemkov
afc6b66eb3 Fused KeyStateHandler and ValueState togther
Removed some unneeded files and moved code around.
2023-03-29 18:28:14 +02:00
Vasily Nemkov
0a039a9601 Minor optimization of copying data into key 2023-03-29 08:43:03 +02:00