Skip to content

Binder Error: Compressed materialization functions are for internal use only! #4315

@fuzzerofducks

Description

@fuzzerofducks

Issue found by SQLSmith on git commit hash c6bea using seed 923901866.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types() limit 0;
select  
  json_object() as c0, 
  ref_0.timestamp_tz as c1, 
  cast(coalesce(ref_0.int_array,
    (select int_array from main.all_types limit 1 offset 3)
      ) as integer[]) as c2, 
  (select fixed_struct_array from main.all_types limit 1 offset 28)
     as c3, 
  __internal_compress_integral_usmallint(
    cast(ref_0.uhugeint as uhugeint),
    cast(ref_0.uhugeint as uhugeint)) as c4, 
  ref_0.struct_of_arrays as c5, 
  get_current_timestamp() as c6, 
  case when 0 then ref_0.tinyint else ref_0.tinyint end
     as c7
from 
  main.all_types as ref_0
where current_schema() ~~* ref_0.varchar;

Error Message

Binder Error: Compressed materialization functions are for internal use only!

Stack Trace


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions