Forum Discussion

HarderT's avatar
HarderT
Helper II
2 years ago
Solved

Spark SQL to Delta Table

Hey Guys,

 

I have a short question.

 

Is it possible to save a table in delta format in MS Fabric with notebooks in Spark SQL?

 

Thanks for help!

 

Best Regards

Tim

  • HarderT's avatar
    HarderT
    2 years ago

    Hello Anonymous,

     

    thanks for the links you sent me. This is what I was looking for.

     

    %%sql

    CREATE TABLE salestable
    (
    Orderid INT NOT NULL,
    OrderDate TIMESTAMP NOT NULL,
    CustomerName STRING,
    SalesTotal FLOAT NOT NULL
    )
    USING DELTA

     

     

    I put this here so others with the same problem can find it here directly.

     

    Many thanks and Best Regards

    Tim

2 Replies