-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-3268][SQL] DoubleType, FloatType and DecimalType modulus support #2457
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
|
Can one of the admins verify this patch? |
|
ok to test |
|
Thanks for working on this! Could you also add some tests to |
|
QA tests have started for PR 2457 at commit
|
|
QA tests have finished for PR 2457 at commit
|
|
Added testcase in HiveQuerySuite. Please verify and test. Thanks. |
|
QA tests have started for PR 2457 at commit
|
|
QA tests have finished for PR 2457 at commit
|
|
Test FAILed. |
|
Fixed test failure by adding hive cache file, please re-test. Thanks |
|
QA tests have started for PR 2457 at commit
|
|
QA tests have finished for PR 2457 at commit
|
|
Test PASSed. |
|
Thanks! I merged this to master. |
Supported modulus operation using % operator on fractional datatypes FloatType, DoubleType and DecimalType
Example:
SELECT 1388632775.0 % 60 from tablename LIMIT 1
Author : Venkata Ramana Gollamudi ramana.gollamudi@huawei.com