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

Separate nulls for nested char arrays and symbols. #29

Open
nugend opened this issue Jul 20, 2023 · 2 comments
Open

Separate nulls for nested char arrays and symbols. #29

nugend opened this issue Jul 20, 2023 · 2 comments

Comments

@nugend
Copy link
Contributor

nugend commented Jul 20, 2023

Don’t believe it’s currently possible. Poked in at the current mappings and it seems tractable given the separation of the writing code paths between symbols and nested char arrays.

Would be nice!

@nmcdonnell-kx
Copy link
Collaborator

I think it should be possible to have separate null mappings when writing utf8+kdb symbol vs utf8+kdb string.
However, when reading back, utf8 are always decoded as strings so would follow the utf8+kdb string null mapping.
Although another issue #31 is asking about a special case (dictionary utf8 keys) for decoding utf8s as symbols so may be some overlap.

@nugend
Copy link
Contributor Author

nugend commented Aug 10, 2023

I just meant writing, really. Reading probably isn't going to be a problem.

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

2 participants