You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First execute command on hive cli:
CREATE TEMPORARY FUNCTION udfarrayexclude AS 'com.facebook.hive.udf.UDFArrayExclude';
SELECT udfarrayexclude(array(1,2,3),array(1,2))
The result is as follows:
hive> SELECT udfarrayexclude(array(1,2,3),array(1,2));
OK
[1,2,3]
Time taken: 4.858 seconds, Fetched: 1 row(s)
why? In my opinion, the result should be [3]
Could someone give me some help?
The text was updated successfully, but these errors were encountered:
First execute command on hive cli:
CREATE TEMPORARY FUNCTION udfarrayexclude AS 'com.facebook.hive.udf.UDFArrayExclude';
SELECT udfarrayexclude(array(1,2,3),array(1,2))
The result is as follows:
hive> SELECT udfarrayexclude(array(1,2,3),array(1,2));
OK
[1,2,3]
Time taken: 4.858 seconds, Fetched: 1 row(s)
why? In my opinion, the result should be [3]
Could someone give me some help?
The text was updated successfully, but these errors were encountered: