listStreamingSQLTables

语法

listStreamingSQLTables()

参数

详情

列出当前用户已通过 declareStreamingSQLTable 声明的所有流式 SQL 表。

如果调用者是管理员(admin),则会返回系统中所有用户声明的流式 SQL 表。

返回值:一个表,包含如下字段:表名(tableName)、是否共享(shared)、声明用户(users)。

例子

t=table(1..10 as id,rand(100,10) as val)
share t as st
declareStreamingSQLTable(st)

listStreamingSQLTables()
tableName shared users
st true admin

相关函数:declareStreamingSQLTable