-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Summary Final ODBC Adapter Version ### Description Updates to make the adapter more user-friendly, in addition to: - use the Flight SQL ODBC driver - use dbt-core 1.2.2 ### Related Issue [None](#9) ### Additional Reviewers @ArgusLi @ravjotbrar Co-authored-by: ArgusLi <[email protected]>
- Loading branch information
Showing
11 changed files
with
78 additions
and
58 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
recursive-include dbt/include *.sql *.yml *.md |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
version = "1.1.0b" |
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
name: dbt_dremio | ||
version: 1.0 | ||
config-version: 2 | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
fixed: | ||
type: dremio | ||
driver: Arrow Flight SQL ODBC Driver | ||
use_ssl: true | ||
prompts: | ||
_choose_cloud_or_software: | ||
cloud: | ||
host: | ||
default: data.dremio.cloud | ||
hint: data.dremio.cloud or data.eu.dremio.cloud | ||
port: | ||
default: 443 | ||
database: | ||
hint: "@[Dremio Cloud user email]" | ||
pat: | ||
hint: 'personal access token' | ||
hide_input: true | ||
software: | ||
host: | ||
hint: | ||
port: | ||
default: 32010 | ||
user: | ||
hint: "username" | ||
password: | ||
hint: 'password or personal access token' | ||
hide_input: true | ||
use_ssl: | ||
default: false | ||
hint: 'use encrypted connection' | ||
threads: | ||
hint: '1 or more' | ||
type: 'int' | ||
default: 1 | ||
|
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,21 @@ | ||
#!/usr/bin/env python | ||
from setuptools import find_packages | ||
from setuptools import setup | ||
from setuptools import find_namespace_packages, setup | ||
|
||
package_name = "dbt-dremio" | ||
package_version = "1.0.6.5" | ||
description = """The dremio adapter plugin for dbt (data build tool)""" | ||
package_version = "1.1.0b" | ||
description = """The Dremio adapter plugin for dbt""" | ||
|
||
setup( | ||
name=package_name, | ||
version=package_version, | ||
description=description, | ||
long_description=description, | ||
author="Fabrice Etanchaud", | ||
author_email="[email protected]", | ||
url="https://github.com/fabrice-etanchaud/dbt-dremio", | ||
packages=find_packages(), | ||
package_data={ | ||
'dbt': [ | ||
'include/dremio/macros/*.sql', | ||
'include/dremio/macros/**/*.sql', | ||
'include/dremio/macros/**/**/*.sql', | ||
'include/dremio/dbt_project.yml', | ||
] | ||
}, | ||
author="Dremio", | ||
url="https://github.com/dremio/dbt-dremio", | ||
packages=find_namespace_packages(include=["dbt", "dbt.*"]), | ||
include_package_data=True, | ||
install_requires=[ | ||
'dbt-core~=1.2.0', | ||
'dbt-core==1.2.2', | ||
'pyodbc>=4.0.27', | ||
] | ||
) |