[
https://issues.apache.org/jira/browse/BEAM-11731?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17276623#comment-17276623
]
Brian Hulette commented on BEAM-11731:
--------------------------------------
PythonLint went red at the same time
(https://ci-beam.apache.org/job/beam_PreCommit_PythonLint_Cron/1930/console),
perhaps with a more telling error:
{code}
16:09:23 apache_beam/dataframe/schemas.py:94: error: Module has no attribute
"bool"; maybe "bool_" or "bool8"? [attr-defined]
16:09:23 apache_beam/dataframe/schemas.py:105: error: Module has no attribute
"object"; maybe "object_" or "object0"? [attr-defined]
16:09:23 apache_beam/dataframe/schemas.py:111: error: Module has no attribute
"bool"; maybe "bool_" or "bool8"? [attr-defined]
16:09:23 apache_beam/dataframe/schemas.py:127: error: Argument 1 to "append" of
"list" has incompatible type "Type[str]"; expected "Type[floating[Any]]"
[arg-type]
16:09:23 apache_beam/dataframe/schemas.py:185: error: Module has no attribute
"object"; maybe "object_" or "object0"? [attr-defined]
16:09:27 apache_beam/coders/row_coder_test.py:60: error: Argument "age" to
"Person" has incompatible type "int"; expected "signedinteger[_32Bit]"
[arg-type]
16:09:27 apache_beam/coders/row_coder_test.py:72: error: Argument 2 to "Person"
has incompatible type "int"; expected "signedinteger[_32Bit]" [arg-type]
16:09:27 apache_beam/coders/row_coder_test.py:82: error: Argument 2 to "Person"
has incompatible type "int"; expected "signedinteger[_32Bit]" [arg-type]
16:09:27 apache_beam/testing/synthetic_pipeline_test.py:41: error: Incompatible
types in assignment (expression has type "None", variable has type Module)
[assignment]
16:09:28 apache_beam/dataframe/schemas_test.py:78: error: Module has no
attribute "bool"; maybe "bool_" or "bool8"? [attr-defined]
16:09:28 apache_beam/dataframe/schemas_test.py:79: error: Module has no
attribute "object"; maybe "object_" or "object0"? [attr-defined]
{code}
Maybe a numpy release?
> Py precommit failing: test_read_write_10_parquet
> ------------------------------------------------
>
> Key: BEAM-11731
> URL: https://issues.apache.org/jira/browse/BEAM-11731
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Kyle Weaver
> Priority: P1
>
> pyarrow.lib.ArrowTypeError: ("Did not pass numpy.dtype object [while running
> '_WriteToPandas/WriteToFiles/ParDo(_WriteUnshardedRecordsFn)/ParDo(_WriteUnshardedRecordsFn)']",
> 'Conversion failed for column rank with type int64')
> https://ci-beam.apache.org/job/beam_PreCommit_Python_Commit/17083/testReport/junit/apache_beam.dataframe.io_test/IOTest/test_read_write_10_parquet/
--
This message was sent by Atlassian Jira
(v8.3.4#803005)