SLEEP (Lakehouse v1)
Sleeps seconds seconds on each data block.
!!! warning Only used for testing where sleep is required.
SQL Syntax
Section titled “SQL Syntax”SLEEP(seconds)Arguments
Section titled “Arguments”| Arguments | Description |
|---|---|
| seconds | Must be a constant column of any nonnegative number or float.| |
Return Type
Section titled “Return Type”UInt8
SQL Examples
Section titled “SQL Examples”SELECT sleep(2);┌──────────┐│ sleep(2) │├──────────┤│ 0 │└──────────┘