Skip to content
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

support radians and degrees in sql #7336

Merged
merged 2 commits into from
Apr 2, 2019

Conversation

xueyumusic
Copy link
Contributor

Current query math functions support toRadians and toDegrees, it could simply be exposed in sql.
The sql functions are "RADIANS" and "DEGREES", and the tests are added

@surekhasaharan
Copy link

@xueyumusic could you please check the test failure.

@xueyumusic
Copy link
Contributor Author

xueyumusic commented Mar 27, 2019

@surekhasaharan , thanks for reminding. It looks the the order of virtualColumns of this test case might be a little randoms..I will look it deeper..

@xueyumusic
Copy link
Contributor Author

Updated, @surekhasaharan , thanks~

@surekhasaharan
Copy link

thanks @xueyumusic for quick fix.

Copy link

@surekhasaharan surekhasaharan left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@clintropolis clintropolis left a comment

Choose a reason for hiding this comment

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

lgtm, thanks! 👍

@clintropolis clintropolis merged commit 78fd5af into apache:master Apr 2, 2019
@fjy fjy added this to the 0.15.0 milestone Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants