Antoine Pitrou

Results 823 comments of Antoine Pitrou

@rok I think this would be easier to review if you first submitted a purely C++ PR, can you do that?

Issue resolved by pull request 40722 https://github.com/apache/arrow/pull/40722

Thanks for posting this. The approach is sane, I posted some comments. You will have to decide whether you want to tackle casting to string, or prefer leaving that for...

> @pitrou you mentioned string cast(s). > Is that: > 1. float16 to string > 2. string to float16 > ? Yes. > What other casts are required to consider...

You should benchmark using a faster codec such as LZ4, if you really want to measure the overhead of CompressedInputStream.

> There doesn't seem to be a direct way to cast from a half float ultimately represented by a `uint16_t` to a string, but I wonder if it's acceptable to...

By the way, you'll have to implement unit tests at some point (in C++).

> So one question I currently have is, should I specialize `Datum` on `HalfFloatType` (or similar)? Which method would you specialize?

> After reading more code, more likely I need to specialize or modify `CompareFloating`, `VisitFloatingEquality`, etc. But I'm not certain. If you're struggling on this, someone else can take a...