I am trying to test this locally after building pg_lake for docker. When I do the following:
create type accessorial as (
code text,
charges numeric
);
create table fact_freight_bill_heap as
select 1234334 pro_number, 100.11 net_revenue, array[row('LIFT', 25.00)]::accessorial[] accessorials;
create table fact_freight_bill_iceberg using iceberg as
select pro_number, net_revenue, accessorials
from fact_freight_bill_heap;
I get this error:
[42804] ERROR: column "accessorials" is of type lake_struct.code_charges_a8759c4a[] but expression is of type accessorial[]
Hint: You will need to rewrite or cast the expression.
Originally posted by @rcronin in #535 (comment)
I am trying to test this locally after building pg_lake for docker. When I do the following:
I get this error:
[42804] ERROR: column "accessorials" is of type lake_struct.code_charges_a8759c4a[] but expression is of type accessorial[]
Hint: You will need to rewrite or cast the expression.
Originally posted by @rcronin in #535 (comment)