This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Test Functions

This section provides reference information for test functions in PlaidCloud Lakehouse.

1 - SLEEP

Sleeps seconds seconds on each data block.

!!! warning Only used for testing where sleep is required.

SQL Syntax

SLEEP(seconds)

Arguments

ArgumentsDescription
secondsMust be a constant column of any nonnegative number or float.|

Return Type

UInt8

SQL Examples

SELECT sleep(2);
+----------+
| sleep(2) |
+----------+
|        0 |
+----------+