mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 16:50:48 +00:00
minor doc update
This commit is contained in:
parent
3380c91206
commit
c7d7df75f2
@ -1304,6 +1304,8 @@ Escape sequences supported: `\x`, `\N`, `\a`, `\b`, `\e`, `\f`, `\n`, `\r`, `\t`
|
||||
Non standard escape sequences are returned as it is (including the backslash) unless they are one of the following:
|
||||
`\\`, `'`, `"`, `backtick`, `/`, `=` or ASCII control characters (c <= 31).
|
||||
|
||||
Leading escape sequences will be skipped in keys and will be considered invalid for values.
|
||||
|
||||
**Escape sequences with escape sequence support turned on**
|
||||
``` sql
|
||||
arthur :) select extractKeyValuePairsWithEscaping('age:a\\x0A\\n\\0') as kv
|
||||
|
@ -303,7 +303,7 @@ private:
|
||||
SearchSymbols read_quoted_needles;
|
||||
|
||||
/*
|
||||
* Helper method to copy bytes until `character_pos` and process possible escape sequence. Returns number a pair containing a boolean
|
||||
* Helper method to copy bytes until `character_pos` and process possible escape sequence. Returns a pair containing a boolean
|
||||
* that indicates success and a std::size_t that contains the number of bytes read/ consumed.
|
||||
* */
|
||||
std::pair<bool, std::size_t> consumeWithEscapeSequence(std::string_view file, size_t start_pos, size_t character_pos, auto & output) const
|
||||
|
Loading…
Reference in New Issue
Block a user