Introducing Agent Safe Governance for the AI Era

liquibase.bteq.keep.temp

Last updated: June 9, 2026

liquibase.bteq.keep.temp is a Boolean parameter that controls whether Liquibase retains the generated BTEQ script after execution. Default: false.

Uses

When Liquibase runs a changeset with runWith: bteq, it generates a temporary BTEQ script, executes it, then deletes it. Setting liquibase.bteq.keep.temp: true saves a sanitized copy of that script to disk with credentials redacted. This is useful for debugging unexpected behavior without exposing passwords in log output.

Set liquibase.bteq.keep.temp when:

  • Debugging failed changesets: Inspect the exact script that Liquibase submitted to BTEQ, including .SET MAXERROR, .LOGON, and SQL statements.

  • Auditing generated scripts: Keep a record of what SQL was executed against Teradata.

  • Troubleshooting BTEQ configuration: Verify that runWith attributes and executor settings are being applied correctly.

Use liquibase.bteq.keep.temp.path to control where scripts are saved, and liquibase.bteq.keep.temp.name to set a custom filename.

Syntax

Option

Syntax

Liquibase properties file

liquibase.bteq.keep.temp: true

Environment variable

LIQUIBASE_BTEQ_KEEP_TEMP=true

liquibase.bteq.keep.temp - Liquibase