Skip to content

Commit 3b3bd7b

Browse files
committed
fix(api): avoid casting to bool for table.info() nullable column
1 parent f1841f9 commit 3b3bd7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ibis/expr/types/relations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2719,7 +2719,7 @@ def info(self) -> Table:
27192719
).agg(
27202720
name=lit(colname),
27212721
type=lit(str(typ)),
2722-
nullable=lit(int(typ.nullable)).cast("bool"),
2722+
nullable=lit(typ.nullable),
27232723
nulls=lambda t: t.isna.sum(),
27242724
non_nulls=lambda t: (1 - t.isna).sum(),
27252725
null_frac=lambda t: t.isna.mean(),

0 commit comments

Comments
 (0)