vjani
New Contributor III

I was getting same error in python notebook and I found typo in my sql:

Changing from

 

ALTER TABLE table_name SET OWNER TO 'principal'

 

to below fixed the issue.

 

ALTER TABLE table_name SET OWNER TO `principal`