pub struct StripCallableQualifier;Expand description
Strip the schema qualifier from callable names.
DataFusion resolves functions (including table functions) by bare name in
a flat namespace – it has no notion of a schema-qualified function path.
Postgres clients routinely write the qualifier explicitly, most often
pg_catalog. (e.g. pg_catalog.array_to_string(...),
pg_catalog.pg_get_keywords()), so this rule drops the leading
identifier(s) from any multi-part function or table-function name and
keeps only the last segment.
Type-cast qualifiers such as pg_catalog.text / pg_catalog.int2[] used
to be handled here too, but are now resolved by the PgOidTypePlanner
type planner (which sees the cast target type at planning time and maps the
pg name to its Arrow type).
Trait Implementations§
Source§impl Debug for StripCallableQualifier
impl Debug for StripCallableQualifier
Auto Trait Implementations§
impl Freeze for StripCallableQualifier
impl RefUnwindSafe for StripCallableQualifier
impl Send for StripCallableQualifier
impl Sync for StripCallableQualifier
impl Unpin for StripCallableQualifier
impl UnsafeUnpin for StripCallableQualifier
impl UnwindSafe for StripCallableQualifier
Blanket Implementations§
impl<T> Allocation for T
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