Skip to content

Set Column Metadata Node

Data/Database/Schema

Replaces a column's metadata: display name, description, data classification, personal data flag and the role attributes allowed to read it through the API. Every value is written as given, so empty text, false and an empty list clear what was stored. The table key and other column settings stay. Flow runs always read every column.

set_column_metadata_local_dbdata
Inputs8
Outputs3
Security exposure6/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
6/10Medium
PrivacyPotential sensitivity of processed data.
9/10High
PerformanceRuntime or resource pressure.
9/10High
GovernancePolicy, audit, or compliance impact.
8/10High
ReliabilityOperational stability considerations.
8/10High
CostExternal or compute cost impact.
9/10High

Input Pins

8

Input

Execution
exec_in

Database

Struct
database

Database Connection Reference

NodeDBConnectionNodeDBConnection1 fields
cache_keystringrequired
Schema enforced

Column Name

String
column_name

Column whose metadata to replace

Display Name

String
display_name

Human-readable name shown instead of the column name, at most 128 characters. Empty clears it.

Description

String
description

What the column holds and how to use it, at most 4096 characters. Empty clears it.

Classification

String
classification

How sensitive the column's data is, from least to most: public, internal, confidential or restricted. Empty clears the classification.

publicinternalconfidentialrestricted

PII

Boolean
pii

Whether the column holds personal data that identifies or relates to a person

Default false

Read Attributes

String Array
read_attributes

Role attributes allowed to read the column through the API, at most 64. Empty lets everyone who can read the table see it; otherwise only admins and roles holding at least one of these attributes see it.

Default []

Output Pins

3

Done

Execution
exec_out

The column's metadata was replaced

Metadata

Struct
metadata

The column's metadata as stored: values trimmed, blank ones dropped and read attributes de-duplicated

ColumnMetadataColumnMetadata5 fields
display_namestring | null

Human-readable name shown in place of the column name.

descriptionstring | null

What the column holds and how to use it.

classificationanyOf (2)

Sensitivity level; unset when nobody has classified the data.

variant 1DataClassificationvariant

How sensitive data is, from least to most sensitive.

variant 1constvariant

May be shared with anyone.

const "public"
variant 2constvariant

For members of the organization only.

const "internal"
variant 3constvariant

Limited to the people who need it; disclosure causes harm.

const "confidential"
variant 4constvariant

Most sensitive; disclosure causes severe harm.

const "restricted"
variant 2nullvariant
piiboolean

Whether the data identifies or relates to a person.

default false
read_attributesArray<string>

Role attributes allowed to read the column. Empty: everyone who may read the table. Otherwise only admins and roles holding at least one of these attributes see it.

default []
itemsstringarray item

Schema

Struct
schema

Updated database schema

TableSchemaTableSchema2 fields
fieldsArray<TableField>required

The columns, in storage order.

itemsTableFieldarray item

One column of a table.

namestringrequired

Column name.

data_typevaluerequired

Arrow data type: a bare name such as `"Utf8"` or `"Int64"` for simple types, an object for nested ones such as lists and structs.

nullablebooleanrequired

Whether the column accepts nulls.

dict_idinteger | null

Dictionary id, set only on dictionary-encoded columns.

format int64
dict_is_orderedboolean | null

Whether the dictionary is ordered, set only on dictionary-encoded columns.

+1 more fields
metadatavalue

Table level key/value metadata, defined by whoever wrote the table.

default null

Node Info

Internal name
set_column_metadata_local_db
Category
Data/Database/Schema