addCacheRulesForComputeGroup
Syntax
addCacheRulesForComputeGroup(name, tableNames)
Details
Adds cache rules to a compute group, specifying the tables to be cached in the compute group’s cache path.
Parameters
name: A STRING scalar specifying the name of the compute group to which cache rules are added.
tableNames: A STRING scalar or vector specifying the tables to be cached in the compute group’s cache path. The tables are specified in the format of databaseName/tableName, for example "dfs://compute_test/tb1". Wildcards are not supported.
Returns
None.
Examples
addCacheRulesForComputeGroup("cgroup1", "dfs://compute_test/tb1")
addCacheRulesForComputeGroup("cgroup1", ["dfs://compute_test/tb1", "dfs://compute_test/tb2"])
Related Functions: removeCacheRulesForComputeGroup, getCacheRulesForComputeGroup
