table cf column datamask remove

Removes the data mask used by one or more JSON table columns.

If the column does not currently have a dynamic data mask set, this command returns successfully with no changes.

Syntax

CLI
maprcli table cf column datamask remove 
  -path <table-path>  
  -cfname <column family name>
  -name <column-name>  
REST
http[s]://<host>:<port>/rest/table/cf/column/datamask/remove?<parameters>

Parameters

Parameter

Description

path

The path to the HPE Ezmeral Data Fabric Database table.

  • For a path on the local cluster, start the path at the volume mount point. For example, for a table named test under a volume with a mount point at /volume1, specify the following path: /volume1/test
  • For a path on a remote cluster, you must also specify the cluster name in the path. For example, for a table named customer under volume1 in the sanfrancisco cluster, specify the following path:/mapr/sanfrancisco/volume1/customer
cfname The name of the column family of the JSON table field.
name The JSON table field to check for a dynamic data mask

Example

CLI
maprcli table cf column datamask remove -path /table1 -cfname default -name CC
REST
curl -k -X GET \
  'https://r1n1.sj.us:8443/rest/table/cf/column/datamask/remove?path=/table1 \
    &cfname=default&name=CC' -u mapr:mapr