You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "kou (via GitHub)" <gi...@apache.org> on 2026/04/07 01:09:01 UTC
[PR] GH-49252: [GLib] Deprecate Feather features [arrow]
kou opened a new pull request, #49673:
URL: https://github.com/apache/arrow/pull/49673
### Rationale for this change
We'll deprecate Feather V1 reader/writer. See also the discussion at https://lists.apache.org/thread/1npvnhjb1xwz09zh8vnd079zt2q4o08l .
We can use IPC file reader/writer for Feather V2.
### What changes are included in this PR?
* Add deprecation warnings to Feather features.
* Use `GARROW_DEPRECATED()`/`GARROW_DEPRECATED_FOR()` instead of `G_GNUC_DEPRECATED()`/`G_GNUC_DEPRECATED_FOR()`.
### Are these changes tested?
Yes.
### Are there any user-facing changes?
Yes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49252: [GLib] Deprecate Feather features [arrow]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #49673:
URL: https://github.com/apache/arrow/pull/49673#issuecomment-4195861523
:warning: GitHub issue #49252 **has been automatically assigned in GitHub** to PR creator.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49252: [GLib] Deprecate Feather features [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #49673:
URL: https://github.com/apache/arrow/pull/49673#issuecomment-4197480707
No! We can merge this as-is for 24.0.0!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49252: [GLib] Deprecate Feather features [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on PR #49673:
URL: https://github.com/apache/arrow/pull/49673#issuecomment-4197417157
@raulcd Can we merge this for 24.0.0? This just adds deprecation warnings to Feature related features.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49252: [GLib] Deprecate Feather features [arrow]
Posted by "conbench-apache-arrow[bot] (via GitHub)" <gi...@apache.org>.
conbench-apache-arrow[bot] commented on PR #49673:
URL: https://github.com/apache/arrow/pull/49673#issuecomment-4200121387
After merging your PR, Conbench analyzed the 3 benchmarking runs that have been run so far on merge-commit 1f94910cdd840a84c2007b5837e577d517be7984.
There were no benchmark performance regressions. 🎉
The [full Conbench report](https://github.com/apache/arrow/runs/70271151627) has more details. It also includes information about 13 possible false positives for unstable benchmarks that are known to sometimes produce them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49252: [GLib] Deprecate Feather features [arrow]
Posted by "Copilot (via GitHub)" <gi...@apache.org>.
Copilot commented on code in PR #49673:
URL: https://github.com/apache/arrow/pull/49673#discussion_r3042405420
##########
c_glib/arrow-glib/reader.h:
##########
@@ -183,25 +183,30 @@ struct _GArrowFeatherFileReaderClass
};
GARROW_AVAILABLE_IN_ALL
+GARROW_DEPRECATED_IN_24_0_FOR(garrow_record_batch_file_reader_new)
GArrowFeatherFileReader *
garrow_feather_file_reader_new(GArrowSeekableInputStream *file, GError **error);
GARROW_AVAILABLE_IN_ALL
+GARROW_DEPRECATED_IN_24_0
gint
garrow_feather_file_reader_get_version(GArrowFeatherFileReader *reader);
GARROW_AVAILABLE_IN_ALL
+GARROW_DEPRECATED_IN_24_0_FOR(garrow_record_batch_reader_read_all)
Review Comment:
`GARROW_DEPRECATED_IN_24_0_FOR(garrow_record_batch_reader_read_all)` doesn’t look like a valid replacement: `garrow_record_batch_reader_read_all()` takes a `GArrowRecordBatchReader*`, but this API works on `GArrowFeatherFileReader*`, and `GArrowRecordBatchFileReader` is not a `GArrowRecordBatchReader`. If there’s no single drop-in replacement, use `GARROW_DEPRECATED_IN_24_0` (no `_FOR`) or reference a concrete, correct alternative flow (e.g., `garrow_record_batch_file_reader_new()` + reading record batches).
```suggestion
GARROW_DEPRECATED_IN_24_0
```
##########
c_glib/arrow-glib/table.h:
##########
@@ -163,10 +163,12 @@ struct _GArrowFeatherWritePropertiesClass
};
GARROW_AVAILABLE_IN_0_17
+GARROW_DEPRECATED_IN_24_0_FOR(garrow_write_options_new)
Review Comment:
`GARROW_DEPRECATED_IN_24_0_FOR(garrow_write_options_new)` is likely misleading here: `GArrowFeatherWriteProperties` configures Feather write behavior, while `GArrowWriteOptions` is for Arrow IPC serialization. If there isn’t a 1:1 replacement API, prefer using `GARROW_DEPRECATED_IN_24_0` (without `_FOR`) or point to a closer replacement specific to the intended migration path (e.g., IPC file writer + options).
```suggestion
GARROW_DEPRECATED_IN_24_0
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] GH-49252: [GLib] Deprecate Feather features [arrow]
Posted by "raulcd (via GitHub)" <gi...@apache.org>.
raulcd merged PR #49673:
URL: https://github.com/apache/arrow/pull/49673
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org