+1 (binding)
On Sat, Nov 21, 2026, at 04:22, Matt Topol wrote: > +1 (binding) > > I agree with Curt and JB's comments that we'll likely continue to > evolve this as we go > > On Fri, Nov 20, 2026 at 12:31 AM Jean-Baptiste Onofré <[email protected]> > wrote: >> >> +1 (non binding) >> >> I agree with Curt that this will probably need to evolve, but the >> change is backward-compatible, and the hash code is a good idea for >> clients that call GetSqlInfo often. >> >> For Arrow Java, we keep our own copy of FlightSql.proto, and >> SqlInfoBuilder has a typed setter for each code. Once the format PR is >> merged, I will open a follow-up in arrow-java that syncs the proto and >> adds withSqlSubstraitDialect() / withSqlSubstraitDialectHash() next to >> the existing withFlightSqlServerSubstrait*() methods. >> >> Regards >> JB >> >> On Thu, Nov 19, 2026 at 10:41 PM Tornike Gurgenidze >> <[email protected]> wrote: >> > >> > Hi all, >> > >> > I'd like to propose the following additions to the Flight SQL protocol, as >> > discussed in [1]: >> > >> > - SQL_SUBSTRAIT_DIALECT (577): a UTF-8 string holding a Substrait dialect >> > [2], i.e. a YAML document listing the types, relations, expressions and >> > function signatures the server accepts in a plan. It should only be >> > returned if FLIGHT_SQL_SERVER_SUBSTRAIT is true. If it isn't returned, the >> > server doesn't describe which part of Substrait it accepts; that doesn't >> > mean it accepts all of it. >> > - SQL_SUBSTRAIT_DIALECT_HASH (578): an opaque string identifying the >> > dialect's content, for client-side caching. Clients compare it for equality >> > only; the server must return a different value whenever the dialect changes >> > (e.g. a hex-encoded SHA-256 of the dialect). >> > >> > Both codes sit in the [500, 1000) range next to the other SQL syntax codes, >> > so ADBC, which reuses Flight SQL's SqlInfo codes, picks them up as well. >> > The change is backwards-compatible: no existing codes or types change. >> > >> > The format change and the C++ enum update are in the PR [3]; the issue is >> > [4]. >> > >> > The vote will be open for at least 72 hours. >> > >> > [ ] +1 Accept this proposal >> > [ ] +0 >> > [ ] -1 Do not accept this proposal because... >> > >> > [1]: https://lists.apache.org/thread/m9f6t1losc3w8jgz33xs0hmwgy1m6r0r >> > [2]: >> > https://github.com/substrait-io/substrait/blob/main/text/dialect_schema.yaml >> > [3]: https://github.com/apache/arrow/pull/54360 >> > [4]: https://github.com/apache/arrow/issues/53872 >> > >> > Thanks, >> > Tornike
