หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
Databricks SQL
Databricks Runtime
Returns an array containing element count times.
Syntax
array_repeat(element, count)
Arguments
element: An expression of any type.count: An INTEGER greater or equal to 0.
Returns
An array of the elements of the element type.
Examples
> SELECT array_repeat('123', 2);
[123, 123]