Skip to content

Python bindings missing scanner projection support #149

@fresh-borzoni

Description

@fresh-borzoni

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Add column projection support for better performance and more Pythonic API than C++ bindings.

Methods to Add

1. By index (C++ parity)

scanner = table.new_log_scanner_with_projection([0, 2, 4])
  1. By name (Python-specific, more idiomatic)
  scanner = table.new_log_scanner_with_column_names(["id", "name", "email"])

Python users expect to work with column names, not indices.
This goes beyond C++ parity for better ergonomics.

Solution

Implement them :)

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions