pub struct Show {
pub kind: ShowKind,
pub output_schema: DFSchemaRef,
}Expand description
A SHOW-class SQL statement: SHOW TABLES, SHOW COLUMNS, SHOW FUNCTIONS, SHOW <variable>, SHOW CREATE TABLE, and DESCRIBE.
§Example output (DESCRIBE):
> describe traces;
+--------------------+-----------------------------+-------------+
| column_name | data_type | is_nullable |
+--------------------+-----------------------------+-------------+
| attributes | Utf8 | YES |
| duration_nano | Int64 | YES |
| end_time_unix_nano | Int64 | YES |
| service.name | Dictionary(Int32, Utf8) | YES |
| span.kind | Utf8 | YES |
| span.name | Utf8 | YES |
| span_id | Dictionary(Int32, Utf8) | YES |
| time | Timestamp(Nanosecond, None) | NO |
| trace_id | Dictionary(Int32, Utf8) | YES |
| otel.status_code | Utf8 | YES |
| parent_span_id | Utf8 | YES |
+--------------------+-----------------------------+-------------+Fields§
§kind: ShowKindWhich SHOW-class statement this is, and any parameters it carries
output_schema: DFSchemaRefschema of the output produced by this statement
Trait Implementations§
impl Eq for Show
Source§impl PartialOrd for Show
impl PartialOrd for Show
impl StructuralPartialEq for Show
Auto Trait Implementations§
impl Forget for Show
impl Freeze for Show
impl Move for Show
impl RefUnwindSafe for Show
impl Send for Show
impl Sync for Show
impl Unpin for Show
impl UnsafeUnpin for Show
impl UnwindSafe for Show
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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