-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dbt-hive can only connect to default database #73
Comments
You should be able to use a custom schema as follows: dbt_hive_demo: outputs: dev_cia_cdp: auth_type: ldap host: hostname http_path: path password: pwd port: 443 schema: my_custom_schema threads: n type: hive use_http_transport: true use_ssl: true username: name target: dev_cia_cdp |
Hello @tovganesh , I added custom schema but it does not working. And I think dbt-hive does not using custom schema property when connecting. dbt-hive/dbt/adapters/hive/connections.py Lines 210 to 218 in 47bbb14
I am using kerberos for auth mechanism and authenticated before running Here's the profiles.yml I am using. dbt_dev:
outputs:
dev:
type: hive
schema: schema_name
host: hostname
port: port
auth_type: KERBEROS
kerberos_service_name: hive
username: username
use_ssl: False
use_http_transport: False
target: dev
Am I missing something? or Do I have to add other properties to connect hive? |
The connection is created as a default connection, and later each identifier qualified with schema.model name when actual models are run. |
hi @hyewonee-0 could you update on the above? |
Hey @hyewonee-0 could you be able to provide some more details as to what error you are seeing? I would also help if you can send redacted jdbc string of the warehouse you are trying to connect. |
Hi @tovganesh , But running dbt-run is getting an error, and I haven't found the solution yet, can you help me, thank you my hive version is 1.1.0-cdh5.13.3, Is the version too low reason? |
Hi,
I am trying to connect database specified in profiles.yml.
but it seems dbt-hive that connecting default database, not using
schema
property.Is there a way to connect specific database using dbt-hive?
The text was updated successfully, but these errors were encountered: