-
Notifications
You must be signed in to change notification settings - Fork 975
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
Add the installation and configuration documentation for the Huawei GaussDB and GaussDB(DWS) adapter dbt-gaussdbdws #6619
base: current
Are you sure you want to change the base?
Conversation
…aussDB and GaussDB(DWS) adapter dbt-gaussdbdws
Hello!👋 Thanks for contributing to the dbt product documentation and opening this pull request! ✨ |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@pangpang20 is attempting to deploy a commit to the dbt-labs Team on Vercel. A member of the Team first needs to authorize it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you're missing adding yourself to the community supported adapters table so it's a little hard to find the preview https://docs.getdbt.com/docs/community-adapters
description: "Read this guide to learn about the Gaussdb(DWS) warehouse setup in dbt." | ||
id: "gaussdbdws-setup" | ||
meta: | ||
maintained_by: dbt Labs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update this - this should be changed over to you
id: "gaussdbdws-setup" | ||
meta: | ||
maintained_by: dbt Labs | ||
authors: 'core dbt maintainers' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not true anymore
meta: | ||
maintained_by: dbt Labs | ||
authors: 'core dbt maintainers' | ||
github_repo: 'n/a' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you link to the github repo?
authors: 'core dbt maintainers' | ||
github_repo: 'n/a' | ||
pypi_package: 'dbt-gaussdbdws' | ||
min_core_version: 'v0.4.0' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure this is incorrect. What is the earliest version you support?
pypi_package: 'dbt-gaussdbdws' | ||
min_core_version: 'v0.4.0' | ||
cloud_support: Not supported | ||
min_supported_version: 'n/a' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there versions of GaussDB that are not supported?
dbname: [database name] # or database instead of dbname | ||
schema: [dbt schema] | ||
threads: [optional, 1 or more] | ||
[keepalives_idle](#keepalives_idle): 0 # default 0, indicating the system default. See below |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[keepalives_idle](#keepalives_idle): 0 # default 0, indicating the system default. See below | |
keepalives_idle: 0 # default 0, indicating the system default. See below |
threads: [optional, 1 or more] | ||
[keepalives_idle](#keepalives_idle): 0 # default 0, indicating the system default. See below | ||
connect_timeout: 10 # default 10 seconds | ||
[retries](#retries): 1 # default 1 retry on error/timeout when opening connections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[retries](#retries): 1 # default 1 retry on error/timeout when opening connections | |
retries: 1 # default 1 retry on error/timeout when opening connections |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please take a look at your profiles.yml sample file? I think your fields are coming out a bit funny here. Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
like this:
jaffle_shop:
target: dev_dws
outputs:
dev_dws:
type: gaussdbdws
host: 121.xxx.xxx.199
user: xxx
password: xxx@123
port: 8000
dbname: gaussdb
schema: xxx
threads: 1
…aussDB and GaussDB(DWS) adapter dbt-gaussdbdws
What are you changing in this pull request and why?
I have developed a plugin called dbt-gaussdbdws to adapt Huawei GaussDB and GaussDB (DWS). This plugin is designed to provide native support for GaussDB and GaussDB (DWS) databases in dbt, enabling users to easily perform data modeling and management tasks on these databases. The plugin includes the following features:
Support for GaussDB and GaussDB (DWS) database features, such as materialized views and index creation.
Implementation of incremental data processing strategies (e.g., append, merge, delete+insert).
Query and index optimizations to enhance database performance.
The plugin is available on GitHub at https://github.com/pangpang20/dbt-gaussdbdws.git, and I hope it will provide more options for dbt users.
Checklist