-
Notifications
You must be signed in to change notification settings - Fork 23
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
Bug - fivetran_log__connector_status.sql failing with large sets of logs #56
Comments
hey @fivetran-juliengoulley -- so by removing transformations from the logs first you were able to bypass this issue? if so, i think it makes sense to adopt that logic in this model. otherwise, we may want to look into making this model incremental (though full refreshes would be an issue 🤔 ) |
Refer to this bug - #56
Hey @fivetran-jamie, here is a link to the PR |
HI @fivetran-juliengoulley thanks so much for opening the above PR. We have reviewed the PR and believe your approach to indeed solve the issue at hand. However, it is a bit curious to us that no other customers have raised this issue to our team. As the changes you are proposing make some significant changes, and also implement incremental strategies, we are a bit hesitant to move forward with the changes as it will add complexity that could cause confusion within our most popular package. Therefore, we have decided to keep this issue and accompanying PR open for the time being and not move forward with integrating the changes at the moment. With that being said, we highly encourage users of the package to comment in this issue if you are seeing a similar error. This will help us prioritize these changes if they are impacting customers across the board. Thanks again and interested to see if others have a similar issue. |
Is there an existing issue for this?
Describe the issue
I have been running the fivetral_log dbt package on large sets of logs and I hit a memory limit (as per screenshot).
I have made some changes to my local version of fivetran_log__connector_status.sql model in order to get around the issue (see attached file) but could you investigate the issue?
fivetran_log__connector_status.txt
Relevant error log or model output
Expected behavior
Successful execution of the transformation
dbt Project configurations
Name your project! Project 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: 'dbt_wildwest_fivetranlog'
version: '1.0.0'
config-version: 2
This setting configures which "profile" dbt uses for this project.
profile: 'dbt_wildwest_fivetranlog'
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 befound 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 files
clean-targets: # directories to be removed by
dbt clean
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:
fivetran_log:
# Config indicated by + and applies to all files under models/example/
# +post-hook: "delete FROM {{ var('connector') }} WHERE connector_name = 'julien_lambda_auth0';"
vars:
fivetran_log_database: fivetran-wild-west
fivetran_log_schema: julien_fivetran_log_live
on-run-end:
- SQL Statement
Package versions
packages:
version: 0.6.1
What database are you using dbt with?
bigquery
dbt Version
Core:
Plugins:
Additional Context
No response
Are you willing to open a PR to help address this issue?
The text was updated successfully, but these errors were encountered: