You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Weston Pace (Jira)" <ji...@apache.org> on 2021/09/15 23:10:00 UTC
[jira] [Commented] (ARROW-14010) [C++][Python] No way to generate
UUID filenames with new datasets API
[ https://issues.apache.org/jira/browse/ARROW-14010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17415794#comment-17415794 ]
Weston Pace commented on ARROW-14010:
-------------------------------------
[~jorisvandenbossche] [~ldacey] Am I missing anything? I really had thought this was possible but now I can't figure it out.
> [C++][Python] No way to generate UUID filenames with new datasets API
> ---------------------------------------------------------------------
>
> Key: ARROW-14010
> URL: https://issues.apache.org/jira/browse/ARROW-14010
> Project: Apache Arrow
> Issue Type: Improvement
> Components: C++
> Reporter: Weston Pace
> Assignee: Weston Pace
> Priority: Major
>
> I had assumed this could be done using the "partition_filename_cb" in "pyarrow.parquet.write_to_dataset" but that doesn't work if "use_legacy_dataset" is False. The "basename_template" only allows string substitution so it cannot inject UUID. Given that this is the only support for any kind of "append" mode when writing to datasets I think this feature is important and can block migration from the old writer.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)