We could add a new type code to the union. Presumably consumers would just error on or ignore such values (the libraries just hand the Arrow array to the application, so it's up to the application what to do with an unknown type code). (And for a new consumer talking to an old server, the new type code would just never come up, so the only issue would be if it strictly validates the returned schema.)
If there's support, I can make this revision as well. On Tue, Sep 6, 2022, at 12:37, Antoine Pitrou wrote: > Le 06/09/2022 à 17:21, David Li a écrit : >> Thanks Antoine! >> >> I've updated the PR (except for the comment about timeout units, since >> SqlInfo values can't be doubles/floats unless we change the schema there) > > Can we change the schema in a backwards-compatible way?