datafusion-java icon indicating copy to clipboard operation
datafusion-java copied to clipboard

Expose DataFusion Extensible Optimizer

Open cbiggar opened this issue 1 year ago • 2 comments

We're considering the adoption of DataFusion as a replacement for our custom query planner and plan optimizer. However this would require the ability to extend the Optimizer with custom optimization rules given some domain specific operations.

From perusing this repo I could not establish whether this ability is exposed in the java bindings. If this capability does in fact exist, a quick pointer to the relevant class would be much appreciated.

cbiggar avatar May 29 '24 09:05 cbiggar

We're considering the adoption of DataFusion as a replacement for our custom query planner and plan optimizer. However this would require the ability to extend the Optimizer with custom optimization rules given some domain specific operations.

From perusing this repo I could not establish whether this ability is exposed in the java bindings. If this capability does in fact exist, a quick pointer to the relevant class would be much appreciated.

can you demo some pseudo code if you were able to do that?

jimexist avatar May 29 '24 16:05 jimexist

Are you trying to understand the interface that I am envisaging, or are you interested in the internals of a custom optimizer that we'd wish to implement?

cbiggar avatar May 29 '24 17:05 cbiggar