Skip to content

Conversation

@narahari92
Copy link

What changes were proposed in this pull request?

This adds a new feature transformer which will take a javascript function and based on the logic provided in that, derives new features.

How was this patch tested?

There is proper unit test written for this transformer and also it's been testing in local and yarn-client mode.
Please review http://spark.apache.org/contributing.html before opening a pull request.

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

Copy link
Member

@srowen srowen left a comment

Choose a reason for hiding this comment

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

Just implement Transformer. This adds very little

import org.apache.spark.sql.types.StructField
import org.apache.spark.sql.types.StructType

import javax.script.ScriptEngineManager
Copy link
Member

Choose a reason for hiding this comment

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

I think introducing Javascript is a non-starter

@srowen srowen mentioned this pull request Sep 26, 2017
@asfgit asfgit closed this in ceaec93 Sep 27, 2017
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