platinumhamburg opened a new issue, #1284: URL: https://github.com/apache/fluss/issues/1284
### Search before asking - [x] I searched in the [issues](https://github.com/alibaba/fluss/issues) and found nothing similar. ### Fluss version 0.7.0 (latest release) ### Please describe the bug 🐞 The protostuff-parser is the core dependency for fluss-proto-generator for protobuf file parsing. In ProtoCodeGenerator, we use it in the following way: ``` for (File input : inputs) { Proto proto = new Proto(); ProtoUtil.loadFrom(input, proto); ....... } ``` While the Proto's constructor provides various forms to customize the proto file loading behaviour, we only use the default constructor, which leads the ProtoLoader only support load proto files from absolute paths when processing import statements. ### Solution We can pass the input (File) to the Proto's constructor, that will allow importing other proto files from the same directory. ### Are you willing to submit a PR? - [x] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
