Open ponychicken opened 5 days ago
Casting it before comparission works....
dt.merge(
source=df,
predicate="target.timestamp = source.timestamp AND CAST(target.altitude AS STRING) = CAST(source.altitude AS STRING)",
source_alias="source",
target_alias="target",
).when_matched_update_all().when_not_matched_insert_all().execute()
Environment
Delta-rs version: 0.22
Bug
Merging into a DeltaTable and comparing a Decimal in the predicate fails with
Reprocase: