Skip to content

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

@fuzzerofducks

Description

@fuzzerofducks

Issue found by SQLSmith on git commit hash a5991 using seed 693408908.

To Reproduce

create table all_types as select * exclude(small_enum, medium_enum, large_enum) from test_all_types();
select  
  cast(coalesce(ref_0.fixed_nested_varchar_array,
    ref_0.fixed_nested_varchar_array) as varchar[3][3]) as c0, 
  __internal_decompress_integral_uhugeint(
    cast(ref_0.ubigint as ubigint),
    cast(ref_0.ubigint as ubigint)) as c1, 
  cast(coalesce(ref_0.date,
    ref_0.date) as date) as c2, 
  
    arg_min_nulls_last(
      cast(ref_0.blob as blob),
      cast(ref_0.blob as blob)) over (partition by ref_0.varchar order by ref_0.timestamp_tz) as c3, 
  ref_0.utinyint as c4, 
  
    arg_max_null(
      cast(ref_0.int as integer),
      cast(cast(nullif(ref_0.int,
        ref_0.int) as integer) as integer)) over (partition by ref_0.timestamptz_array order by ref_0.timestamptz_array) as c5
from 
  main.all_types as ref_0
where 1;

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