Skip to content

Commit

Permalink
Use log level info when populating persistent source schema
Browse files Browse the repository at this point in the history
Databricks and BigQuery are super slow on data load, which leaves
us wondering if they're doing anything. Without a log-cli-level set
the action logs just sit for a good 3 minutes. This adds log-cli-level
info to the command in order to provide some more detail on what the
actions are doing, which will also be helpful if something should fail.
  • Loading branch information
tlento committed Jan 26, 2024
1 parent 6531931 commit b5a6630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metricflow/test/populate_persistent_source_schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def populate_schemas(test_configuration: MetricFlowTestConfiguration) -> None:
os.environ["MF_TEST_ADAPTER_TYPE"] = engine_name
hatch_env = f"{engine_name}-env"
run_command(
f"hatch -v run {hatch_env}:pytest -vv --use-persistent-source-schema "
f"hatch -v run {hatch_env}:pytest -vv --log-cli-level info --use-persistent-source-schema "
"metricflow/test/source_schema_tools.py::populate_source_schema"
)
else:
Expand Down

0 comments on commit b5a6630

Please sign in to comment.