Closed paleolimbot closed 1 year ago
since this fixes #231, is the workaround no longer needed (the initial issue is no longer an issue)?
Totally still an issue...this was just a quick way to confirm that modifying the .proto files actually caused your problem. I will use this PR to make an actual fix and merge it so that nobody else has this problem again!
Ok! No longer a test...the way that I had initially written the "update substrait" script was totally insane. Modifying the .proto files is not good and results in errors like the one that prompted this issue. Now it doesn't modify any names, uses a much more sane Python script to make a list of the protocol buffer fully qualified types, and surrounds problematic names with backticks.
The long-term solution for the "multiple .proto files in one process" problem is something like upb, but in the meantime this should keep people from having unresolvable problems!
This is just a test for #231 to see if undoing one of the renames fixes an issue.
(The fact that the .proto files were modified in the first place is obviously not ideal but was needed to work around an initial issue. If this test works, I'll follow up with a PR that undoes all the modifications!)