BTEQ operator for dagster-teradata#4
Merged
MT255026 merged 22 commits intorelease_branch_0.0.4from Jun 30, 2025
Merged
Conversation
sc250072
requested changes
Jun 26, 2025
Collaborator
sc250072
left a comment
There was a problem hiding this comment.
Couple of minor review comments needs to be addressed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Support for BTEQ on dagster-teradata:
BTEQ Operator
The
bteq_operatormethod enables execution of Teradata BTEQ commands either locally or on a remote machine via SSH. It supports direct SQL input or file-based scripts, custom encoding, timeout controls, and both password and SSH key authentication for remote execution.Key Features
Parameters
sql: SQL commands to execute directly (optional, mutually exclusive withfile_path)file_path: Path to SQL script file (optional, mutually exclusive withsql)remote_host: Hostname/IP for remote execution (optional)remote_user: Username for remote authentication (required ifremote_hostis set)remote_password: Password for remote authentication (alternative tossh_key_path)ssh_key_path: Path to SSH private key (alternative toremote_password)remote_port: SSH port (default: 22)remote_working_dir: Working directory on remote machine (default:/tmp)bteq_script_encoding: Encoding for BTEQ script file (default:utf-8)bteq_session_encoding: Encoding for BTEQ session (default:ASCII)bteq_quit_rc: Acceptable return code(s) for BTEQ execution (default: 0)timeout: Maximum execution time in seconds (default: 600)timeout_rc: Return code for timeout cases (optional)