This is the same issue present in substrait-go (https://github.com/substrait-io/substrait-go/issues/170)