Using the Observable API on the source dataframe to a Delta Table merge seems to hang indefinitely.
Steps to reproduce:
- Create one or more pyspark.sql.Observation objects.
- Use DataFrame.observe on the merge source.
- Run merge.
- Accessing Observation.get blocks indefinitely.
The source dataframe here is a batch dataframe, executed within the foreachBatch framework on a streaming data source.
Is the Observable API not compatible with Delta Table merges?