-
Notifications
You must be signed in to change notification settings - Fork 364
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
ValueReaderProvier #2286
Conversation
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.
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) |
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.
For valueReader
, layerWriter
, attribuetStore
val _uri = trim(uri)
val path = new Path(_uri)
val params = UriUtils.getParams(_uri)
Mb that can be sugared?
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.
Not really user functionality, so I wanted to leave it as bare bones as possible
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.
Looks fine, only one comment though
Closes: #2281