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

Improve support for the binary data type in cubestore #1759

Merged
merged 2 commits into from
Jan 14, 2021
Merged

Conversation

ilya-biryukov
Copy link
Contributor

See the commit message for more info.
This fixes the crashes and errors I encountered while playing around with adding mock UDFs for HyperLogLog.

- allow queries to return binary data.
- support conversion from string and hexstring literals (e.g. X'deadbeef').
- fix errors when using binary type in computations.
- add a simple test.

This is a preparatory step for the upcoming HyperLogLog UDFs.
This matches MySQL behavior and is more practical.
@ilya-biryukov ilya-biryukov requested a review from a team as a code owner January 13, 2021 15:06
@github-actions github-actions bot added the pr:community Contribution from Cube.js community members. label Jan 13, 2021
@paveltiunov paveltiunov merged commit 925f813 into master Jan 14, 2021
@paveltiunov paveltiunov deleted the bytes branch January 14, 2021 19:02
vasilev-alex pushed a commit that referenced this pull request Jan 15, 2021
* fix(cubestore): improve the binary type support

- allow queries to return binary data.
- support conversion from string and hexstring literals (e.g. X'deadbeef').
- fix errors when using binary type in computations.
- add a simple test.

This is a preparatory step for the upcoming HyperLogLog UDFs.

* fix(cubestore): output binary values in hex encoding

This matches MySQL behavior and is more practical.
vasilev-alex pushed a commit that referenced this pull request Jan 20, 2021
* fix(cubestore): improve the binary type support

- allow queries to return binary data.
- support conversion from string and hexstring literals (e.g. X'deadbeef').
- fix errors when using binary type in computations.
- add a simple test.

This is a preparatory step for the upcoming HyperLogLog UDFs.

* fix(cubestore): output binary values in hex encoding

This matches MySQL behavior and is more practical.
@rpaik rpaik removed the pr:community Contribution from Cube.js community members. label Nov 24, 2021
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

Successfully merging this pull request may close these issues.

None yet

3 participants