-
Notifications
You must be signed in to change notification settings - Fork 675
Open
Labels
bugIncorrect behavior inside of ibisIncorrect behavior inside of ibis
Description
What happened?
import ibis
ibis.options.interactive = True
con = ibis.duckdb.connect()
con.create_table("table", schema={"a": "string", "b": "boolean"}, overwrite=True)
File ~/.venvs/tiktok/lib/python3.11/site-packages/ibis/expr/types/_rich.py:341, in to_rich_table(tablish, max_rows, max_columns, max_length, max_string, max_depth, console_width)
337 remaining = console_width - 1 # 1 char for left boundary
338 for name, dtype in table.schema().items():
339 formatted, min_width, max_width = format_column(
340 dtype,
--> [341](https://file+.vscode-resource.vscode-cdn.net/Users/carlos/Documents/Repos/tiktok/notebooks/ext_capita/~/.venvs/tiktok/lib/python3.11/site-packages/ibis/expr/types/_rich.py:341) result[name].to_pylist()[:max_rows],
342 max_length=max_length,
343 max_string=max_string,
344 max_depth=max_depth,
345 )
346 dtype_str = format_dtype(dtype, max_string)
347 if show_types and not isinstance(dtype, (dt.Struct, dt.Map, dt.Array)):
348 # Don't truncate non-nested dtypes
TypeError: 'pyarrow.lib.RecordBatchReader' object is not subscriptable
Metadata
Metadata
Assignees
Labels
bugIncorrect behavior inside of ibisIncorrect behavior inside of ibis
Type
Projects
Status
backlog