Skip to content
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

ValueReaderProvier #2286

Merged
merged 4 commits into from
Jul 27, 2017
Merged

Conversation

echeipesh
Copy link
Contributor

Closes: #2281

Copy link
Contributor

@jpolchlo jpolchlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There needs to be some mention of the fact that without a MergeStrategy.concat in the build.sbt of any project that uses the SPI functionality, the META-INF/services/ValueReaderProvider will be overwritten, and not all plugins will be registered. This may affect the build.sbt for spark-etl.

def valueReader(uri: URI, store: AttributeStore): ValueReader[LayerId] = {
val _uri = trim(uri)
val path = new Path(_uri)
val params = UriUtils.getParams(_uri)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For valueReader, layerWriter, attribuetStore

val _uri = trim(uri)
val path = new Path(_uri)
val params = UriUtils.getParams(_uri)

Mb that can be sugared?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really user functionality, so I wanted to leave it as bare bones as possible

Copy link
Member

@pomadchin pomadchin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine, only one comment though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants