Skip to content

Commit 3954731

Browse files
authored
Merge pull request #4608 from Blargian/fix_links_string_functions
Functions: update anchors following autogenerated string function docs
2 parents c439bcb + 811eb99 commit 3954731

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/cloud/onboard/02_migrate/01_migration_guides/04_snowflake/03_sql_translation_reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ performance, with the minimum number of bytes always used to store a string, and
4343
rather provides only constraints useful for downstream tooling. Other types, such
4444
as `Text` and `NChar`, are simply aliases for this type. ClickHouse conversely
4545
stores all [string data as raw bytes](/sql-reference/data-types/string) with a `String`
46-
type (no length specification required), deferring encoding to the user, with
47-
[query time functions](/sql-reference/functions/string-functions#lengthutf8)
46+
type (no length specification required), deferring encoding to the user, with
47+
[query time functions](/sql-reference/functions/string-functions#lengthUTF8)
4848
available for different encodings. We refer the reader to ["Opaque data argument"](https://utf8everywhere.org/#cookie)
4949
for the motivation as to why. The ClickHouse `String` is thus more comparable
5050
to the Snowflake Binary type in its implementation. Both [Snowflake](https://docs.snowflake.com/en/sql-reference/collation)

docs/use-cases/observability/clickstack/migration/elastic/search.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For simple log and trace exploration, HyperDX provides a [Lucene-style syntax](/
2323

2424
<Image img={hyperdx_search} alt="Search" size="lg"/>
2525

26-
HyperDX's search interface supports this familiar syntax but translates it behind the scenes into efficient SQL `WHERE` clauses, making the experience familiar for Kibana users while still allowing users to leverage the power of SQL when needed. This allows users to exploit the full range of [string search functions](/sql-reference/functions/string-search-functions), [similarity functions](/sql-reference/functions/string-functions#stringjaccardindex) and [date time functions](/sql-reference/functions/date-time-functions) in ClickHouse.
26+
HyperDX's search interface supports this familiar syntax but translates it behind the scenes into efficient SQL `WHERE` clauses, making the experience familiar for Kibana users while still allowing users to leverage the power of SQL when needed. This allows users to exploit the full range of [string search functions](/sql-reference/functions/string-search-functions), [similarity functions](/sql-reference/functions/string-functions#stringJaccardIndex) and [date time functions](/sql-reference/functions/date-time-functions) in ClickHouse.
2727

2828
<Image img={hyperdx_sql} alt="SQL" size="lg"/>
2929

@@ -49,7 +49,7 @@ Both HyperDX and Elasticsearch provide flexible query languages to enable intuit
4949
| Inclusive/exclusive | `duration:{100 TO 200}` (exclusive) | Same | Curly brackets denote exclusive bounds. `*` in ranges are not supported. e.g. `duration:[100 TO *]`|
5050
| Exists check | N/A | `_exists_:user` or `field:*` | `_exists_` is not supported. Use `LogAttributes.log.file.path: *` for `Map` columns e.g. `LogAttributes`. For root columns, these have to exist and will have a default value if not included in the event. To search for default values or missing columns use the same syntax as Elasticsearch ` ServiceName:*` or `ServiceName != ''`. |
5151
| Regex | `match` function | `name:/joh?n(ath[oa]n)/` | Not currently supported in Lucene syntax. Users can use SQL and the [`match`](/sql-reference/functions/string-search-functions#match) function or other [string search functions](/sql-reference/functions/string-search-functions).|
52-
| Fuzzy match | `editDistance('quikc', field) = 1` | `quikc~` | Not currently supported in Lucene syntax. Distance functions can be used in SQL e.g. `editDistance('rror', SeverityText) = 1` or [other similarity functions](/sql-reference/functions/string-functions#jarosimilarity). |
52+
| Fuzzy match | `editDistance('quikc', field) = 1` | `quikc~` | Not currently supported in Lucene syntax. Distance functions can be used in SQL e.g. `editDistance('rror', SeverityText) = 1` or [other similarity functions](/sql-reference/functions/string-functions#jaroSimilarity). |
5353
| Proximity search | Not supported | `"fox quick"~5` | Not currently supported in Lucene syntax. |
5454
| Boosting | `quick^2 fox` | `quick^2 fox` | Not supported in HyperDX at present. |
5555
| Field wildcard | `service.*:error` | `service.*:error` | Not supported in HyperDX at present. |

0 commit comments

Comments
 (0)