Closed octavia-squidington-iii closed 2 years ago
Marcos Marx commented: 2022-03-24 17:47:05 e[42mnormalizatione[0m > Running: git clone --depth 5 --single-branch $GIT_REPO git_repo 2022-03-24 17:47:05 e[42mnormalizatione[0m > Cloning into 'git_repo'... 2022-03-24 17:47:06 e[42mnormalizatione[0m > fatal: could not read Username for 'https://github.com': No such device or address
@Saisriram1 please read our docs explaining how to setup a custom dbt transformation: https://docs.airbyte.com/operator-guides/transformation-and-normalization/transformations-with-airbyte#how-to-use-custom-dbt-tips
[Discourse post]
Sai commented: We are receiving the below error
Encountered an error while reading the project: 2022-03-26 03:07:51 dbt > ERROR: Runtime Error 2022-03-26 03:07:51 dbt > at path []: Additional properties are not allowed ('model-paths', 'seed-paths' were unexpected) 2022-03-26 03:07:51 dbt > 2022-03-26 03:07:51 dbt > Error encountered in /data/98/0/transform/git_repo/dbt_project.yml 2022-03-26 03:07:51 dbt > Encountered an error: 2022-03-26 03:07:51 dbt > Runtime Error 2022-03-26 03:07:51 dbt > Could not run dbt Here is the dbt_project.yml file syntax, please help with work around/resolution
name: 'source_asdbt'version: '1.0.0'config-version: 2# This setting configures which "profile" dbt uses for this project._profile: 'source_asdbt'# These configurations specify where dbt should look for different types of files.# The model-paths
config, for example, states that models in this project can be# found in the "models/" directory. You probably won't need to change these!model-paths: ["models"]analysis-paths: ["analyses"]test-paths: ["tests"]seed-paths: ["seeds"]macro-paths: ["macros"]snapshot-paths: ["snapshots"]target-path: "target" # directory which will store compiled SQL filesclean-targets: # directories to be removed by dbt clean
_- "target"- "dbtpackages"# Configuring models# Full documentation:_ _https://docs.getdbt.com/docs/configuring-models# In this example config, we tell dbt to build all models in the example/ directory# as tables. These settings can be overridden in the individual model files# using the {{ config(...) }}
macro._models: source_asdbt: # Config indicated by + and applies to all files under models/example/_example: +materialized: view
Sai commented: Hi Team,
Please help with this issue.
Regards,
Sai Sriram
Jerri Comeau commented: Hi Sai,
Have you checked against https://docs.getdbt.com/reference/dbt_project.yml to make sure your config declaration and your destination are set correctly?
Marcos Marx commented: @Saisriram1 can I recommend to you watch a video explaining how to configure the custom dbt Demo Hour: Custom dbt Transformations - YouTube you need to add a previous step to install the correct deps.
[Discourse post]
Sai commented: Thank you Marcos, this is sorted.
Regards,
Sai Sriram
Following error occurs while using dbt in the airbyte GUI. But when the same ‘dbt run’ is performed manually through command line it is succesful.
[Discourse post]