这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@yunzhi-jake
Copy link
Collaborator

Add serialization/deserialization support for list of tuples, list of lists, optional list, and optional tuple

Copy link
Contributor

@LeonhardFS LeonhardFS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work here! Couple minor things, mostly doc. Else, I think there's one Python ref counting issue, else all good.

*/
PyObject *createPyObjectFromMemory(const uint8_t *ptr, const python::Type &row_type, const uint8_t *bitmap = nullptr, int index = 0);
PyObject *
createPyObjectFromMemory(const uint8_t *ptr, const python::Type &row_type, int64_t capacity,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why int64_t? why not size_t?

* @param objectType current object type that contains optional value
* @param ptr memory location to where the start of bitmap
* @param numElements number of elements in objectType for which bitmap is needed
* @return
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return docstring?

@LeonhardFS LeonhardFS merged commit 3f27eb2 into tuplex:master May 20, 2022
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.

2 participants