https://delta.io logo
a

Alessandro Biagi

05/31/2023, 4:04 PM
I really hope that someone can clarify the issue we're currently facing with the
delta merge
operation. What does it happen if during a merge operation the underlying data is changing? Can this lead to data inconsistencies? This would explain some issues that we're facing..
t

TD

05/31/2023, 4:05 PM
all writes are transactionally guaranteed to serializable.
a

Alessandro Biagi

05/31/2023, 4:08 PM
So these statements of chatgpt are false, right? I don't use it generally but for this particular doubt I gave it try and it seemed to confirm my suspicious... @TD
To clarify this, I'm referring to thecase where the input dataframe of delta merge operation is changing. If you can also give more details about your answer that would be appreciated..@TD
n

Nick Karpov

05/31/2023, 4:16 PM
a

Alessandro Biagi

05/31/2023, 4:18 PM
@Nick Karpov ok but I'm quite sure I'm facing this same issue, is there a way for me to confirm this?
n

Nick Karpov

05/31/2023, 4:19 PM
what version are you using?
a

Alessandro Biagi

05/31/2023, 4:20 PM
ok let me check this
@Nick Karpov what's the fastest way to check deltalake version? it's not straightforward from the docs..
@Nick Karpov apparently our version is the very old 1.1.0 so this could explain everything
@Nick Karpov regarding this fix, it would come out naturally with the version 2.2.0 or should I modify some spark configuration specifically to have the materialized view? I'm still facing a similar issue with 2.2.0, where my source looks like it wasn't materialized (see my problem below in the chat)