cj-zhukov commented on issue #14144:
URL: https://github.com/apache/datafusion/issues/14144#issuecomment-2671430609

   @devhprl hi, thanks for the comment! When I was working on this, I took in 
consideration how read_xyz methods work. And they check if the file extension 
matches the expected extension. So it was one of the reason why I chose this 
approach for register_xyz methods as well. Actually, I don't see any good 
reason not to relay on file extension in this regard. For example, if I have 
some foo.parquet file, I expect to read (or register) it into dataframe with 
read_parquet method (but not read_csv). 


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to