mccormickt12 opened a new pull request, #2291:
URL: https://github.com/apache/iceberg-python/pull/2291
<!--
Thanks for opening a pull request!
-->
<!-- In the case this PR will resolve an issue, please replace
${GITHUB_ISSUE_ID} below with the actual Github issue id. -->
<!-- Closes #${GITHUB_ISSUE_ID} -->
# Rationale for this change
For hdfs it's common to get scheme and netloc from config and have paths be
just the uri. Add environment variables to support this case.
example
tmccormi@ltx1-hcl14866 [ ~/python ]$ export DEFAULT_SCHEME=hdfs
tmccormi@ltx1-hcl14866 [ ~/python ]$ export
DEFAULT_NETLOC=ltx1-yugioh-cluster01.linkfs.prod-ltx1.atd.prod.linkedin.com:9000
# Are these changes tested?
Tested in test env at linkedin and with unit tests
# Are there any user-facing changes?
No user facing changes by default. If you add these env variables, if file
path doesn't have scheme/netloc it'll use the defaults specified.
<!-- In the case of user-facing changes, please add the changelog label. -->
--
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]