Skip to content

[SPARK-1995][SQL] system function upper and lower can be supported#936

Closed
egraldlo wants to merge 5 commits intoapache:masterfrom
egraldlo:stringoperator
Closed

[SPARK-1995][SQL] system function upper and lower can be supported#936
egraldlo wants to merge 5 commits intoapache:masterfrom
egraldlo:stringoperator

Conversation

@egraldlo
Copy link
Copy Markdown
Contributor

@egraldlo egraldlo commented Jun 1, 2014

I don't know whether it's time to implement system function about string operation in spark sql now.

@AmplabJenkins
Copy link
Copy Markdown

Can one of the admins verify this patch?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

converted seems better than beConverted here.

@liancheng
Copy link
Copy Markdown
Contributor

LGTM except some minor formatting issues.

@marmbrus
Copy link
Copy Markdown
Contributor

marmbrus commented Jun 2, 2014

Thanks for doing this!

We should add this to the hive parser as well.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps, "A function that converts the characters of a string to uppercase."

@egraldlo
Copy link
Copy Markdown
Contributor Author

egraldlo commented Jun 2, 2014

thanks @liancheng and @marmbrus, I have modified the formatting issues and "nullable".

@egraldlo
Copy link
Copy Markdown
Contributor Author

egraldlo commented Jun 2, 2014

hi @liancheng, @marmbrus, in HiveQl.scala, MAX and MIN is not in it, maybe aggregation function max and min were supported afterwards.

@marmbrus
Copy link
Copy Markdown
Contributor

marmbrus commented Jun 2, 2014

test this please

@AmplabJenkins
Copy link
Copy Markdown

Merged build triggered.

@AmplabJenkins
Copy link
Copy Markdown

Merged build started.

@marmbrus
Copy link
Copy Markdown
Contributor

marmbrus commented Jun 2, 2014

Change the PR title to begin with [SPARK-1995][SQL] ... please

@AmplabJenkins
Copy link
Copy Markdown

Merged build finished. All automated tests passed.

@AmplabJenkins
Copy link
Copy Markdown

All automated tests passed.
Refer to this link for build results: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/15355/

@egraldlo egraldlo changed the title system function upper and lower can be supported [SPARK-1995][SQL] system function upper and lower can be supported Jun 3, 2014
@asfgit asfgit closed this in ec8be27 Jun 3, 2014
@marmbrus
Copy link
Copy Markdown
Contributor

marmbrus commented Jun 3, 2014

Thanks for doing this!

Merged in master and 1.0

asfgit pushed a commit that referenced this pull request Jun 3, 2014
I don't know whether it's time to implement system function about string operation in spark sql now.

Author: egraldlo <egraldlo@gmail.com>

Closes #936 from egraldlo/stringoperator and squashes the following commits:

3c6c60a [egraldlo] Add UPPER, LOWER, MAX and MIN into hive parser
ea76d0a [egraldlo] modify the formatting issues
b49f25e [egraldlo] modify the formatting issues
1f0bbb5 [egraldlo] system function upper and lower supported
13d3267 [egraldlo] system function upper and lower supported

(cherry picked from commit ec8be27)
Signed-off-by: Michael Armbrust <michael@databricks.com>
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.

4 participants