Skip to content
  • Venkata Ramana Gollamudi's avatar
    1c62f97e
    [SPARK-3268][SQL] DoubleType, FloatType and DecimalType modulus support · 1c62f97e
    Venkata Ramana Gollamudi authored
    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.gollamudihuawei.com
    
    Author: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com>
    
    Closes #2457 from gvramana/double_modulus_support and squashes the following commits:
    
    79172a8 [Venkata Ramana Gollamudi] Add hive cache to testcase
    c09bd5b [Venkata Ramana Gollamudi] Added a HiveQuerySuite testcase
    193fa81 [Venkata Ramana Gollamudi] corrected testcase
    3624471 [Venkata Ramana Gollamudi] modified testcase
    e112c09 [Venkata Ramana Gollamudi] corrected the testcase
    513d0e0 [Venkata Ramana Gollamudi] modified to add modulus support to fractional types float,double,decimal
    296d253 [Venkata Ramana Gollamudi] modified to add modulus support to fractional types float,double,decimal
    1c62f97e
    [SPARK-3268][SQL] DoubleType, FloatType and DecimalType modulus support
    Venkata Ramana Gollamudi authored
    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.gollamudihuawei.com
    
    Author: Venkata Ramana Gollamudi <ramana.gollamudi@huawei.com>
    
    Closes #2457 from gvramana/double_modulus_support and squashes the following commits:
    
    79172a8 [Venkata Ramana Gollamudi] Add hive cache to testcase
    c09bd5b [Venkata Ramana Gollamudi] Added a HiveQuerySuite testcase
    193fa81 [Venkata Ramana Gollamudi] corrected testcase
    3624471 [Venkata Ramana Gollamudi] modified testcase
    e112c09 [Venkata Ramana Gollamudi] corrected the testcase
    513d0e0 [Venkata Ramana Gollamudi] modified to add modulus support to fractional types float,double,decimal
    296d253 [Venkata Ramana Gollamudi] modified to add modulus support to fractional types float,double,decimal
Loading