Skip to content

feat: take_scan can take "_rowid" as meta column #5615

@eddyxu

Description

@eddyxu

take_scan does not support row ids, while take() allows it.

>>> batch = next(ds._ds.take_scan([(1,10)], columns=["_rowid"]))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyarrow/ipc.pxi", line 757, in pyarrow.lib.RecordBatchReader.__next__
  File "pyarrow/ipc.pxi", line 791, in pyarrow.lib.RecordBatchReader.read_next_batch
  File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
OSError: Io error: External error: LanceError(IO): Did not find any data files for schema: 
fragment_id=0, /home/runner/work/lance/lance/rust/lance/src/dataset/fragment.rs:884:17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions