8000 bug: `ReadableIbisRelation.__getitem__` breaks `.group_by` · Issue #2772 · dlt-hub/dlt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
bug: ReadableIbisRelation.__getitem__ breaks .group_by #2772
Closed as not planned
Closed as not planned
@zilto

Description

@zilto

Repro

table = dataset.table("table_name")
for group in table.group_by("column_name"):
  # raises error

*** TypeError: Expected a sequence of column names `Sequence[str]` or a single column `str`. Received invalid argument of type: `int`

The GroupedTable class in Ibis uses .__getitem__ to iterate over groups and this is probably shadowed by our proxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0