Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Partitions: Make tables use partitions #309

@ajnavarro

Description

@ajnavarro

Change Table interface to:

type Partition interface {
	Key() []byte
}

type PartitionIter interface {
	io.Closer
	Next() (Partition, error)
}

type Table interface {
	Schema() Schema
      Partitions(ctx Context) PartitionIter
      PartitionRows(Partition) (Rowiter, error)
}

Now, Table is not implementing Node interface. A new ResolvedTable Node will get Tables from the catalog and use them to iterate Rows.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy