pub struct SingleDistinctToGroupBy {}
Expand description

single distinct to group by optimizer rule

  SELECT F1(DISTINCT s),F2(DISTINCT s)
  ...
  GROUP BY k

  Into

  SELECT F1(alias1),F2(alias1)
  FROM (
    SELECT s as alias1, k ... GROUP BY s, k
  )
  GROUP BY k

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

Rewrite plan to an optimized form

A human readable name for this optimizer rule

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.