-
Notifications
You must be signed in to change notification settings - Fork 260
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
Misc issue fixes #581
Misc issue fixes #581
Conversation
@@ -38,7 +38,7 @@ private[offline] class SimpleConfigurableAnchorExtractor( @JsonProperty("key") k | |||
|
|||
@transient private lazy val parserContext = MvelContext.newParserContext | |||
|
|||
private val keyExpression = key.map(k => MVEL.compileExpression(k, parserContext)) | |||
private val keyExpression = if (key == null) Seq() else key.map(k => MVEL.compileExpression(k, parserContext)) |
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.
What is the meaning of the Seq()
case here? Can you explain it in a quick comment in the code
/** | ||
* The metadata for FeaturizedDataset | ||
* @param meta extra metadata | ||
* @param header feature type header info | ||
*/ | ||
case class FeaturizedDatasetMetadata(meta: Map[String, String] = Map(), header: Option[Header] = None ) { |
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.
Should be more docs about what this means; what a featurized-dataset is? (Do we have docs about it in this public version of feathr? Should we just call it as feathr's output dataset that includes info about the tensor types of joined features...?)
Also, what does "extra metadata" mean; what kinds of things is the map allowed/expected to contain, what are the keys, values, etc.
Description
This PR fixes multiple minor issues related to Feathr backward compatibility.
Does this PR introduce any user-facing changes?
No.