[
https://issues.apache.org/jira/browse/FLINK-30163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-30163:
-----------------------------------
Labels: stale-major test-stability (was: test-stability)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issues has been marked as
Major but is unassigned and neither itself nor its Sub-Tasks have been updated
for 60 days. I have gone ahead and added a "stale-major" to the issue". If this
ticket is a Major, please either assign yourself or give an update. Afterwards,
please remove the label or in 7 days the issue will be deprioritized.
> StreamPandasUDFITTests.test_basic_functionality failed
> ------------------------------------------------------
>
> Key: FLINK-30163
> URL: https://issues.apache.org/jira/browse/FLINK-30163
> Project: Flink
> Issue Type: Bug
> Components: API / Python
> Affects Versions: 1.15.2
> Reporter: Matthias Pohl
> Priority: Major
> Labels: stale-major, test-stability
>
> [This
> build|https://dev.azure.com/apache-flink/apache-flink/_build/results?buildId=42956&view=logs&j=bf5e383b-9fd3-5f02-ca1c-8f788e2e76d3&t=85189c57-d8a0-5c9c-b61d-fc05cfac62cf&l=26331]
> failed due to {{StreamPandasUDFITTests.test_basic_functionality}}
> {code:java}
> ov 09 01:49:14 _______________
> StreamPandasUDFITTests.test_basic_functionality ________________
> Nov 09 01:49:14
> Nov 09 01:49:14 self =
> <pyflink.table.tests.test_pandas_udf.StreamPandasUDFITTests
> testMethod=test_basic_functionality>
> Nov 09 01:49:14
> Nov 09 01:49:14 def test_basic_functionality(self):
> Nov 09 01:49:14 # pandas UDF
> Nov 09 01:49:14 add_one = udf(lambda i: i + 1,
> result_type=DataTypes.BIGINT(), func_type="pandas")
> Nov 09 01:49:14
> Nov 09 01:49:14 # general Python UDF
> Nov 09 01:49:14 subtract_one = udf(SubtractOne(), DataTypes.BIGINT(),
> DataTypes.BIGINT())
> Nov 09 01:49:14
> Nov 09 01:49:14 table_sink = source_sink_utils.TestAppendSink(
> Nov 09 01:49:14 ['a', 'b', 'c', 'd'],
> Nov 09 01:49:14 [DataTypes.BIGINT(), DataTypes.BIGINT(),
> DataTypes.BIGINT(), DataTypes.BIGINT()])
> Nov 09 01:49:14 self.t_env.register_table_sink("Results", table_sink)
> Nov 09 01:49:14
> Nov 09 01:49:14 t = self.t_env.from_elements([(1, 2, 3), (2, 5, 6),
> (3, 1, 9)], ['a', 'b', 'c'])
> Nov 09 01:49:14 t.where(add_one(t.b) <= 3) \
> Nov 09 01:49:14 .select(t.a, t.b + 1, add(t.a + 1,
> subtract_one(t.c)) + 2, add(add_one(t.a), 1)) \
> Nov 09 01:49:14 > .execute_insert("Results") \
> Nov 09 01:49:14 .wait()
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)