Skip to content
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

udfarrayexclude doesn't work #9

Open
wangyunpeng666 opened this issue Jun 24, 2020 · 0 comments
Open

udfarrayexclude doesn't work #9

wangyunpeng666 opened this issue Jun 24, 2020 · 0 comments

Comments

@wangyunpeng666
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant