Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2024 03:35 AM
I seem to get this error on some DeltaTables and not others:
df.createOrReplaceTempView("channels_to_delete")
spark.sql("""
delete from lake.something.earnings
where TenantId = :tenantId
and ChannelId = in (
select ChannelId
from channels_to_delete
)
""",
args=dict(tenant_id="some_id")
)