โ02-15-2023 02:18 AM
delete from DWH.SALES_FACT
where SALES_DATE in (select SALES_DATE from STG.SALES_FACT_SRC)
AND STORE_ID in (select STORE_ID from STG.SALES_FACT_SRC)output : Error in SQL statement: DeltaAnalysisException: Nested subquery is not supported in the DELETE condition.
Is there any way to avoid this error? ' cause I'm scared the performance when the DWH.SALES_FACT more volume in the future when create temp table.
โ02-15-2023 04:17 AM
Hi @pansiri panaudomโ ,
In my case it's working fine.
Please refer below snapshot for the same-
โ02-15-2023 04:17 AM
โ02-23-2023 10:20 AM
Hi @pansiri panaudomโ,
Just a friendly follow-up. Did any of the responses help you to resolve your question? if it did, please mark it as best. Otherwise, please let us know if you still need help.
โ02-15-2023 09:50 PM
Hi @pansiri panaudomโ
Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help.
We'd love to hear from you.
Thanks!
Passionate about hosting events and connecting people? Help us grow a vibrant local communityโsign up today to get started!
Sign Up Now