You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client.alter_table("my_table", "main", "my_table", "ALTER COLUMN ORG_NAME SET MASK some_catalog.some_schema.pii_mask")
This will generate and execute the following SQL statement:
ALTER TABLE my_catalog.main.my_table
ALTER COLUMN ORG_NAME SET MASK some_catalog.some_schema.pii_mask
see ALTER TABLE reference
Update: we will implement a more general API similar to the databricks sql API
databricks/client.execute_statement(warehouse_id, catalog_name, schema_name, sql_statement)
returns status
Extension to Lua Runtime
We are extending our Lua runtime to support the following Databricks client method:
databricks/client.alter_table(table_name, schema_name, catalog_name, alter_statement)
Usage example:
client.alter_table("my_table", "main", "my_table", "ALTER COLUMN ORG_NAME SET MASK some_catalog.some_schema.pii_mask")
This will generate and execute the following SQL statement:
ALTER TABLE my_catalog.main.my_table
ALTER COLUMN ORG_NAME SET MASK some_catalog.some_schema.pii_mask
see ALTER TABLE reference
Update: we will implement a more general API similar to the databricks sql API
databricks/client.execute_statement(warehouse_id, catalog_name, schema_name, sql_statement)
returns status
see also https://github.com/treeverse/product/issues/770
The text was updated successfully, but these errors were encountered: