Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add http error identification for credentials and hostname errors (#90)
* Internal ticket: https://jira.cloudera.com/browse/DBT-398 The error printed seems to be generic, so adding code to identity the failure from Impala connection. Test plan: * Move into a dbt impala project and install dbt-impala from this git repo * Add profile details in your home dbt file like below, dbt_impala_demo: outputs: dev: auth_type: ldap host: {} http_path: {} password: {} port: 443 schema: dbt_impala_demo dbname: dbt_impala_demo threads: 4 type: impala use_http_transport: true use_ssl: true user: {} target: dev * Update with wrong hostname or wrong user credentials * run > dbt debug, and you should see the type of error in the console * Add below snowplow configs to your .env if you face any snowplow error SNOWPLOW_ENDPOINT=https://dcevents.cldrteam.datacoral.io/cldrteam/apievents SNOWPLOW_TIMEOUT=10 SNOWPLOW_API_KEY=<your_key> SNOWPLOW_ENNV=prod Signed-off-by: Sanjeev kumar N <[email protected]>
- Loading branch information