Skip to content

and aggregate function returns incorrect result on union values in sequential runtime #6895

@philrz

Description

@philrz
$ echo '
  true::(bool|null)
  true::(bool|int64)
' | super -sam -c "and(this)" -
null

Details

Repro is with super commit f0f35f7.

Vector runtime works fine though.

$ super -version
Version: v0.3.0-91-gf0f35f760

$ echo '
  true::(bool|null)
  true::(bool|int64)
' | super -vam -c "and(this)" -
true

As does primitive bool in sequential runtime.

$ echo '
  true::bool
  true::bool
' | super -sam -c "and(this)" -
true

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions