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

exec: tracking issue for vectorized engine #36507

Closed
35 of 38 tasks
jordanlewis opened this issue Apr 3, 2019 · 3 comments
Closed
35 of 38 tasks

exec: tracking issue for vectorized engine #36507

jordanlewis opened this issue Apr 3, 2019 · 3 comments
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) meta-issue Contains a list of several other issues.

Comments

@jordanlewis
Copy link
Member

jordanlewis commented Apr 3, 2019

This issue is an "epic" to track work in the pkg/sql/exec vectorized engine.

Features:

P0

P1

  • memory monitoring exec: add memory monitoring #37301
  • disk spilling - computation that hits a memory limit must fall back to disk containers. Needs serialization.
    • spilling a queue - first in first out
    • spilling for sort computations - external sort
    • spilling for hash joins
      • ordinary hash lookup - how to make this fast? "grace" hash join?
      • marked rows for outer joins
    • spilling window computations

P2

  • tracing / stats: understand quantity of rows/batches flowing through operators. selection vector selectivity, maybe?
  • explain (shows flow of exec operators)

Relational operators:

  • index / lookup join (accomplished with plan wrapping)
  • offset
  • finish hash aggregate
  • sort chunks
  • other unhandled operators - plan wrapping
  • top k sort
  • merge join
  • unordered / partially ordered distinct
  • add null support to ordered distinct
  • add null support to sorter
  • planning for projections which use comparison operators (SELECT x > 5 FROM ...)
  • COUNT agg func (needed for distributed TPCH queries) exec: support COUNT aggregate function #38063
    Next:
  • window functions

Scalar operators:

  • LIKE, ILIKE, etc. (needed for several TPCH queries)
  • min and max support
  • random builtins like string matching (needed for TPCH queries)
@jordanlewis jordanlewis added the meta-issue Contains a list of several other issues. label Apr 3, 2019
@jordanlewis jordanlewis added the C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) label Apr 11, 2019
@tim-o
Copy link
Contributor

tim-o commented Apr 16, 2019

Zendesk ticket #3223 has been linked to this issue.

@RoachietheSupportRoach
Copy link
Collaborator

Zendesk ticket #3528 has been linked to this issue.

@yuzefovich
Copy link
Member

Closing in favor of #34497

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) meta-issue Contains a list of several other issues.
Projects
None yet
Development

No branches or pull requests

4 participants