Transfer Data Steps
Transfer Data steps move data from a source to a target table. They are the most common step type in hibase workflows.
Data Sources
The data source determines where the data comes from. There are two options:
- SQL Query: A raw SQL statement executed against a connected database. Supports parameter interpolation via the hibase templating language.
- Connector Query: An API call through a configured connector. Includes endpoint parameters, response selectors, and a configurable record limit.
You can toggle between creating a new query inline (New Query) or selecting a Query from Library.
Insert Strategies
When writing data to a target table, you choose an Insert Strategy. The available strategies depend on the target database's capabilities — the UI only shows the strategies your target supports:
| Strategy | Behavior | Supported by |
|---|---|---|
| Insert only | Append all rows to the table | All databases |
| Upsert on unique identifier | Insert new rows, update existing ones based on a conflict target | PostgreSQL, MySQL, MSSQL |
| Truncate table, then insert | Empty the table, then insert all rows | PostgreSQL, MySQL, MSSQL |
| Drop and recreate columns, then insert | Drop existing columns, recreate them from the query output, then insert | PostgreSQL, MySQL, MSSQL |
Note: BigQuery only supports the Insert only strategy. Strategy availability depends on your database engine.
When using Upsert on unique identifier, you need to specify a Upsert on column(s) — the column(s) that define uniqueness (e.g. id or email).
Flex Columns
Enable Flex Columns to automatically create any columns returned by the data source query that don't already exist in the target table.
The UI hint explains: "Columns that exist in the data but not in the target table will be created on the fly upon insert."
An optional Max. Columns limit can be set to cap the maximum number of new columns that can be auto-created per execution, preventing unexpected schema explosions.
Flex Columns requires admin-level access on the target database, unless the target type is Parametric Table Name.
Flexible Schema (Parametric Table Names)
When you set the Target Type to Parametric Table Name (instead of Table), the target table name is a free-text field that can contain hibase templating language expressions. The actual table is resolved dynamically at runtime.
Enable the Flexible Schema toggle and the platform will create the table automatically if none is found with a matching name.
This is particularly powerful for:
- Multi-tenant workflows where each tenant gets their own table
- Dynamic staging areas based on date or environment parameters
When Flexible Schema is enabled, the Flex Columns toggle is locked (disabled) — since the table may not exist yet, column creation is always dynamic.
Flexible Schema availability depends on the target database supporting the
emptyColumnsfeature (currently PostgreSQL and BigQuery).
Parameters
All parameter types (Workflow Params, JSON Params, Filter SQL Params, Params Iteration) are available on Transfer Data steps. See Using Parameters for details on the parameter hierarchy and execution order.