Well it’s not explicitly deprecated, but I’ve asked it to be
It’s not documented; like I had to really dig into order to figure out how to make a table that has column invariants in Spark
r
rtyler
01/11/2023, 12:52 AM
heh, well I'm on the fence on whether I want to explore using these more then
w
Will Jones
01/11/2023, 12:52 AM
Use constraints instead
That’s the thing that is favored over invariants
Though we don’t support them yet
It’s on my radar, but whenever I’ve asked users they always seem to prefer prioritizing more operations like UPDATE / DELETE / MERGE over supporting higher protocol versions
r
rtyler
01/11/2023, 12:58 AM
that makes sense to me
r
Robert
01/11/2023, 7:23 AM
we also use the InvariantChecker in a dedicated writer we use in the operations module. I kept a separate writer implementation to be able to experiment more without impacting too much of the code base. Eventually the current writer module and the one in the operations module should merge…