substraitgo

package module
v8.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

README

substrait-go

Experimental Go bindings for substrait

release status codecov

Note:

This is work in progress still, things still to do:

  • Expression parsing
  • Reading in extension yamls
  • CI building and testing the implementation
  • Serialization/Deserialization of some expression types:
    • IfThen
    • SwitchExpression
    • SingularOrList
    • MultiOrList
    • Cast
    • Nested
    • Subquery
  • Serialization/Deserialization of Plan and Relations
    • Plan
    • PlanRel
    • Rel
      • ReadRel
      • FilterRel
      • FetchRel
      • AggregateRel
      • SortRel
      • JoinRel
      • ProjectRel
      • SetRel
      • ExtensionSingleRel
      • ExtensionMultiRel
      • ExtensionLeafRel
      • CrossRel
      • HashJoinRel
      • MergeJoinRel
    • DdlRel
    • WriteRel
    • ExchangeRel
  • Plan Building helpers
    • ReadRel
      • NamedScanReadRel
      • VirtualTableReadRel
      • ExtensionTableReadRel
      • LocalFileReadRel
    • FilterRel
    • FetchRel
    • AggregateRel
    • SortRel
    • JoinRel
    • ProjectRel
    • SetRel
    • CrossRel
    • HashJoinRel
    • MergeJoinRel
    • DdlRel
    • WriteRel
    • ExchangeRel

As this is built out, you can expect refactors and other changes to the structure of the package for the time being. The API should not yet be considered stable.

Protobuf bindings come from substrait-protobuf.

Documentation

Overview

Package substraitgo contains the experimental go bindings for substrait (https://substrait.io).

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotImplemented         = errors.New("not implemented")
	ErrInvalidType            = errors.New("invalid type")
	ErrInvalidExpr            = errors.New("invalid expression")
	ErrNotFound               = errors.New("not found")
	ErrKeyExists              = errors.New("key already exists")
	ErrInvalidRel             = errors.New("invalid relation")
	ErrInvalidArg             = errors.New("invalid argument")
	ErrInvalidInputCount      = errors.New("invalid input count")
	ErrInvalidDialect         = errors.New("invalid dialect")
	ErrInvalidSimpleExtention = errors.New("invalid simple extension")
	ErrInvalidPlan            = errors.New("invalid plan")
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package expr provides types and builders for constructing Substrait expressions.
Package expr provides types and builders for constructing Substrait expressions.
testcases

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL