Commit 59472296 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

fixed no join bug when no data in table

parent abd5f3ab
......@@ -88,6 +88,9 @@ class BaseDAG:
join_type="inner",
)
u_data_basis = table.unique(filtered_data_basis["dataset", "obs_id"])
if len(u_data_basis) == 0:
filtered_plan_basis = plan_basis[:0]
else:
filtered_plan_basis = table.join(
u_data_basis,
plan_basis,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment