• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ml6team / fondant / 5810677455
91%

Build:
DEFAULT BRANCH: main
Ran 09 Aug 2023 02:57PM UTC
Jobs 4
Files 15
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5810677455

push

github

web-flow
Deactivate dask string conversion (#349)

Since version 2023-7-1, Dask DataFrames automatically convert object
data types to string[pyarrow]
([changelog](https://docs.dask.org/en/stable/changelog.html#v2023-7-1))

This leads to `Dask` trying to read image data as strings, which results
in the following error:
> unicodedecodeerror: 'utf-8' codec can't decode byte 0xff in position
0: invalid start byte

---

I tried several things to force Dask to keep this data as bytes:
- Write metadata file with schema in `to_parquet`
- Cast to bytes explicitly after reading using
`read_parquet.astype(...)`

But none of these worked. I believe this is because `pandas` represents
binary data using the `object` dtype, which is then automatically
converted to string by `Dask`.

---

So I believe our only option is to deactivate this behavior completely:

```python
dask.config.set({"dataframe.convert-string": False})
```

I don't think this has any downside for us, as textual data will still
be converted to strings since we explicitly set the schema based on the
component specification.

2 of 2 new or added lines in 1 file covered. (100.0%)

993 of 1100 relevant lines covered (90.27%)

3.6 hits per line

Jobs
ID Job ID Ran Files Coverage
1 test-3.9 - 5810677455.1 09 Aug 2023 02:59PM UTC 0
90.08
2 test-3.8 - 5810677455.2 09 Aug 2023 02:59PM UTC 0
90.26
3 test-3.11 - 5810677455.3 09 Aug 2023 02:59PM UTC 0
90.09
4 test-3.10 - 5810677455.4 09 Aug 2023 02:59PM UTC 0
90.09
Source Files on build 5810677455
Detailed source file information is not available for this build.
  • Back to Repo
  • ecf9e620 on github
  • Prev Build on main (#5798512832)
  • Next Build on main (#5818924645)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc