existsStreamTable

Syntax

existsStreamTable(tableName)

Arguments

tableName is a string indicating the name of a stream table. It can be a regular, shared, persisted, or high-availability stream table.

Details

Check if the specified stream table exists.

If it exists, return true; otherwise, return false.

Examples

id=`XOM`GS`AAPL
x=102.1 33.4 73.6
rt=streamTable(id, x);
existsStreamTable(`rt) 
// output
true

existsStreamTable(`srt)  
// output
false

share rt as srt
existsStreamTable(`srt)  
// output
true