You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Brian Hulette (Jira)" <ji...@apache.org> on 2021/11/29 22:45:00 UTC
[jira] [Updated] (BEAM-12587) Python "object" row type rejects null values.
[ https://issues.apache.org/jira/browse/BEAM-12587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Hulette updated BEAM-12587:
---------------------------------
Fix Version/s: 2.36.0
Resolution: Fixed
Status: Resolved (was: Open)
> Python "object" row type rejects null values.
> ---------------------------------------------
>
> Key: BEAM-12587
> URL: https://issues.apache.org/jira/browse/BEAM-12587
> Project: Beam
> Issue Type: Bug
> Components: dsl-dataframe, sdk-py-core
> Reporter: Robert Bradshaw
> Assignee: Robert Bradshaw
> Priority: P3
> Fix For: 2.36.0
>
> Time Spent: 1.5h
> Remaining Estimate: 0h
>
> Though technically Any == Optional[Any], we should ensure this turns into a nullable field in the inferred row type.
> {code:python}
> with beam.Pipeline() as p:
> to_pcollection(pd.DataFrame({'A': [1, '2', float('nan')]}), pipeline=p)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)