# Functions
ExecuteScalarExpression executes the given substrait expression using the provided datum as input.
ExecuteScalarSubstrait uses the provided Substrait extended expression to determine the expected input schema (replacing missing fields in the partial input datum with null scalars and re-ordering columns if necessary) and ExtensionIDSet to use.
FieldsFromSubstrait produces a list of arrow fields from a list of substrait types (such as the fields of a StructType) using nextName to determine the names for the fields.
FromSubstraitType returns the appropriate Arrow data type for the given substrait type, using the extension set if necessary.
No description provided by the author
No description provided by the author
GetReferencedValue retrieves the referenced (potentially nested) value from the provided datum which may be a scalar, array, or record batch.
GetRefField evaluates the substrait field reference to retrieve the referenced field or return an error.
GetRefSchema evaluates the provided substrait field reference against the schema to retrieve the referenced (potentially nested) field.
GetScalar returns the evaluated referenced scalar value from the provided scalar which must be appropriate to the type of reference.
IsNullable is a convenience method to return whether or not a substrait type has Nullability set to NullabilityRequired or not.
NewDefaultExtensionSet constructs an empty extension set using the default Arrow Extension registry and the default collection of substrait extensions from the Substrait-go repo.
NewExprBuilder constructs a new Expression Builder that will use the provided extension set and registry.
NewExtensionIDRegistry initializes a new registry for use.
NewExtensionSet creates a new extension set given a substrait extension registry, and an Arrow <--> Substrait registry for mapping substrait extensions to their Arrow equivalents.
NewExtensionSetDefault is a convenience function to create a new extension set using the Default arrow extension ID registry.
NewFieldRef constructs a properly typed substrait field reference segment, from a given arrow field reference, schema and extension set (for resolving substrait types).
NewFieldRefFromDotPath constructs a substrait reference segment from a dot path and the base schema.
NewScalarCall constructs a substrait ScalarFunction expression with the provided options and arguments.
RefFromFieldPath constructs a substrait field reference segment from a compute.FieldPath which should be a slice of integers indicating nested field paths to travel.
ToArrowSchema takes a substrait NamedStruct and an extension set (for type resolution mapping) and creates the equivalent Arrow Schema.
ToSubstraitType converts an arrow data type to a Substrait Type.
No description provided by the author
No description provided by the author
# Constants
URI for official Arrow Substrait Extension Types.
URI for official Substrait Arithmetic funcs extensions.
URI for official Substrait Comparison funcs extensions.
No description provided by the author
No description provided by the author
# Variables
the default extension registry that will contain the Arrow extension type variations and types.
# Structs
ExprBuilder is the parent for building substrait expressions via Arrow types and functions.
ExtensionIDRegistry manages a set of mappings between Arrow types and functions and their substrait equivalents.
# Interfaces
Builder wraps the substrait-go expression Builder and FuncArgBuilder interfaces for a simple interface that can be passed around to build substrait expressions from Arrow data.
ExtensionIDSet is an interface for managing the mapping between arrow and substrait types and function extensions.