Skip to content

Commit 00ddc70

Browse files
committed
Fix build
1 parent 6928d0e commit 00ddc70

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

src/Functions/array/arrayDotProduct.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ Aliases: `scalarProduct`, `dotProduct`
393393
:::note
394394
The sizes of the two vectors must be equal. Arrays and Tuples may also contain mixed element types.
395395
:::
396-
)"
396+
)";
397397
FunctionDocumentation::Syntax syntax = "arrayDotProduct(v1, v2)";
398398
FunctionDocumentation::Arguments arguments = {
399399
{"v1", "First vector. [Array](/sql-reference/data-types/array) or [Tuple](../data-types/tuple.md) of numeric values."},
@@ -405,7 +405,7 @@ The dot product of the two vectors. [Numeric](/native-protocol/columns#numeric-t
405405
:::note
406406
The return type is determined by the type of the arguments. If Arrays or Tuples contain mixed element types then the result type is the supertype.
407407
:::
408-
)"
408+
)";
409409
FunctionDocumentation::Examples examples = {
410410
{"Array example", "SELECT arrayDotProduct([1, 2, 3], [4, 5, 6]) AS res, toTypeName(res);", "32 UInt16"},
411411
{"Tuple example", "SELECT dotProduct((1::UInt16, 2::UInt8, 3::Float32),(4::Int16, 5::Float32, 6::UInt8)) AS res, toTypeName(res);", "32 Float64"}

src/Functions/array/arrayEnumerate.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ This function can also be used in higher-order functions. For example, you can u
8787
FunctionDocumentation::Arguments arguments = {
8888
{"x", "The array to enumerate. [`Array`](/sql-reference/data-types/array)."}
8989
};
90-
FunctionDocumentation::ReturnedValue returned_value = "Returns the array `[1, 2, 3, ..., length (arr)]`. Array(UInt32)"
90+
FunctionDocumentation::ReturnedValue returned_value = "Returns the array `[1, 2, 3, ..., length (arr)]`. Array(UInt32)";
9191
FunctionDocumentation::Examples examples = {{"Basic example with ARRAY JOIN", R"(
9292
CREATE TABLE test
9393
(

src/Functions/array/arrayEnumerateUniqRanked.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ It allows for enumeration of a multi-dimensional array with the ability to speci
2727
{"arr", "N-dimensional array to enumerate. [Array](/sql-reference/data-types/array)."},
2828
{"max_array_depth", "The maximum effective depth. Positive [Integer](../data-types/int-uint.md) less than or equal to the depth of `arr`."}
2929
};
30-
FunctionDocumentation::ReturnedValue returned_value = "Returns an N-dimensional array the same size as `arr` with each element showing the position of that element in relation to other elements of the same value."
30+
FunctionDocumentation::ReturnedValue returned_value = "Returns an N-dimensional array the same size as `arr` with each element showing the position of that element in relation to other elements of the same value.";
3131
FunctionDocumentation::Examples examples = {
3232
{"Example 1", R"(
3333
With `clear_depth=1` and `max_array_depth=1`, the result of `arrayEnumerateUniqRanked` is identical to that which [`arrayEnumerateUniq`](#arrayenumerateuniq) would give for the same array.

src/Functions/array/arrayPopBack.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ class FunctionArrayPopBack : public FunctionArrayPop
1515

1616
REGISTER_FUNCTION(ArrayPopBack)
1717
{
18-
FunctionDocumentation::Description description = "Removes the last element from the array."
18+
FunctionDocumentation::Description description = "Removes the last element from the array.";
1919
FunctionDocumentation::Syntax syntax = "arrayPopBack(x)";
2020
FunctionDocumentation::Arguments arguments = {{"x", "The array for which to remove the last element from. [`Array`](/sql-reference/data-types/array)."}};
21-
FunctionDocumentation::ReturnedValue returned_value = "Returns an array identical to `x` but without the last element of `x`. [`Array`](/sql-reference/data-types/array)."
21+
FunctionDocumentation::ReturnedValue returned_value = "Returns an array identical to `x` but without the last element of `x`. [`Array`](/sql-reference/data-types/array).";
2222
FunctionDocumentation::Examples examples = {{"Usage example", "SELECT arrayPopBack([1, 2, 3]) AS res;", "[1,2]"}};
2323
FunctionDocumentation::IntroducedIn introduced_in = {1, 1};
2424
FunctionDocumentation::Category category = FunctionDocumentation::Category::Array;

src/Functions/array/arrayPopFront.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class FunctionArrayPopFront : public FunctionArrayPop
1515

1616
REGISTER_FUNCTION(ArrayPopFront)
1717
{
18-
FunctionDocumentation::Description description = "Removes the first item from the array."
18+
FunctionDocumentation::Description description = "Removes the first item from the array.";
1919
FunctionDocumentation::Syntax syntax = "arrayPopFront(x)";
2020
FunctionDocumentation::Arguments arguments = {{"x", "The array for which to remove the first element from. [`Array`](/sql-reference/data-types/array)."}};
2121
FunctionDocumentation::ReturnedValue returned_value = "Returns an array identical to `x` but without the first element of `x`. [`Array`](/sql-reference/data-types/array).";

src/Functions/array/countEqual.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Returns the number of elements in the array equal to `x`. Equivalent to `arrayCo
1717
FunctionDocumentation::Syntax syntax = "countEqual(arr, x)";
1818
FunctionDocumentation::Arguments arguments = {
1919
{"arr", "Array to search. [`Array`](/sql-reference/data-types/array)."},
20-
{"x", "Value in the array to count. Any type."},
20+
{"x", "Value in the array to count. Any type."}
2121
};
22-
FunctionDocumentation::ReturnedValue returned_value = "Returns the number of elements in the array equal to `x`. UInt64."
22+
FunctionDocumentation::ReturnedValue returned_value = "Returns the number of elements in the array equal to `x`. UInt64.";
2323
FunctionDocumentation::Examples example = {{"Usage example", "SELECT countEqual([1, 2, NULL, NULL], NULL)", "2"}};
2424
FunctionDocumentation::IntroducedIn introduced_in = {1, 1};
2525
FunctionDocumentation::Category category = FunctionDocumentation::Category::Array;

src/Functions/array/hasSubstr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ both `x` and `y`.
3131
{"x", "Array of any type with a set of elements. [`Array`](/sql-reference/data-types/array)."},
3232
{"y", "Array of any type with a set of elements. [`Array`](/sql-reference/data-types/array)."},
3333
};
34-
FunctionDocumentation::ReturnedValue returned_value = "Returns `1` if array `x` contains array `y`. Otherwise, returns `0`."
34+
FunctionDocumentation::ReturnedValue returned_value = "Returns `1` if array `x` contains array `y`. Otherwise, returns `0`.";
3535
FunctionDocumentation::Examples examples = {
3636
{"Both arrays are empty", "SELECT hasSubstr([], [])", "1"},
3737
{"Arrays containing NULL values", "SELECT hasSubstr([1, Null], [Null])", "1"},

src/Functions/array/indexOf.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Elements set to `NULL` are handled as normal values.
2020
{"arr", "An array to search in for `x`. [`Array`](/sql-reference/data-types/array)."},
2121
{"x", "Value of the first matching element in `arr` for which to return an index. UInt64."},
2222
};
23-
FunctionDocumentation::ReturnedValue returned_value = "Returns the index (numbered from one) of the first `x` in `arr` if it exists. Otherwise, returns `0`."
23+
FunctionDocumentation::ReturnedValue returned_value = "Returns the index (numbered from one) of the first `x` in `arr` if it exists. Otherwise, returns `0`.";
2424
FunctionDocumentation::Examples examples = {
25-
{"Basic example", "SELECT indexOf([1, 3, 3, 4], 3)", "2"}
25+
{"Basic example", "SELECT indexOf([1, 3, 3, 4], 3)", "2"},
2626
{"Array with nulls", "SELECT indexOf([1, 3, NULL, NULL], NULL)", "3"}
2727
};
2828
FunctionDocumentation::IntroducedIn introduced_in = {1, 1};

src/Functions/array/indexOfAssumeSorted.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ If the internal array is of type Nullable, then function `indexOf` will be calle
2828
{"arr", "A sorted array to search. [`Array`](/sql-reference/data-types/array)."},
2929
{"x", "Value of the first matching element in sorted `arr` for which to return an index.UInt64"},
3030
};
31-
FunctionDocumentation::ReturnedValue returned_value = "Returns the index (numbered from one) of the first `x` in `arr` if it exists. Otherwise, returns `0`."
31+
FunctionDocumentation::ReturnedValue returned_value = "Returns the index (numbered from one) of the first `x` in `arr` if it exists. Otherwise, returns `0`.";
3232
FunctionDocumentation::Examples example = {{"Basic example", "SELECT indexOfAssumeSorted([1, 3, 3, 3, 4, 4, 5], 4)", "5"}};
3333
FunctionDocumentation::IntroducedIn introduced_in = {24, 12};
3434
FunctionDocumentation::Category category = FunctionDocumentation::Category::Array;

0 commit comments

Comments
 (0)