Forum Discussion

RishikeshPashte's avatar
RishikeshPashte
Icon for Microsoft Employee rankMicrosoft Employee
1 year ago
Solved

Lakehouse error: "An internal error has occurred while applying table changes to SQL"

I have two EventStreams setup that fetches the data from App Insights and evetually dumps the selected set of columns into the respective tables created in OneLake but, for some reason it recently st...
  • v-achippa's avatar
    v-achippa
    1 year ago

    Hi RishikeshPashte,

     

    The issue here is that the EventStream writes are succeeding but SQL endpoint queries not reflecting the latest data, this looks like a metadata sync issue between the Spark engine and the SQL analytics endpoint in microsoft Fabric.

     

    Create a new Lakehouse or new table and use a Fabric notebook to manually copy the data using Spark. This ensures that the metadata is clean and synchronized correctly with the SQL endpoint. Once done, refresh the SQL endpoint and re run the query, this should now reflect the latest data.

     

    If this post helps, then please consider Accepting as solution to help the other members find it more quickly, don't forget to give a "Kudos" – I’d truly appreciate it! 

     

    Thanks and regards,

    Anjan Kumar Chippa