dwsmith1983 opened a new issue, #7737:
URL: https://github.com/apache/datafusion-comet/issues/7737

   ### Describe the bug
   
   Found while working on #7734. A few JVM Iceberg messages still print a 
location as given:
   
   - `IcebergReflection.scala`: the error logged when resolving the FileIO 
delegate fails, the `could not resolve the FileIO for $location` exception, and 
the warning logged when a data file left by a failed write cannot be deleted.
   - `CometIcebergNativeScan.scala`: the exception that names a delete file 
path.
   
   A location with a password in its userinfo or a signed query string ends up 
in driver or executor logs and task failures.
   
   ### Steps to reproduce
   
   Reach any of these with a location like 
`s3://alice:SECRET@bucket/t/data?sig=TOKEN`, for example through a FileIO that 
cannot be resolved. The message prints the location in full.
   
   ### Expected behavior
   
   These messages show the location through `NativeConfig.displayLocation` from 
#7734, without its password, query or fragment.
   
   ### Additional context
   
   This uses #7734's helper, so it lands after #7565 and #7734.
   


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