Skip to content

Releases: substrait-io/substrait-go

v3.6.0

09 Feb 02:42
00a91c9
Compare
Choose a tag to compare

v3.6.0 (2025-02-09)

Features

  • update VirtualTableReadRel.CopyWithExpressionRewrite to rewrite literal values (#113) (e1e6157)

Bug fixes

  • minimum scale required for decimal literal (#117) (00a91c9)

    Also reports the offending line number when the parser encounters a malformed testcase.

Changes to the build process or auxiliary tools and libraries such as documentation generation

  • update Substrait core dependency to the latest (v0.66.1) (#115) (f53a037)

v3.5.1

02 Feb 02:40
60cc74f
Compare
Choose a tag to compare

v3.5.1 (2025-02-02)

Bug fixes

  • fix testcase literals type to have the requested type parameters (#111) (d6e63d9)

v3.5.0

26 Jan 02:40
1aaa0fa
Compare
Choose a tag to compare

v3.5.0 (2025-01-26)

Features

  • add String method to testcase (#108) (aa74f3e)
    • fix testcase parser to handle precision_timestamp literals
    • fix String & ShortString of FixedChar and PrecisionTimestamp types

Bug fixes

  • set nullability correctly in testcase parser (#110) (1aaa0fa)
  • add precision timestamp to the list of supported types (#109) (3fcd4ed)
  • tweak the not found in dialect message (#107) (d4f8747)

v3.4.0

19 Jan 02:42
7fdc540
Compare
Choose a tag to compare

v3.4.0 (2025-01-19)

Features

  • support reads on iceberg table type (#106) (7fdc540)
  • add ValueString() to all literal types (#102) (78fdc19)

    Adds the functionality QueryString() functionality requested in #100 .

v3.3.0

12 Jan 02:51
8c4fdcb
Compare
Choose a tag to compare

v3.3.0 (2025-01-12)

Features

  • add GetFunctionRegistry in LocalFunctionRegistry (#99) (18b7daf)
  • Improve error message when numbers exceed expected precision (#103) (8c4fdcb)
  • add decimal literal to string method (#100) (be0b09b)
  • AggregateRel should use grouping references (#94) (e403121)

Bug fixes

Documentation changes

  • add information about SubstraitFunctionName and LocalFunctionName (#92) (ec31db0)

Changes to the build process or auxiliary tools and libraries such as documentation generation

v3.2.1

05 Jan 02:48
298eedc
Compare
Choose a tag to compare

v3.2.1 (2025-01-05)

Bug fixes

v3.2.0

22 Dec 02:48
e60cefb
Compare
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
Compare
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
Compare
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
Compare
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)