Forum Discussion

felipe_regis's avatar
felipe_regis
New Member
2 years ago
Solved

Failed to create table and schema

hi folks   I failed to run a simple create table into a spark notebook using python and then in SQL as well.   It follows my code:     %%sql CREATE TABLE IF NOT EXISTS sales.sales_silver ( ...
  • rahuldwh's avatar
    2 years ago

    felipe_regis , Yes we can't create schema in the lakehouse. In the code given in the lab the sales denotes lakehouse name not the schema. So if you haven't created the sales lakehouse your code will show this error.