Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
1 year ago
Solved

Fabric Notebook - write dataframe to lakehouse fails - 'DataFrame' object has no attri

Hi. I try to write some data to a lakehouse. Setup An lakehouse named "Metadata" A notebook Gets some data ❌Writes to lakehouse An error occurs when writing to the the lakehouse.   Rep...
  • blopez11's avatar
    1 year ago

    You definitely need to convert to a spark dataframe before writing.  Can you show the code you used where you converted to a spark dataframe?  I used spark.createDataFrame.