termux-packages icon indicating copy to clipboard operation
termux-packages copied to clipboard

libarrow-cpp: enable dataset and parquet features

Open Mause opened this issue 3 years ago • 11 comments

Mause avatar Aug 03 '22 00:08 Mause

Update to 9.0.0 .

2096779623 avatar Aug 03 '22 00:08 2096779623

@2096779623 it hasn't been released yet, it's still the dev version

Mause avatar Aug 03 '22 00:08 Mause

@2096779623 it hasn't been released yet, it's still the dev version

Or at least it's listed in the docs as the dev version 🤔

Edit: yep, latest: https://arrow.apache.org/release/

Mause avatar Aug 03 '22 00:08 Mause

I suppose it's fine. They don't even have 7.0.1 and 8.0.1 updated on their website.

Btw in case you are not aware of it, revision should be (re)set to 0 (instead of 1) for new release. (There's some ongoing discussion on whether the line should be removed in case of 0, I suppose either way is fine for now.) I missed it when I had your commit merged.

tomty89 avatar Aug 03 '22 01:08 tomty89

I suppose it's fine. They don't even have 7.0.1 and 8.0.1 updated on their website.

Btw in case you are not aware of it, revision should be (re)set to 0 (instead of 1) for new release. (There's some ongoing discussion on whether the line should be removed in case of 0, I suppose either way is fine for now.) I missed it when I had your commit merged.

I assume you mean in my previous PR?

Mause avatar Aug 03 '22 02:08 Mause

Yes. And just in case you are ultimately bumping to 9.0.0 with this one.

tomty89 avatar Aug 03 '22 02:08 tomty89

@2096779623 @tomty89 was there something you wanted changed before you merged this?

Mause avatar Aug 08 '22 07:08 Mause

@2096779623 @tomty89 was there something you wanted changed before you merged this?

LGTM, thanks!

2096779623 avatar Aug 08 '22 07:08 2096779623

Isn't dataset enabled by default though? (It doesn't hurt much to set the option explicitly, but I'd prefer not to myself.)

tomty89 avatar Aug 08 '22 10:08 tomty89

Isn't dataset enabled by default though? (It doesn't hurt much to set the option explicitly, but I'd prefer not to myself.)

I can check, but the reason I submitted this pr was that it was missing from the Python bindings

Mause avatar Aug 08 '22 10:08 Mause

Are you talking about the cpython so that are not being built when you install pyarrow with pip?

AFAICT, the current libarrow-cpp package is built with dataset enabled (but not parquet), and if you set PYARROW_WITH_DATASET=1 when you install pyarrow, you'll see that the missing parquet is the road blocker.

tomty89 avatar Aug 08 '22 12:08 tomty89

Arrow version 9.0.0 has been released since I opened this pr, so I've updated that, and removed the dataset flag

Mause avatar Aug 10 '22 09:08 Mause

I suppose it's fine. They don't even have 7.0.1 and 8.0.1 updated on their website.

Btw in case you are not aware of it, revision should be (re)set to 0 (instead of 1) for new release. (There's some ongoing discussion on whether the line should be removed in case of 0, I suppose either way is fine for now.) I missed it when I had your commit merged.

Looks like the linter forbids this?

Mause avatar Aug 10 '22 09:08 Mause

Yeah. Apparently you should remove or comment the line. I recommend the latter with the value set to 1 to make it convenient for the next rev bump.

tomty89 avatar Aug 10 '22 09:08 tomty89

This conflicts with ndk-r25 update so I will pull it into that branch instead

Grimler91 avatar Aug 10 '22 13:08 Grimler91

And should probably change linter to allow TERMUX_PKG_REVISION=0, looks better than having a commented line IMO

Grimler91 avatar Aug 10 '22 13:08 Grimler91

Merged as part of the above pr

Mause avatar Aug 14 '22 09:08 Mause