-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3Location moved to absa commons #71
Conversation
…n commons are released
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will approve right after common 0.0.27 will have been released.
|
||
val location = path.toS3LocationOrFail.withRegion(region) | ||
val location = path.toS3Location match { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't the S3Location.apply
be easier? No need to match.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commons 0.0.27 is now released.
98a09f1
to
02d7c5b
Compare
atum/pom.xml
Outdated
<groupId>za.co.absa.commons</groupId> | ||
<artifactId>commons_${scala.binary.version}</artifactId> | ||
<version>${commons.version}</version> | ||
<scope>provided</scope> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this provided?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for noticing, my mistake, that was a remnant of an exploratory build. Removed.
<dependency> | ||
<groupId>za.co.absa.commons</groupId> | ||
<artifactId>commons_${scala.binary.version}</artifactId> | ||
<version>${commons.version}</version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last question. Does this need to be here if there are commons already in atum?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Regional.scala
in this package needs S3Location stuff from Absa commons.
It would work with the dependency on a transitive basis, too (so it would not need to be listed to work), but since we are explicitly using it in this package, we should also explicitly list it, IMHO.
Blocked by AbsaOSS/commons#72