Forum Discussion

rafiqahmed's avatar
rafiqahmed
Frequent Visitor
1 year ago
Solved

Read and write to different lakehouses using notebook in same workspace

Hello, My goal is to read data from one lakehouse table, clean the table and save in another lakehouse in same workspaces.     I am getting table not fund error: df = spark.sql("SELECT * FROM G...
  • rafiqahmed's avatar
    1 year ago

    The problem is solved for me.

     

    I created the second lakehouse using Lakehouse Schemas checkbox checked. 

    That might be causing the issue, I deleted the lakehouse and created again with Lakehouse schemas checkbox unchecked. Open notebook , Now I can read from one lakehouse table and write to other lakehouse table in same workspace.

     

    Thanks