Forum Discussion

abm_chris's avatar
abm_chris
Icon for Advocate I rankAdvocate I
1 year ago
Solved

Python Notebook duckdb/delta intermittent permission errors

Hi,  I have been having intermittent issues over the past couple of weeks with duckdb executing sql queries and getting the below error: IOException: IO Error: Hit DeltaKernel FFI error (from: ...
  • Shahid12523's avatar
    1 year ago

    The error is from DuckDB’s Delta Kernel when reading _delta_log files — it’s not a real permission issue, but an intermittent I/O/concurrency bug in Fabric.

    ✅ Fixes 

    Add retry logic around DuckDB queries.

    Avoid concurrent Spark + DuckDB reads on the same table.

    Keep DuckDB/Fabric runtime updated.

    If critical, use Spark SQL instead of DuckDB for stability.

    👉 It’s a platform-side intermittent bug, not your config.