saikrishna1-bidgely commented on PR #4908:
URL: 
https://github.com/apache/arrow-datafusion/pull/4908#issuecomment-1397704446

   Quick question, wouldn't we want to support multiple paths anyways since we 
would want to use it in DataFusion-CLI?
   
   Also, if we are able to crack the implementation which can take both single 
and multiple paths in the same function, API itself should be unchanged, right?
   
   So, I think the following are our options:
   1. As you said, don't support it but provide an example in the docs.
   2. Have multiple methods.
   3. Same method takes both single and multiple paths.
   4. Change the current methods to take only multiple paths.
   
   1 is definitely the simplest but I think we should support it as it would 
make using DataFusion simpler.
   2 is simple but multiple functions is a downside.
   3 if possible is best case IMO.
   4 is also simpler but needs a lot of changes downstream.


-- 
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]

Reply via email to