I am trying to create a Delta table from SELECT
statement and a NULL
value for column. There is no error coming when I create the table but it is throwing a error when trying to run select.
%sql
create or replace table test1 as (
select
col1,
null as a,
from
table1
);
No error coming up.
%sql
select * from test1;
Error : IllegalStateException: Couldn't find a#31234 in [col1#31233]