GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — dbt integration: Improve error handling for missing dbt-artifacts-parser · Issue #5870 · feast-dev/feast

dbt integration: Improve error handling for missing dbt-artifacts-parser #5870

New issue
Copy link
New issue
Copy link
Open
Open
dbt integration: Improve error handling for missing dbt-artifacts-parser#5870
Copy link
Assignees
kchawlani19

Description

@YassinNouh21
YassinNouh21
opened on Jan 16, 2026
Issue body actions

Context

PR #5827 added dbt integration that requires dbt-artifacts-parser dependency.

Problem

The CLI commands (feast dbt import, feast dbt list) don't explicitly catch ImportError from the parser, leading to potentially confusing error messages.

Current Behavior

# In parser.py:112
raise ImportError(
    "dbt-artifacts-parser is required for dbt integration.\n"
    "Install with: pip install 'feast[dbt]' or pip install dbt-artifacts-parser"
)

But CLI commands catch only FileNotFoundError and ValueError:

# In dbt_import.py:131-136
except FileNotFoundError as e:
    click.echo(f"{Fore.RED}Error: {e}{Style.RESET_ALL}", err=True)
    raise SystemExit(1)
except ValueError as e:
    click.echo(f"{Fore.RED}Error: {e}{Style.RESET_ALL}", err=True)
    raise SystemExit(1)

Proposed Solution

Add ImportError to exception handling in CLI commands with helpful message.

Files to Update

  • sdk/python/feast/cli/dbt_import.py (lines 131-136, 343-348)

Related

  • PR feat: Add dbt integration for importing models as FeatureViews #5827

Activity

  1. kchawlani19 commented on Jun 17, 2026

    @kchawlani19
    kchawlani19
    on Jun 17, 2026
    Contributor
    More actions

    Hello,

    I've submitted a fix for this issue in PR #6534.

    PR: #6534

    Please let me know if any changes are needed. Thanks!

  2. ntkathole
    assigned
    kchawlani19
    on Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kchawlani19
    kchawlani19

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.