Tabrez Mohammed
12/06/2024, 5:17 PMthread 'Compute-Thread-10' panicked at src/daft-core/src/series/ops/comparison.rs:63:5:
List(Utf8) not implemented
ERROR:daft_local_execution:Error when running pipeline node ProjectOperator
for this expr:
when_neq_condition = " OR ".join(
[f"c.{col} <> p.{col}" for col in value_columns]
)
cdc = daft.sql_expr(
f"""
CASE
WHEN c.uuid IS NULL THEN 'D'
WHEN p.uuid IS NULL THEN 'I'
WHEN ({when_neq_condition}) THEN 'U'
ELSE NULL
END AS cdc
"""
)Tabrez Mohammed
12/06/2024, 5:20 PMthread 'Compute-Thread-10' panicked at src/daft-core/src/series/ops/comparison.rs:63:5:
Struct([Field { name: "amount", dtype: Decimal128(10, 0), metadata: {} }, Field { name: "currency", dtype: Utf8, metadata: {} }]) not implemented
ERROR:daft_local_execution:Error when running pipeline node ProjectOperatorTabrez Mohammed
12/06/2024, 5:34 PMdf = df.with_column("cdc", (
df["c.uuid"].is_null().if_else("D",
df["p.uuid"].is_null().if_else("I",
(reduce(lambda x, y: x | y, (df[f"c.{col}"] != df[f"p.{col}"] for col in value_columns))).if_else("U", None)
)
)
))Tabrez Mohammed
12/06/2024, 6:04 PM.list.join()jay
12/06/2024, 6:57 PMTabrez Mohammed
12/06/2024, 7:26 PMjay
12/06/2024, 7:46 PM>/>= etc) might be hard
cc oncall @Kevin Wangjay
12/06/2024, 7:46 PMKevin Wang
12/06/2024, 7:53 PM