Skip to content

Concurrency in tests and audits #5468

@siddharth-sc1903

Description

@siddharth-sc1903

https://tobiko-data.slack.com/archives/C044BRE5W4S/p1758688241595459

Hi,

Opening an issue as discussed in the slack thread above. My sqlmesh project has py spark models and uses databricks connect to be able to plan using the cli. We arent able to use duck db for local tests as the tests for these python based models cannot execute on duck, and arent able to use a local spark cluster as we use databricks connect. We hence provision a small cluster in databricks for tests to run here and use sychronized deployments with the CI/CD bot.

I need help with two issues

  1. Each time the bot is run, our tests take more than 5 mins to succeed as they are executed one after the other. Same case with audits run from local. This doesnt improve if i provision a medium cluster or any other for that matter.
  2. I also would like to understand , if its possible to switch to a local spark cluster(as its more closer to the databricks dialect) for testing while we plan against a prod databricks, as it saves us cost. Would this be the right usage of disable-connect flag? I havent tried this option yet

TIA,
Sid

Metadata

Metadata

Assignees

No one assigned

    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