Forum Discussion

sean_cochran's avatar
sean_cochran
Resolver I
6 months ago
Solved

Polars write_delta 408 timeout causes notebook failure

I have a simple Python notebook that copies tables form one lakehouse to another using polars. There are only 5 tables, and they're small: less than 500k each. Other than a few imports, setting paths...
  • sean_cochran's avatar
    sean_cochran
    6 months ago

    Thanks for your response. I believe the most likely root cause is user error - after switching the engine to pyarrow (removing 'engine': 'rust' from the delta_write_options), I received a clear error notification about concurrent write transactions when running the pipeline these notebooks are in. I checked, and instead of running separate dev and prod notebooks concurrently, I was running the same prod notebook twice concurrently. I updated my pipeline to run the correct notebooks and I am no longer receiving errors.