Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns an array containing element
count
times.
array_repeat(element, count)
element
: An expression of any type.count
: An INTEGER greater or equal to 0.
An array of the elements of the element type.
> SELECT array_repeat('123', 2);
[123, 123]