Skip to content

Implement PartialOrd or Expr #1014

Description

@alamb

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
We want to ordering Exprs in a consistent way in our tests. See details on https://github.com/influxdata/influxdb_iox/pull/2564 in https://github.com/influxdata/influxdb_iox/pull/2564#discussion_r710817261

This also is a necessary (but not sufficient) step towards being able to use Exprs in sets and maps (still need to implement Ord and Hash) which might have helped @waynexia in #792 with CSE and would help with other algebriac transformations in the future.

Describe the solution you'd like
impl PartialOrd for Expr

Describe alternatives you've considered
None

Additional context
None

Activity

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