Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
evillique committed Nov 26, 2023
1 parent 62d0d76 commit faa3a43
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 37 deletions.
12 changes: 6 additions & 6 deletions docs/en/engines/table-engines/mergetree-family/mergetree.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,19 +504,19 @@ Indexes of type `set` can be utilized by all functions. The other index types ar

| Function (operator) / Index | primary key | minmax | ngrambf_v1 | tokenbf_v1 | bloom_filter | inverted |
|------------------------------------------------------------------------------------------------------------|-------------|--------|------------|------------|--------------|----------|
| [equals (=, ==)](/docs/en/sql-reference/functions/comparison-functions.md/#function-equals) |||||||
| [notEquals(!=, <>)](/docs/en/sql-reference/functions/comparison-functions.md/#function-notequals) |||||||
| [equals (=, ==)](/docs/en/sql-reference/functions/comparison-functions.md/#equals) |||||||
| [notEquals(!=, <>)](/docs/en/sql-reference/functions/comparison-functions.md/#notequals) |||||||
| [like](/docs/en/sql-reference/functions/string-search-functions.md/#function-like) |||||||
| [notLike](/docs/en/sql-reference/functions/string-search-functions.md/#function-notlike) |||||||
| [startsWith](/docs/en/sql-reference/functions/string-functions.md/#startswith) |||||||
| [endsWith](/docs/en/sql-reference/functions/string-functions.md/#endswith) |||||||
| [multiSearchAny](/docs/en/sql-reference/functions/string-search-functions.md/#function-multisearchany) |||||||
| [in](/docs/en/sql-reference/functions/in-functions#in-functions) |||||||
| [notIn](/docs/en/sql-reference/functions/in-functions#in-functions) |||||||
| [less (<)](/docs/en/sql-reference/functions/comparison-functions.md/#function-less) |||||||
| [greater (>)](/docs/en/sql-reference/functions/comparison-functions.md/#function-greater) |||||||
| [lessOrEquals (<=)](/docs/en/sql-reference/functions/comparison-functions.md/#function-lessorequals) |||||||
| [greaterOrEquals (>=)](/docs/en/sql-reference/functions/comparison-functions.md/#function-greaterorequals) |||||||
| [less (<)](/docs/en/sql-reference/functions/comparison-functions.md/#less) |||||||
| [greater (>)](/docs/en/sql-reference/functions/comparison-functions.md/#greater) |||||||
| [lessOrEquals (<=)](/docs/en/sql-reference/functions/comparison-functions.md/#lessorequals) |||||||
| [greaterOrEquals (>=)](/docs/en/sql-reference/functions/comparison-functions.md/#greaterorequals) |||||||
| [empty](/docs/en/sql-reference/functions/array-functions#function-empty) |||||||
| [notEmpty](/docs/en/sql-reference/functions/array-functions#function-notempty) |||||||
| [has](/docs/en/sql-reference/functions/array-functions#function-has) |||||||
Expand Down
12 changes: 6 additions & 6 deletions docs/en/sql-reference/functions/comparison-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Strings are compared byte-by-byte. Note that this may lead to unexpected results

A string S1 which has another string S2 as prefix is considered longer than S2.

## equals, `=`, `==` operators
## equals, `=`, `==` operators {#equals}

**Syntax**

Expand All @@ -32,7 +32,7 @@ Alias:
- `a = b` (operator)
- `a == b` (operator)

## notEquals, `!=`, `<>` operators
## notEquals, `!=`, `<>` operators {#notequals}

**Syntax**

Expand All @@ -44,7 +44,7 @@ Alias:
- `a != b` (operator)
- `a <> b` (operator)

## less, `<` operator
## less, `<` operator {#less}

**Syntax**

Expand All @@ -55,7 +55,7 @@ less(a, b)
Alias:
- `a < b` (operator)

## greater, `>` operator
## greater, `>` operator {#greater}

**Syntax**

Expand All @@ -66,7 +66,7 @@ greater(a, b)
Alias:
- `a > b` (operator)

## lessOrEquals, `<=` operator
## lessOrEquals, `<=` operator {#lessorequals}

**Syntax**

Expand All @@ -77,7 +77,7 @@ lessOrEquals(a, b)
Alias:
- `a <= b` (operator)

## greaterOrEquals, `>=` operator
## greaterOrEquals, `>=` operator {#greaterorequals}

**Syntax**

Expand Down
14 changes: 7 additions & 7 deletions docs/ru/engines/table-engines/mergetree-family/mergetree.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ SELECT count() FROM table WHERE u64 * i32 == 10 AND u64 * length(s) >= 1234

Поддерживаемые типы данных: `Int*`, `UInt*`, `Float*`, `Enum`, `Date`, `DateTime`, `String`, `FixedString`.

Фильтром могут пользоваться функции: [equals](../../../sql-reference/functions/comparison-functions.md), [notEquals](../../../sql-reference/functions/comparison-functions.md), [in](../../../sql-reference/functions/in-functions.md), [notIn](../../../sql-reference/functions/in-functions.md), [has](../../../sql-reference/functions/array-functions.md#hasarr-elem), [hasAny](../../../sql-reference/functions/array-functions.md#hasany), [hasAll](../../../sql-reference/functions/array-functions.md#hasall).
Фильтром могут пользоваться функции: [equals](../../../sql-reference/functions/comparison-functions.md#equals), [notEquals](../../../sql-reference/functions/comparison-functions.md#notequals), [in](../../../sql-reference/functions/in-functions.md), [notIn](../../../sql-reference/functions/in-functions.md), [has](../../../sql-reference/functions/array-functions.md#hasarr-elem), [hasAny](../../../sql-reference/functions/array-functions.md#hasany), [hasAll](../../../sql-reference/functions/array-functions.md#hasall).

**Примеры**

Expand All @@ -354,19 +354,19 @@ INDEX b (u64 * length(str), i32 + f64 * 100, date, str) TYPE set(100) GRANULARIT

| Функция (оператор) / Индекс | primary key | minmax | ngrambf_v1 | tokenbf_v1 | bloom_filter |
|------------------------------------------------------------------------------------------------------------|-------------|--------|-------------|-------------|---------------|
| [equals (=, ==)](../../../sql-reference/functions/comparison-functions.md#function-equals) ||||||
| [notEquals(!=, &lt;&gt;)](../../../sql-reference/functions/comparison-functions.md#function-notequals) ||||||
| [equals (=, ==)](../../../sql-reference/functions/comparison-functions.md#equals) ||||||
| [notEquals(!=, &lt;&gt;)](../../../sql-reference/functions/comparison-functions.md#notequals) ||||||
| [like](../../../sql-reference/functions/string-search-functions.md#function-like) ||||||
| [notLike](../../../sql-reference/functions/string-search-functions.md#function-notlike) ||||||
| [startsWith](../../../sql-reference/functions/string-functions.md#startswith) ||||||
| [endsWith](../../../sql-reference/functions/string-functions.md#endswith) ||||||
| [multiSearchAny](../../../sql-reference/functions/string-search-functions.md#function-multisearchany) ||||||
| [in](../../../sql-reference/functions/in-functions.md#in-functions) ||||||
| [notIn](../../../sql-reference/functions/in-functions.md#in-functions) ||||||
| [less (\<)](../../../sql-reference/functions/comparison-functions.md#function-less) ||||||
| [greater (\>)](../../../sql-reference/functions/comparison-functions.md#function-greater) ||||||
| [lessOrEquals (\<=)](../../../sql-reference/functions/comparison-functions.md#function-lessorequals) ||||||
| [greaterOrEquals (\>=)](../../../sql-reference/functions/comparison-functions.md#function-greaterorequals) ||||||
| [less (\<)](../../../sql-reference/functions/comparison-functions.md#less) ||||||
| [greater (\>)](../../../sql-reference/functions/comparison-functions.md#greater) ||||||
| [lessOrEquals (\<=)](../../../sql-reference/functions/comparison-functions.md#lessorequals) ||||||
| [greaterOrEquals (\>=)](../../../sql-reference/functions/comparison-functions.md#greaterorequals) ||||||
| [empty](../../../sql-reference/functions/array-functions.md#function-empty) ||||||
| [notEmpty](../../../sql-reference/functions/array-functions.md#function-notempty) ||||||
| hasToken ||||||
Expand Down
12 changes: 6 additions & 6 deletions docs/ru/sql-reference/functions/comparison-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ sidebar_label: "Функции сравнения"

Замечание. До версии 1.1.54134 сравнение знаковых и беззнаковых целых чисел производилось также, как в C++. То есть, вы могли получить неверный результат в таких случаях: SELECT 9223372036854775807 \> -1. С версии 1.1.54134 поведение изменилось и стало математически корректным.

## equals, оператор a = b и a == b {#function-equals}
## equals, оператор a = b и a == b {#equals}

## notEquals, оператор a != b и a `<>` b {#function-notequals}
## notEquals, оператор a != b и a `<>` b {#notequals}

## less, оператор `<` {#function-less}
## less, оператор `<` {#less}

## greater, оператор `>` {#function-greater}
## greater, оператор `>` {#greater}

## lessOrEquals, оператор `<=` {#function-lessorequals}
## lessOrEquals, оператор `<=` {#lessorequals}

## greaterOrEquals, оператор `>=` {#function-greaterorequals}
## greaterOrEquals, оператор `>=` {#greaterorequals}
12 changes: 6 additions & 6 deletions docs/zh/engines/table-engines/mergetree-family/mergetree.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,19 +349,19 @@ WHERE 子句中的条件可以包含对某列数据进行运算的函数表达

| 函数 (操作符) / 索引 | primary key | minmax | ngrambf_v1 | tokenbf_v1 | bloom_filter |
| ------------------------------------------------------------ | ----------- | ------ | ---------- | ---------- | ------------ |
| [equals (=, ==)](../../../sql-reference/functions/comparison-functions.md#function-equals) ||||||
| [notEquals(!=, &lt;&gt;)](../../../sql-reference/functions/comparison-functions.md#function-notequals) ||||||
| [equals (=, ==)](../../../sql-reference/functions/comparison-functions.md#equals) ||||||
| [notEquals(!=, &lt;&gt;)](../../../sql-reference/functions/comparison-functions.md#notequals) ||||||
| [like](../../../sql-reference/functions/string-search-functions.md#function-like) ||||||
| [notLike](../../../sql-reference/functions/string-search-functions.md#function-notlike) ||||||
| [startsWith](../../../sql-reference/functions/string-functions.md#startswith) ||||||
| [endsWith](../../../sql-reference/functions/string-functions.md#endswith) ||||||
| [multiSearchAny](../../../sql-reference/functions/string-search-functions.md#function-multisearchany) ||||||
| [in](../../../sql-reference/functions/in-functions.md#in-functions) ||||||
| [notIn](../../../sql-reference/functions/in-functions.md#in-functions) ||||||
| [less (\<)](../../../sql-reference/functions/comparison-functions.md#function-less) ||||||
| [greater (\>)](../../../sql-reference/functions/comparison-functions.md#function-greater) ||||||
| [lessOrEquals (\<=)](../../../sql-reference/functions/comparison-functions.md#function-lessorequals) ||||||
| [greaterOrEquals (\>=)](../../../sql-reference/functions/comparison-functions.md#function-greaterorequals) ||||||
| [less (\<)](../../../sql-reference/functions/comparison-functions.md#less) ||||||
| [greater (\>)](../../../sql-reference/functions/comparison-functions.md#greater) ||||||
| [lessOrEquals (\<=)](../../../sql-reference/functions/comparison-functions.md#lessorequals) ||||||
| [greaterOrEquals (\>=)](../../../sql-reference/functions/comparison-functions.md#greaterorequals) ||||||
| [empty](../../../sql-reference/functions/array-functions.md#function-empty) ||||||
| [notEmpty](../../../sql-reference/functions/array-functions.md#function-notempty) ||||||
| hasToken ||||||
Expand Down
12 changes: 6 additions & 6 deletions docs/zh/sql-reference/functions/comparison-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ sidebar_label: 比较函数

字符串按字节进行比较。较短的字符串小于以其开头并且至少包含一个字符的所有字符串。

## 等于,a=b和a==b 运算符 {#equals-a-b-and-a-b-operator}
## 等于,a=b和a==b 运算符 {#equals}

## 不等于,a!=b和a&lt;&gt;b 运算符 {#notequals-a-operator-b-and-a-b}
## 不等于,a!=b和a&lt;&gt;b 运算符 {#notequals}

## 少, &lt; 运算符 {#less-operator}
## 少, &lt; 运算符 {#less}

## 大于, &gt; 运算符 {#greater-operator}
## 大于, &gt; 运算符 {#greater}

## 小于等于, &lt;= 运算符 {#lessorequals-operator}
## 小于等于, &lt;= 运算符 {#lessorequals}

## 大于等于, &gt;= 运算符 {#greaterorequals-operator}
## 大于等于, &gt;= 运算符 {#greaterorequals}

0 comments on commit faa3a43

Please sign in to comment.