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

KDB Command to Set Binary Values #1614

Closed
sanssecours opened this issue Oct 1, 2017 · 3 comments
Closed

KDB Command to Set Binary Values #1614

sanssecours opened this issue Oct 1, 2017 · 3 comments

Comments

@sanssecours
Copy link
Member

Proposal

Sometimes it would be nice to have a tool that stores binary data in the key data base. We could either integrate this functionality directly into kdb set or create a new tool with the name kdb setbinary, kdb setbin or a similar name. Since binary data can also contain NULL bytes I think we should probably support escape sequences to save arbitrary data. For example the command

kdb setbin user/test/binary/key '\x48\x69\x00'

or the equivalent command

kdb setbin user/test/binary/key 'Hi\x00'

could save the C ASCII string Hi(the numbers 72, 105, and 0) in the key user/test/binary/key.

@markus2330
Copy link
Contributor

markus2330 commented Oct 5, 2017

Thank you, good proposal! I would prefer the longer name set-binary (see #265) or directly integrate it into kdb set.

@stale
Copy link

stale bot commented May 6, 2020

I mark this issue stale as it did not have any activity for one year. I'll close it in two weeks if no further activity occurs. If you want it to be alive again, ping the issue by writing a message here or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@stale stale bot added the stale label May 6, 2020
@stale
Copy link

stale bot commented May 20, 2020

I closed this issue now because it has been inactive for more than one year. If I closed it by mistake, please do not hesitate to reopen it or create a new issue with the remainder of this issue.
Thank you for your contributions 💖

@stale stale bot closed this as completed May 20, 2020
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