Define the tracker for recursion and return it.
Return early with an error, in any type that can be converted from
an
anyhow::Error
.
Dispatch the code block to all variants of ArrayBuilderImpl
.
Dispatch the code block to all variants of ArrayImpl
.
Dispatch the code block to all variants of DataType
.
Dispatch the code block to all variants of ScalarRefImpl
.
Dispatch the code block to all variants of ScalarImpl
.
Helper macro for generating dispatching code. Internally used by dispatch_data_types
macros.
Helper macro for generating dispatching code. Internally used by dispatch_xx_variants
macros.
Helper macro for expanding type aliases and constants. Internally used by dispatch_
macros.
Util macro for generating error when condition check failed.
Util macro to generate error when the two arguments are not equal.
DataType
information extracted from PostgreSQL pg_type
for_all_native_types
includes all native variants of our scalar types.
Define all system parameters here.
for_all_variants
includes all variants of our type system. If you introduced a new array type
(also known as scalar type or physical type), be sure to add a variant here.
Convert field name to string.
Match an enum variant and return the internal value.
Date/time
DataType
s supported to be
offset
of
RANGE
frame.
Numeric
DataType
s supported to be
offset
of
RANGE
frame.
schema_unnamed
builds a Schema
with the given types, but without names.
Try to match an enum variant and return the internal value.