[Bug] Teradata profile throwing error with mock profile #1087
Labels
area:execution
Related to the execution environment/mode, like Docker, Kubernetes, Local, VirtualEnv, etc
area:profile
Related to ProfileConfig, like Athena, BigQuery, Clickhouse, Spark, Trino, etc
bug
Something isn't working
dbt:list
Primarily related to dbt list command or functionality
execution:virtualenv
Related to Virtualenv execution environment
parsing:dbt_ls
Issues, questions, or features related to dbt_ls parsing
triage-needed
Items need to be reviewed / assigned to milestone
Milestone
Astronomer Cosmos Version
Other Astronomer Cosmos version (please specify below)
If "Other Astronomer Cosmos version" selected, which one?
1.6.0a1
dbt-core version
1.8.1
Versions of dbt adapters
dbt-teradata 1.8.1
LoadMode
AUTOMATIC
ExecutionMode
VIRTUALENV
InvocationMode
None
airflow version
2.9.2
Operating System
Distributor ID: Ubuntu Description: Ubuntu 22.04.4 LTS Release: 22.04 Codename: jammy
If a you think it's an UI issue, what browsers are you seeing the problem on?
No response
Deployment
Virtualenv installation
Deployment details
Deployed 1.6.0a1 under python3.10 virtual environment
What happened?
cosmos 1.6.0a1 throwing an error with mock profile
raise CosmosLoadDbtException(f"Unable to run {command} due to the error:\n{details}") cosmos.dbt.graph.CosmosLoadDbtException: Unable to run ['/home/airbyte/devtools/cosmos/cosmos-venv/bin/dbt', 'ls', '--output', 'json', '--project-dir', '/tmp/tmp84a8an_e', '--profiles-dir', '/tmp/cosmos/profile/cf3dc9700b875516f605be1e8410b5dc7d9765fe25b7da42140dfc441de87144', '--profile', 'generated_profile', '--target', 'dev'] due to the error: 06:48:04 Running with dbt=1.8.3 06:48:05 Encountered an error: Runtime Error Credentials in profile "generated_profile", target "dev" invalid: Runtime Error Must specify
schemain profile
Relevant log output
How to reproduce
airflow standalone
Anything else :)?
No response
Are you willing to submit PR?
Contact Details
[email protected]
The text was updated successfully, but these errors were encountered: