Skip to content

Commit 6f18762

Browse files
authored
spaces after commas
1 parent 9b213b6 commit 6f18762

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Functions/array/arrayZip.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,10 @@ class FunctionArrayZip : public IFunction
172172
REGISTER_FUNCTION(ArrayZip)
173173
{
174174
FunctionDocumentation::Description description = "Combines multiple arrays into a single array. The resulting array contains the corresponding elements of the source arrays grouped into tuples in the listed order of arguments.";
175-
FunctionDocumentation::Syntax syntax = "arrayZip(arr1, arr2, ..., arrN)";
176-
FunctionDocumentation::Arguments argument = {{"arr1, arr2, ..., arrN", "N arrays to combine into a single array. [`Array(T)`](/sql-reference/data-types/array)"}};
175+
FunctionDocumentation::Syntax syntax = "arrayZip(arr1, arr2, ... , arrN)";
176+
FunctionDocumentation::Arguments argument = {{"arr1, arr2, ... , arrN", "N arrays to combine into a single array. [`Array(T)`](/sql-reference/data-types/array)"}};
177177
FunctionDocumentation::ReturnedValue returned_value = "Returns an array with elements from the source arrays grouped in tuples. Data types in the tuple are the same as types of the input arrays and in the same order as arrays are passed. [`Array(T)`](/sql-reference/data-types/array)([`Tuple`](/sql-reference/data-types/tuple)).";
178-
FunctionDocumentation::Examples example = {{"Usage example", "SELECT arrayZip(['a', 'b', 'c'], [5, 2, 1]);", "[('a',5),('b',2),('c',1)]"}};
178+
FunctionDocumentation::Examples example = {{"Usage example", "SELECT arrayZip(['a', 'b', 'c'], [5, 2, 1]);", "[('a', 5), ('b', 2), ('c', 1)]"}};
179179
FunctionDocumentation::IntroducedIn introduced_in = {20, 1};
180180
FunctionDocumentation::Category category = FunctionDocumentation::Category::Array;
181181
FunctionDocumentation documentation = {description, syntax, argument, returned_value, example, introduced_in, category};
@@ -186,7 +186,7 @@ REGISTER_FUNCTION(ArrayZip)
186186
FunctionDocumentation::Syntax syntax_unaligned = "arrayZipUnaligned(arr1, arr2, ..., arrN)";
187187
FunctionDocumentation::Arguments argument_unaligned = {{"arr1, arr2, ..., arrN", "N arrays to combine into a single array. [`Array(T)`](/sql-reference/data-types/array)."}};
188188
FunctionDocumentation::ReturnedValue returned_value_unaligned = "Returns an array with elements from the source arrays grouped in tuples. Data types in the tuple are the same as types of the input arrays and in the same order as arrays are passed. [`Array(T)`](/sql-reference/data-types/array)([`Tuple(T1, T2, ...)`](/sql-reference/data-types/tuple)).";
189-
FunctionDocumentation::Examples example_unaligned = {{"Usage example", "SELECT arrayZipUnaligned(['a'], [1, 2, 3]);", "[('a',1),(NULL,2),(NULL,3)]"}};
189+
FunctionDocumentation::Examples example_unaligned = {{"Usage example", "SELECT arrayZipUnaligned(['a'], [1, 2, 3]);", "[('a', 1),(NULL, 2),(NULL, 3)]"}};
190190
FunctionDocumentation::IntroducedIn introduced_in_unaligned = {20, 1};
191191
FunctionDocumentation::Category category_unaligned = FunctionDocumentation::Category::Array;
192192
FunctionDocumentation documentation_unaligned = {description_unaligned, syntax_unaligned, argument_unaligned, returned_value_unaligned, example_unaligned, introduced_in_unaligned, category_unaligned};

0 commit comments

Comments
 (0)