Skip to content

Array containment operator #6884

Closed

Description

@izveigor

Is your feature request related to a problem or challenge?

Like other popular databases (DuckDB, PostgreSQL) it would be better to support some operators for working with arrays, making life easier for the user. The most popular operator is array containment operator which check a subset belongs to a set (in other words, the operator is alias of array_has_all function).

There are two options:

  • @> (equals to array_has_all(array1, array2)
  • <@ (equals to array_has_all(array2, array1)

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions