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

Support one-to-many output from select() and update(); implement ObjectProcessorSelectColumn #5760

Open
rcaudy opened this issue Jul 11, 2024 · 0 comments
Assignees
Labels
core Core development tasks feature request New feature or request query engine

Comments

@rcaudy
Copy link
Member

rcaudy commented Jul 11, 2024

We'd like to be able to allow a single SelectColumn to produce multiple outputs. This is a step towards tuple-UDF support, but also will enable ObjectProcessor to be used as the backing system for a SelectColumn, possibly with some refactorings.

  1. Refactor SelectColumn to refactor member functions describing the output (name, type, etc) to a List<ColumnDefinition>
  2. Refactor SelectColumn to support List<ChunkSource> instead of ColumnSource for getDataView() and probably getLazyView().
  3. Make any necessary changes in QueryTable or SelectOrUpdateListener to accommodate same.
  4. Refactor SelectColumnLayer to be aware of multi-output SelectColumns and retrieve them together. Will probably need to use SharedContext to allow the ChunkSources to share their input/calculations.
  5. Implement ObjectProcessorSelectColumn as an initial use case.
@rcaudy rcaudy added feature request New feature or request query engine core Core development tasks labels Jul 11, 2024
@rcaudy rcaudy added this to the 4. Unscheduled milestone Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Core development tasks feature request New feature or request query engine
Projects
None yet
Development

No branches or pull requests

2 participants