### Is your feature request related to a problem or challenge? It's a helpful constructor. Done in https://github.com/apache/datafusion/pull/18125. ### Describe the solution you'd like _No response_ ### Describe alternatives you've considered _No response_ ### Additional context _No response_