rdblue commented on pull request #1972:
URL: https://github.com/apache/iceberg/pull/1972#issuecomment-752752371
Here's the relevant check in URI that is failing:
```java
if ((path != null)
&& ((path.length() > 0) && (path.charAt(0) != '/')))
throw new URISyntaxException(s,
"Relative path in absolute
URI");
```
Looks like the location is parsed in `Path`:
```java
// parse uri scheme, if any
int colon = pathString.indexOf(':');
int slash = pathString.indexOf('/');
if ((colon != -1) &&
((slash == -1) || (colon < slash))) { // has a scheme
scheme = pathString.substring(0, colon);
start = colon+1;
}
```
String's `indexOf` returns on the first occurrence of `:`, so it looks like
it must be that the `file:` is getting stripped out somehow. Can you debug and
see what's actually passed?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]