Releases: substrait-io/substrait-go
v3.2.1
v3.2.0
v3.1.0
v3.1.0 (2024-12-16)
Features
- get scalar function invocation object from testcase (#91) (a3c9f73)
 - add func type in testcase (#90) (9e1c860)
 
Bug fixes
- avoid duplication of variants in registry when function name is overloaded (#87) (5924d58)
this happens with count_star, where same substrait function name is used
for two different functions in the extension importfix import path to match v3 (#88) (36dd6de)Since we've had major version releases, we need the import path to match
accordingly using the /v3 suffix as described
here- support function options in scalar testcases (#89) (21ed05f)
 
v3.0.1
v3.0.0
v3.0.0 (2024-12-08)
BREAKING CHANGES
- 
ArgumentListhas been renamed toFuncParameterList.
 
BREAKING CHANGE:
- The 
ReturnTypemethod in theFuncDefArgTypeinterface now requires
FuncParameterListand actual argument types as parameters.
introduced by commit:
change ArgumentList name to FuncParameterList (#79) (9b453f5) 
Features
- avoid emit in remap when unnecessary (#84) (66a798d)
This PR optimizes the generated output by not providing an output
mapping when one is not needed.It also addresses a behavior where
OutputMapping()would return an
empty list instead of nil when there was no mapping. - update to latest core Substrait (#83) (6656a5b)
This PR pulls in the latest testcase changes from Substrait core.
It also modifies the signature of ParseTestCaseFileFromFS so it can
additionally be used on other filesystems (including os.DirFS). - Add a way to get an expr.ExprBuilder from a plan.Builder (#81) (fd3415c)
By creating an
expr.ExprBuilderdirectly from theplan.Builderthe
two can share the same extension registry. - Add new Remap interface to relations (#71) (18803a2)
Remap() is an alternative to the current Remap variants currently found
on the Builder interface. It preserves the existing behavior including
checking the proposed mapping for validity. It also modifies the
relation instead of returning a copy. All of the existing Remap function
variants have been marked as deprecated in favor of Remap. - support function return type derivation (#80) (82d4922)
 - support virtual tables with expressions (#78) (2a4964b)
 
Bug fixes
v2.3.0
v2.2.0
v2.2.0 (2024-11-24)
Features
- Add expression wrapper to ExprBuilder (#73) (e3d39a4)
- 
Add expression wrapper to allow previously calculated Expression objects as function arguments.
 - 
Merge the logic of Wrap and WrapExpression.
 
 - 
 - adjust testcase parser to grammar changes (#70) (73e4446)
 - parser to parse test files and load testcases (#69) (5e22a85)
- Parser changes for testcase format. some literal helper apis. Added some tests
 
 
v2.1.0
v2.0.0
v2.0.0 (2024-11-10)
BREAKING CHANGES
- 
typeAdd precision to/from proto for IntervalDayType (#61) - 
Note, this is a breaking change. Earlier consumer's of IntervalDayType on wire
 - 
precision was Microsecond (since not set). Now if Precision will be Seconds (if not set)
 - 
Make IntervalDayType as as separate type
introduced by commit:
Add precision to/from proto for IntervalDayType (#61) (490ecbb) 
Features
- Use antlr parser to parse the types in extensions (#64) (bdb436b)
- Use antlr parser to parse the types in extensions
 - support UserDefineType in grammar and parser
 - Remove old parser code.
 - Add tests for parameterized types
 - Remove function_test_format grammar files
 - Move parser under types folder
 - Fetch grammar from substraite core repo
 
 - switch type of fetch args in builder to match proto (#65) (3f2a059)