Add Column Node
Data/Database/Schema
Adds a column from a typed SQL expression or creates an empty vector column with a fixed dimension. Vector dimensions must match the embedding model's output length. Existing rows get NULL vectors until embeddings are written.
Ratings
Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.
Input Pins
6Database
StructDatabase Connection Reference
Column Name
StringName of the column to add
SQL Expression
StringTyped SQL expression used to populate existing rows. Examples: 0, '', CAST(NULL AS STRING). Flow-Like requires an explicit type for NULL. Supported types: int, bigint, float, double, string, binary, boolean, date, timestamp.
Mode
StringSQL Expression computes values from SQL Expression. Vector creates a nullable Float32 vector column and ignores SQL Expression.
Vector Dimensions
IntegerRequired in Vector mode: the positive number of values in each embedding. Set this to the embedding model's output length. Ignored in SQL Expression mode.
Output Pins
2Done
ExecutionDone altering schema
Schema
StructUpdated database schema
The columns, in storage order.
One column of a table.
Column name.
Arrow data type: a bare name such as `"Utf8"` or `"Int64"` for simple types, an object for nested ones such as lists and structs.
Whether the column accepts nulls.
Dictionary id, set only on dictionary-encoded columns.
Whether the dictionary is ordered, set only on dictionary-encoded columns.
Table level key/value metadata, defined by whoever wrote the table.
Node Info
- Internal name
- add_column_local_db
- Category
- Data/Database/Schema
- Version
- 3