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

Unable to GROUP BY #6

Open
saklanipankaj opened this issue Jun 20, 2019 · 3 comments
Open

Unable to GROUP BY #6

saklanipankaj opened this issue Jun 20, 2019 · 3 comments

Comments

@saklanipankaj
Copy link

SELECT COUNT(a) FROM t1 GROUP BY b;

ERROR: 42703: column "b" does not exist
Unable to use GROUP BY, instead a column not found error is thrown

@cheziyi
Copy link
Member

cheziyi commented Jun 21, 2019

What is the schema of the table like?

@saklanipankaj
Copy link
Author

Field | Type | Null | Key | Default | Extra | Encryption
-------+------+------+-----+---------+-------+---------------------------------
a | int4 | YES | | | | Addition, Multiplication, Range
b | int8 | YES | | | | Addition, Multiplication, Range
(2 rows)

@cheziyi
Copy link
Member

cheziyi commented Jun 21, 2019

We currently do not support GROUP BY for encrypted columns. We do plan to add support for GROUP BY for columns with RANGE encryption, but it's on a low priority for now.

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