Hi Niranda/Anjana,

I wanted to change the schema of an existing temporary table in spark,
however, when I change the schema when defining the table it did not work
because the table already existed.

So I tried to drop according to spark manual

"DROP [TEMPORARY] TABLE [IF EXISTS] tbl_name"

and still it did not work. Finally I had to drop all the H2 tables to
resolve this issue.

Is there a best practice when changing the schema of spark tables?


Regards,
Amani
-- 
Amani Soysa
Associate Technical Lead
Mobile: +94772325528
WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to