Skip to content
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

Dbt core version #1

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Dbt core version #1

wants to merge 7 commits into from

Conversation

polmonso
Copy link
Owner

Description

Bump dbt-core version to 1.7

resolves fal-ai#880 fal-ai#909

Integration tests

Adapter to test:

  • postgres
  • snowflake
  • bigquery
  • redshift
  • duckdb
  • athena

Python version to test:

  • 3.8
  • 3.9
  • 3.10

@salimmoulouel
Copy link

salimmoulouel commented Feb 23, 2024

just to help in testing i have the following error now

Traceback (most recent call last):
  File "/usr/local/bin/dbt-fal", line 8, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/cli/cli.py", line 17, in cli
    _cli(argv)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/telemetry/telemetry.py", line 384, in wrapper
    return func(*func_args, **func_kwargs)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/cli/cli.py", line 38, in _cli
    fal_run(parsed)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/cli/fal_runner.py", line 43, in fal_run
    faldbt = create_fal_dbt(args)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/cli/fal_runner.py", line 20, in create_fal_dbt
    return FalDbt(
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/utils.py", line 42, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/integration/project.py", line 491, in __init__
    self.scripts_dir = parse.get_scripts_dir(self.project_dir, args_vars)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/integration/parse.py", line 144, in get_scripts_dir
    vars = get_vars_dict(project_dir, args_vars)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/integration/parse.py", line 102, in get_vars_dict
    project_contract = load_dbt_project_contract(project_dir)
  File "/usr/local/lib/python3.10/site-packages/fal/dbt/integration/parse.py", line 50, in load_dbt_project_contract
    partial_project = Project.partial_load(project_dir)
AttributeError: type object 'Project' has no attribute 'partial_load'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

upgrade to support dbt-core v1.6.0
3 participants