Skip to content

Releases: substrait-io/substrait-go

v3.2.1

05 Jan 02:48
298eedc

Choose a tag to compare

v3.2.1 (2025-01-05)

Bug fixes

v3.2.0

22 Dec 02:48
e60cefb

Choose a tag to compare

v3.2.0 (2024-12-22)

Features

  • add api to get local function variant given function invocation (#96) (e60cefb)
  • get aggregate function invocation object from testcase (#95) (8e12e1e)

Bug fixes

  • function variant match to deal with sync type parameters (#93) (01dc8aa)

v3.1.0

16 Dec 20:17
36dd6de

Choose a tag to compare

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

  • import fix 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

15 Dec 03:02
317c209

Choose a tag to compare

v3.0.1 (2024-12-15)

Bug fixes

  • testcase uri should not have substrait_include as prefix (#86) (317c209)
  • avoid duplication of function variants in registry (#85) (6123b88)

v3.0.0

08 Dec 03:02
66a798d

Choose a tag to compare

v3.0.0 (2024-12-08)

BREAKING CHANGES

    • ArgumentList has been renamed to FuncParameterList.

BREAKING CHANGE:

  • The ReturnType method in the FuncDefArgType interface now requires
    FuncParameterList and 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 anexpr.ExprBuilder directly from the plan.Builder the
    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

  • single line type derivation of decimal and fixed length types (#82) (8dd9936)

v2.3.0

01 Dec 03:09
812f62c

Choose a tag to compare

v2.3.0 (2024-12-01)

Features

  • Use types.RecordType instead of types.StructType (#76) (812f62c)

Bug fixes

  • Update RecordType() to respect emit (fdd91c1)
  • resolve negative index in function match with variadic behavior min=0 (#75) (9a78812)

v2.2.0

24 Nov 02:57
e3d39a4

Choose a tag to compare

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

17 Nov 02:55
08fa953

Choose a tag to compare

v2.1.0 (2024-11-17)

Features

  • support insert and delete on named tables (#67) (833624e)
  • Add a way to construct a field ref using a known type (#68) (aeb7063)
    • Add an alternate way of providing the base type.

    • Added NEwFieldRefFromType


Bug fixes

  • plan,expr use Expressions fields in VirtualTable instead of Literal (#63) (08fa953)
    • Fix code to use Expressions fields in VirtualTable instead of Literal

v2.0.0

10 Nov 02:43
bdb436b

Choose a tag to compare

v2.0.0 (2024-11-10)

BREAKING CHANGES

  • type Add 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)

v1.2.0

03 Nov 02:50
1a7a92c

Choose a tag to compare

v1.2.0 (2024-11-03)

Features

  • plan Support Create Table As Select (#62) (1a7a92c)
    • feat(plan): Support Create Table As Select

    • add NamedTableWriteRel type

    • add CreateTableAsSelect() in builder

    • addressed review comments

  • support user-defined types in YAML extensions (#60) (9cb5896)