getClusterDFSTables
Syntax
getClusterDFSTables()
Arguments
None
Details
The function returns a vector that lists DFS tables in the cluster.
From version 2.00.9
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.
Starting from version 2.00.10.2, this function returns all DFS tables created by the user regardless of the table permissions.
Examples
getClusterDFSTables()
// output
["dfs://demohash/pt","dfs://myDataYesDB/tick","dfs://testDB/pt1","dfs://testDB/pt2"]