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

How can I get the number of unique arrays #2010

Closed
silviucpp opened this issue Mar 8, 2018 · 5 comments
Closed

How can I get the number of unique arrays #2010

silviucpp opened this issue Mar 8, 2018 · 5 comments
Assignees

Comments

@silviucpp
Copy link
Contributor

Hello,

Having a table like:

CREATE TABLE test_array2 (arr Array(Nullable(Float64))) ENGINE = Memory;
INSERT INTO test_array2(arr) values ([1,2]),([3,4]),([5,6]),([7,8]);

How Can I get number of unique arrays ? Seems uniq is not working with array fields

Silviu

@silviucpp
Copy link
Contributor Author

silviucpp commented Mar 9, 2018 via email

@silviucpp
Copy link
Contributor Author

Is this supposed to be fixed ? I still get Code: 48, e.displayText() = DB::Exception: Method getDataAt is not supported for Nullable(Float64), e.what() = DB::Exception when doing select uniq(arr) from test_array2

@alexey-milovidov
Copy link
Member

alexey-milovidov commented Apr 6, 2018

Not yet, I had almost fixed this but not finished.

@silviucpp
Copy link
Contributor Author

Hello @alexey-milovidov any idea when this bug will be fixed ?

@alexey-milovidov
Copy link
Member

It was left unfinished, but thank you for reminder, I'll try to keep up!

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

No branches or pull requests

2 participants