Class UnionFunctions.CompareType

java.lang.Object
org.apache.drill.exec.expr.fn.impl.UnionFunctions.CompareType
All Implemented Interfaces:
DrillFunc, DrillSimpleFunc
Enclosing class:
UnionFunctions

public static class UnionFunctions.CompareType extends Object implements DrillSimpleFunc
Returns zero if the inputs have equivalent types. Two numeric types are considered equivalent, as are a combination of date/timestamp. If not equivalent, returns a value determined by the numeric value of the MinorType enum
  • Constructor Details

    • CompareType

      public CompareType()
  • Method Details