getCurrentCatalog

Syntax

getCurrentCatalog()

Details

Get the catalog used for the current session.

Parameters

None

Returns

A STRING scalar.

Examples

use CATALOG cat1;
select * from db1.table1 
getCurrentCatalog() 
// output: "cat1"