Closed colin-ho closed 4 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
4734862
) 85.60% compared to head (7251132
) 85.54%. Report is 3 commits behind head on main.
Looks like you are having a failure with pyarrow 6.0.1 in CI
Looks like you are having a failure with pyarrow 6.0.1 in CI
fixed
the tests were failing during a cast from struct(["":null]) to struct() to make a pyarrow table for equality check with a daft df.to_arrow() table. instead, i changed the og type to struct(), but check that the daft datatype is struct(["":null]) instead of struct()
theres a bug, will fix fixed in latest commit:
In [1]: import daft
In [2]: df = daft.from_pydict({"a":[{},None,None],"b":[1,2,3]})
In [3]: df = df.where(df["a"].is_null())
In [4]: df.show()
╭──────────┬───────╮
│ a ┆ b │
│ --- ┆ --- │
│ Struct[] ┆ Int64 │
╞══════════╪═══════╡
╰──────────┴───────╯
(No data to display: Materialized dataframe has no rows)
Closes #1821
Fixes a few bugs that deal with empty structs.
"":null
placeholder in repr"":null
placeholder upon egress to python