• Matt Delacour

    Matt Delacour

    2 months ago
    👋 Is anyone scheduling DBT with Prefect here? How do you deal with dependencies (upstream & downstream)? Do you handle the logic of "This model needs to run before this other model"? On our side, we want to leverage the DBT built-in features as well as the visualization of Prefect with 1 DBT model == 1 Prefect flow
    Matt Delacour
    Billy McMonagle
    +2
    11 replies
    Copy to Clipboard
  • Chris Reuter

    Chris Reuter

    2 months ago
    Hi all! Come join @Khuyen Tran, @Chris White and myself on PrefectLive starting now!
  • Tim Enders

    Tim Enders

    2 months ago
    Question on Prefect 2.0... how is work on a
    map
    operator coming? That is a big stumbling block for us adopting 2.0. Thanks!
    Tim Enders
    Kevin Kho
    6 replies
    Copy to Clipboard
  • k

    kiran

    2 months ago
    Hi y’all. I’m trying to sign up for a 2.0 cloud account with my work email (I already have a cloud 1.0 account). I’m getting the error
    AxiosError: Request failed with status code 401
    . So I thought maybe I could sign in with my 1.0 credentials and got
    Error: Invalid username or password.
    Am I unable to sign up for 2.0 if I also have 1.0?
    k
    Kevin Kho
    3 replies
    Copy to Clipboard
  • Mansour Zayer

    Mansour Zayer

    2 months ago
    Hello. I'm using
    subprocess
    to run my dbt project locally (Prefect 1.2.2, Windows). I create my command (
    dbt run --vars '{data_processing_start_date: 2022-07-20, data_processing_end_date: 2022-07-20}' --profiles-dir ./
    ) like this:
    command = (
            f"dbt run --vars '{{"
            f"data_processing_start_date: {data_processing_start_date}, "
            f"data_processing_end_date: {data_processing_end_date}}}' --profiles-dir ./ "
        )
    The command is created correctly, but dbt gives me this error
    dbt: error: unrecognized arguments: 2022-07-20, data_processing_end_date: 2022-07-20}'
    Seems like dbt interprets
    2022-07-20
    as an argument instead of the value for
    data_processing_start_date
    variable. Keep in mind that when I run the same command in my CLI, dbt works fine. But when it's provided to dbt through
    subprocess
    this occurs. This is my subprocess:
    subprocess.run(
            command,
            check=True,
            stderr=True,
            stdout=True,
            shell=True,
            cwd="dbt",
        )
    Any idea what might cause this, and how to solve this? Thank you
    Mansour Zayer
    Anna Geller
    4 replies
    Copy to Clipboard
  • r

    R

    2 months ago
    Hello! Could you please check if this issue was fixed - {https://github.com/PrefectHQ/prefect/issues/5663} Thanks!
    r
    Anna Geller
    9 replies
    Copy to Clipboard
  • Priyank

    Priyank

    2 months ago
    Hi there! Sometimes our tasks get hung (attaching screenshots for the same), they remain in pending state when their upstream tasks are completed hours before and even after cancelling/restarting em, they won't start remain in pending state. This is happening with us like 3rd time, any possible reasons why it happens? or it is a bug in prefect 1.0?
    Priyank
    Anna Geller
    2 replies
    Copy to Clipboard