Skip to content
This repository was archived by the owner on Mar 3, 2026. It is now read-only.

feat: Execute Python queries#575

Merged
bjchambers merged 6 commits intomainfrom
sparrow-py-execute
Aug 1, 2023
Merged

feat: Execute Python queries#575
bjchambers merged 6 commits intomainfrom
sparrow-py-execute

Conversation

@bjchambers
Copy link
Collaborator

This removes the ability to inspect the prepared data from the Python FFI. Instead, the Python FFI now has an execute method allowing you to inspect the results of an expression, including the bare table.

This changes the execute methods a bit to have a simpler API to interface with.

This relies on pushing "in-memory" data into the DataContext, which is very brittle and hacky. For example, it currently only supports adding data once, and requires that the schemas line up.

This removes the ability to inspect the prepared data from the
Python FFI. Instead, the Python FFI now has an `execute` method
allowing you to inspect the results of an expression, including
the bare table.

This changes the execute methods a bit to have a simpler API to
interface with.

This relies on pushing "in-memory" data into the `DataContext`,
which is very brittle and hacky. For example, it currently only
supports adding data once, and requires that the schemas line up.
@cla-bot cla-bot bot added the cla-signed Set when all authors of a PR have signed our CLA label Jul 31, 2023
@github-actions github-actions bot added enhancement New feature or request sparrow labels Jul 31, 2023
@bjchambers bjchambers force-pushed the sparrow-py-execute branch from cc1c185 to ef87ad4 Compare July 31, 2023 22:57
@jordanrfrazier
Copy link
Collaborator

Approving to unblock since much will likely change anyway, will take a closer look in a couple hours

@bjchambers bjchambers enabled auto-merge August 1, 2023 19:52
@bjchambers bjchambers added this pull request to the merge queue Aug 1, 2023
Merged via the queue into main with commit a81973e Aug 1, 2023
@bjchambers bjchambers deleted the sparrow-py-execute branch August 1, 2023 20:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed Set when all authors of a PR have signed our CLA enhancement New feature or request sparrow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants