Answers for "== in hive"

0

== in hive

The= and == operators have the same functionality.
They are implemented by the exact same class.

system.registerGenericUDF("=", GenericUDFOPEqual.class);
system.registerGenericUDF("==", GenericUDFOPEqual.class);
FunctionRegistry.java

+----------+---------------------+----------------------------------------------------------------+
| Operator |    Operand types    |                          Description                           |
+----------+---------------------+----------------------------------------------------------------+
| A = B    | All primitive types | TRUE if expression A is equal to expression B otherwise FALSE. |
| A == B   | All primitive types | Synonym for the = operator.                                    |
+----------+---------------------+----------------------------------------------------------------+
Posted by: Guest on August-21-2021

Code answers related to "== in hive"

Browse Popular Code Answers by Language