getClusterDFSTables

Syntax

getClusterDFSTables()

Arguments

None

Details

The function returns a vector that lists DFS tables in the cluster.

From version 1.30.21.3/2.00.9.3 onwards,

  • For an administrator, the function returns all DFS tables in the cluster;

  • For a non-admin user, the function returns DFS tables that can be accessed by the user, i.e., the user has at least one of the following privileges: DB_OWNER, TABLE_READ, TABLE_WRITE, TABLE_INSERT, TABLE_UPDATE, TABLE_DELETE, DB_READ, DB_WRITE, DB_INSERT, DB_UPDATE, and DB_DELETE.

Examples

$ getClusterDFSTables()
["dfs://demohash/pt","dfs://myDataYesDB/tick","dfs://testDB/pt1","dfs://testDB/pt2"]