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

ResultSetMetaData for Encrypt ResultSet #2132

Closed
tristaZero opened this issue Mar 29, 2019 · 3 comments
Closed

ResultSetMetaData for Encrypt ResultSet #2132

tristaZero opened this issue Mar 29, 2019 · 3 comments

Comments

@tristaZero
Copy link
Contributor

When users use encrypt data source to get encrypt resultset, we need to consider the resultset metadata. Especially, when users use ShardingQueryAssistedEncryptor, how about the assistedQueryColumn in resultset metadata?

assistedQueryColumn shoule be invisible for users.

@zhouchangjiang
Copy link

hello @tristaZero , @terrymanu

I have a question about this issues.
When the following SQL statement is executed

select *  from mytable_with_assistedQueryColumn;
select assistedQueryColumn from mytable_with_assistedQueryColumn;

assistedQueryColumn can be returned normally;

In this case,why assistedQueryColumn need to be invisible to users?

@tristaZero
Copy link
Contributor Author

@zhouchangjiang You're right, we need to overwrite interface of resultSetMetaData to hide assistedQueryColumn.

@tristaZero
Copy link
Contributor Author

This issue has been done, please see #2934.

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

3 participants