Skip to content

Commit

Permalink
feat: add runtime support for vectorized conditional expressions
Browse files Browse the repository at this point in the history
Updates the Go side to support vectorized conditionals.
Adds new template-generated code to handle the arrow array building code
as well as updates to the `values` package which acts as an entry point
to help delegate to the correct typed API based on the MonoType of the
incoming vectors.
  • Loading branch information
Owen Nelson committed Jul 25, 2022
1 parent a24431d commit e84f58b
Show file tree
Hide file tree
Showing 8 changed files with 834 additions and 0 deletions.
1 change: 1 addition & 0 deletions array/array.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
//go:generate tmpl -data=@binary.tmpldata -o binary.gen.go binary.gen.go.tmpl
//go:generate tmpl -data=@types.tmpldata -o builder.gen.go builder.gen.go.tmpl
//go:generate tmpl -data=@types.tmpldata -o repeat.gen.go repeat.gen.go.tmpl
//go:generate tmpl -data=@types.tmpldata -o conditional.gen.go conditional.gen.go.tmpl

type DataType = arrow.DataType

Expand Down
Loading

0 comments on commit e84f58b

Please sign in to comment.