You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Joris Van den Bossche (Jira)" <ji...@apache.org> on 2022/02/04 17:55:00 UTC

[jira] [Commented] (ARROW-15496) [C++][Python] Log warning when user tries to write parquet table with incompatible type

    [ https://issues.apache.org/jira/browse/ARROW-15496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487205#comment-17487205 ] 

Joris Van den Bossche commented on ARROW-15496:
-----------------------------------------------

We should probably only do this after switching the default to the more recent version (but I think we are planning to do that in the next release?). But yes, then I agree that a warning might be useful.

> [C++][Python] Log warning when user tries to write parquet table with incompatible type
> ---------------------------------------------------------------------------------------
>
>                 Key: ARROW-15496
>                 URL: https://issues.apache.org/jira/browse/ARROW-15496
>             Project: Apache Arrow
>          Issue Type: Wish
>          Components: C++, Parquet, Python
>            Reporter: Grant Williams
>            Priority: Minor
>              Labels: typeinfo, warnings
>             Fix For: 8.0.0
>
>
> Could we get a logged warning when a user tries to `pyarrow.parquet.write_table()` with `version=1.0` and a schema that contains an incompatible `uint32()` type? I don't think the behavior to upcast to an `int64()` is immediately obvious (although the docs are clear on it) and I think it would help prevent some confusion for other users.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)