Closed vbarua closed 11 months ago
@jinfengni , can you please review?
Note: this work depends on the refactor in https://github.com/substrait-io/substrait-java/pull/164
PR to add this behaviour to the spec is https://github.com/substrait-io/substrait/pull/540
The changes in this PR allows substrait-java to read in Substrait plans containing window functions (the existing machinary only allowed for generating these plans).
Various roundtrip tests are included in WindowFunctionTest. These tests helped my identify some bugs in the existing code to convert POJO window bounds to PROTO window bounds. I've simplified the handling of these as well.