CURRENT_WAREHOUSE

Learn how to use the CURRENT_WAREHOUSE utility function in PlaidCloud Lakehouse. Returns the name of the current warehouse - with syntax and examples.

Returns the name of the current warehouse.

Analyze Syntax

func.current_warehouse()

Analyze Examples

func.current_warehouse()

┌───────────────────┐
 default_warehouse 
└───────────────────┘

SQL Syntax

CURRENT_WAREHOUSE()

SQL Examples

SELECT CURRENT_WAREHOUSE();

┌───────────────────┐
 default_warehouse 
└───────────────────┘