Skip to content

Accept more types as query parameters #881

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

Merged
merged 9 commits into from
Jan 9, 2023

Conversation

robsdedude
Copy link
Member

Implement serialization support for

  • python types: tuple
  • pandas types:
    • all but period, interval, pyarrow
  • numpy types:
    • all but void, complexfloating

pyarrow support was not implemented as it would either require more ifs in the recursive packing function, making it (driver's hot-path) slower for non-pyarrow use-cases. Or alternatively, transformers would have to be used making pyarrow type serialization rather slow.

Implement serialization support for
 * python types: tuple
 * pandas types:
   * all but period, interval, pyarrow
 * numpy types:
   * all but void, complexfloating

pyarrow support was not implemented as it would either require more ifs in the
recursive packing function, making it (driver's hot-path) slower for non-pyarrow
use-cases. Or alternatively, transformers would have to be used making pyarrow
type serialization rather slow.
Copy link
Contributor

@bigmontz bigmontz left a comment

Choose a reason for hiding this comment

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

📦

@robsdedude robsdedude force-pushed the serialize-more-types branch from 4a9bfd0 to 0dce3c2 Compare January 9, 2023 08:37
@robsdedude robsdedude merged commit 736bf2a into neo4j:5.0 Jan 9, 2023
@robsdedude robsdedude deleted the serialize-more-types branch January 9, 2023 11:38
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.

4 participants