rtyler opened a new issue, #12581:
URL: https://github.com/apache/datafusion/issues/12581

   ### Is your feature request related to a problem or challenge?
   
   When investigating delta-io/delta-rs#2834 I discovered that the crux of the 
problem was that our (delta-rs) code has Urls coming from object_store, which 
are then passed back into Datafusion via `read_parquet` which does a 
ListingTableUrl::parse on those strings, thereby turning URLs into strings and 
"corrupting" them in the process.
   
   
   ### Describe the solution you'd like
   
   I think a `ListingTableUrl` constructor or means of construction without a 
parse would suffice for our use-case. On the delta-rs side we have effectively 
all the necessary information to construct a `ListingTableUrl`  (url, scheme, 
object store, etc) but we are not able to build that ourselves and therefore 
have to jump through a couple hoops to get ListingTableUrl::parse to produce 
the right thing.
   
   ### Describe alternatives you've considered
   
   Right now I'm passing str::replcae(meta.location.as_ref(), "%", "%25") to 
read_parquet and it feels yucky :laughing: :naus
   
   ### Additional context
   
   _No response_


-- 
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: github-unsubscr...@datafusion.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to