pub struct AliasDuplicatedProjectionRewrite;Expand description
Rewrite rule for adding alias to duplicated projection
This rule is to deal with sql like SELECT n.oid, n.* FROM n, which is a
valid statement in postgres. But datafusion treat it as illegal because of
duplicated column oid in projection.
This rule will add alias to column, when there is a wildcard found in projection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AliasDuplicatedProjectionRewrite
impl RefUnwindSafe for AliasDuplicatedProjectionRewrite
impl Send for AliasDuplicatedProjectionRewrite
impl Sync for AliasDuplicatedProjectionRewrite
impl Unpin for AliasDuplicatedProjectionRewrite
impl UnsafeUnpin for AliasDuplicatedProjectionRewrite
impl UnwindSafe for AliasDuplicatedProjectionRewrite
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more