Skip to content

[BUG] When running sql-registry with fastapi on Mac, fastapi errors out with MacOS Symbol not found #630

@ahlag

Description

@ahlag

Willingness to contribute

Yes. I can contribute a fix for this bug independently.

Feathr version

0.7.0

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 20.0): macOS Monterey
  • Python version: python3.9
  • yarn version, if running the dev UI:

Describe the problem

When running uvicorn main:app --reload to load up the sql-registry on MacOS, fastapi errors out with MacOS Symbol not found. This is a known bug on MacOS when running fastapi, this issue. We can try fixing this by adding the necessary import in database.py but we would have to test this out on Linux and Windows as well.

Tracking information

Run uvicorn main:app --reload on MacOS.

Code to reproduce bug

uvicorn main:app --reload

What component(s) does this bug affect?

  • Python Feathr Client: This is the client users use to interact with most of our API. Mostly written in Python.
  • Computation Engine: The computation engine that execute the actual feature join and generation work. Mostly in Scala and Spark.
  • Feature Registry API Layer: The storage layer supports SQL, Purview(Atlas). The API layer is in Python(FAST API)
  • Feature Registry Web UI layer: The Web UI for feature registry. Written in React with a few UI frameworks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions