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

Can't Count Columns of Data Type Strings ? #364

Open
fsck-mount opened this issue Jun 5, 2017 · 0 comments
Open

Can't Count Columns of Data Type Strings ? #364

fsck-mount opened this issue Jun 5, 2017 · 0 comments

Comments

@fsck-mount
Copy link

I'm trying to count the number of Strings and number of distinct strings. I'm getting the following error while using the query

How do we achieve this ?

select user_id, count(order_id), count(user_id) from vtap_ts group by user_id, order_id;

Error:

type error for to_nil<string>; expected: to_nil<uint64> or to_nil<int64> or to_nil<float64> or to_nil<bool> or to_nil<timestamp64> or to_nil<timestamp64>
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