-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[SPARK-11958] [SPARK-11957] [ML] [Doc] SQLTransformer user guide and example code #10006
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
Conversation
Jenkins, test this please. |
Test build #46770 has finished for PR 10006 at commit
|
Test build #46771 has finished for PR 10006 at commit
|
@@ -35,4 +35,4 @@ Collate: | |||
'sparkR.R' | |||
'stats.R' | |||
'types.R' | |||
'utils.R' | |||
'utils.R' |
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 part of this PR
LGTM except one minor issue commented inline. |
Test build #46928 has finished for PR 10006 at commit
|
Currently we only support SQL syntax like `"SELECT ... FROM __THIS__ ..."` | ||
where `"__THIS__"` represents the underlying table of the input dataset. | ||
The select clause specifies the fields, constants, and expressions to display in | ||
the output, it can be any select clause that Spark SQL supported. Users can also |
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.
supports and not supported
There are a few typos which need to be corrected, but otherwise it looks good. |
Test build #47110 has finished for PR 10006 at commit
|
@@ -1591,6 +1591,65 @@ transformer.transform(df).show() | |||
|
|||
</div> | |||
|
|||
## SQLTransformer | |||
|
|||
`SQLTransformer` implements the transforms which are defined by SQL statement. |
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.
Shouldn't this be "the transformation which are defined by a SQL statement"?
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.
Cc @mengxr
Test build #47181 has finished for PR 10006 at commit
|
…mple code Add ```SQLTransformer``` user guide, example code and make Scala API doc more clear. Author: Yanbo Liang <ybliang8@gmail.com> Closes #10006 from yanboliang/spark-11958. (cherry picked from commit 4a39b5a) Signed-off-by: Xiangrui Meng <meng@databricks.com>
Merged into master and branch-1.6. Thanks! |
Add
SQLTransformer
user guide, example code and make Scala API doc more clear.