-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is the first version of the DuckDB destination. There are potential edge cases that still need to be taken care of. But looking forward to your feedback.
- Loading branch information
Showing
51 changed files
with
1,717 additions
and
8 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 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 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
63 changes: 63 additions & 0 deletions
63
airbyte-integrations/bases/base-normalization/dbt-project-template-duckdb/dbt_project.yml
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,63 @@ | ||
# This file is necessary to install dbt-utils with dbt deps | ||
# the content will be overwritten by the transform function | ||
|
||
# Name your package! Package names should contain only lowercase characters | ||
# and underscores. A good package name should reflect your organization's | ||
# name or the intended use of these models | ||
name: "airbyte_utils" | ||
version: "1.0" | ||
config-version: 2 | ||
|
||
# This setting configures which "profile" dbt uses for this project. Profiles contain | ||
# database connection information, and should be configured in the ~/.dbt/profiles.yml file | ||
profile: "normalize" | ||
|
||
# These configurations specify where dbt should look for different types of files. | ||
# The `model-paths` config, for example, states that source models can be found | ||
# in the "models/" directory. You probably won't need to change these! | ||
model-paths: ["models"] | ||
docs-paths: ["docs"] | ||
analysis-paths: ["analysis"] | ||
test-paths: ["tests"] | ||
seed-paths: ["data"] | ||
macro-paths: ["macros"] | ||
|
||
target-path: "../build" # directory which will store compiled SQL files | ||
log-path: "../logs" # directory which will store DBT logs | ||
packages-install-path: "/dbt" # directory which will store external DBT dependencies | ||
|
||
clean-targets: # directories to be removed by `dbt clean` | ||
- "build" | ||
- "dbt_modules" | ||
|
||
quoting: | ||
database: true | ||
# Temporarily disabling the behavior of the ExtendedNameTransformer on table/schema names, see (issue #1785) | ||
# all schemas should be unquoted | ||
schema: false | ||
identifier: true | ||
|
||
# You can define configurations for models in the `model-paths` directory here. | ||
# Using these configurations, you can enable or disable models, change how they | ||
# are materialized, and more! | ||
models: | ||
airbyte_utils: | ||
+materialized: table | ||
generated: | ||
airbyte_ctes: | ||
+tags: airbyte_internal_cte | ||
+materialized: ephemeral | ||
airbyte_incremental: | ||
+tags: incremental_tables | ||
+materialized: incremental | ||
+on_schema_change: sync_all_columns | ||
airbyte_tables: | ||
+tags: normalized_tables | ||
+materialized: table | ||
airbyte_views: | ||
+tags: airbyte_internal_views | ||
+materialized: view | ||
|
||
dispatch: | ||
- macro_namespace: dbt_utils | ||
search_order: ["airbyte_utils", "dbt_utils"] |
5 changes: 5 additions & 0 deletions
5
airbyte-integrations/bases/base-normalization/dbt-project-template-duckdb/packages.yml
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,5 @@ | ||
# add dependencies. these will get pulled during the `dbt deps` process. | ||
|
||
packages: | ||
- git: "https://github.com/fishtown-analytics/dbt-utils.git" | ||
revision: 0.8.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
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 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 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
Oops, something went wrong.