[
https://issues.apache.org/jira/browse/FLINK-41314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18137793#comment-18137793
]
Liu Liu commented on FLINK-41314:
---------------------------------
I ran all six jobs in the pyflink-df-tests repository on a local Flink 2.4
cluster and verified that all of them produced the expected output. The
execution log is below:
{code:java}
(.venv) ➜ flink git:(release-2.4) $FLINK_HOME/bin/start-cluster.sh
Starting cluster.
Starting standalonesession daemon on host Gabriel.local.
Starting taskexecutor daemon on host Gabriel.local.
(.venv) ➜ flink git:(release-2.4) cd ../pyflink-df-tests
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/flink run -py
01_relational.py
Job has been submitted with JobID b3158dfb94710504936874c2b7fa74e4
('North', 2, 15500)
('South', 2, 9000)
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/flink run -py
02_python_functions.py
Job has been submitted with JobID 06305ed1044d14759f42b63fdfe0802c
('billing', 45.0, 0.0)
('delivery', 120.0, 0.0)
('login', 60.0, 50.0)
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/flink run -py
03_pick_list.py
Job has been submitted with JobID f7f5b0fdba381e880af48175aa4c9c31
+I ('COFFEE', 2)
-D ('COFFEE', 2)
+I ('COFFEE', 4)
+I ('TEA', 4)
-D ('TEA', 4)
+I ('TEA', 5)
+I ('MUG', 4)
-D ('COFFEE', 4)
+I ('COFFEE', 6)
-D ('MUG', 4)
+I ('BISCUIT', 5)
-D ('COFFEE', 6)
+I ('MUG', 4)
-D ('MUG', 4)
+I ('COFFEE', 7)
-D ('TEA', 5)
+I ('MUG', 4)
-D ('MUG', 4)
+I ('TEA', 7)
-D ('BISCUIT', 5)
+I ('MUG', 6)
-D ('TEA', 7)
+I ('BISCUIT', 5)
-D ('BISCUIT', 5)
+I ('TEA', 8)
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/flink run -py
04_windows_temporal.py
Input files:
/var/folders/8h/rk2sv6bx5n5c2yjzjtlsbl780000gn/T/priced-sales-110a0fhd
Job has been submitted with JobID 1a83cfe686c0676175a318b3f19858af
2024-01-01 00:00:00 -> 2024-01-01 00:00:10: 350 cents
2024-01-01 00:00:10 -> 2024-01-01 00:00:20: 450 cents
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/flink run -py
05_openai.py
Job has been submitted with JobID 0b6fa30c78b51656070479b50c3527f0
(1, 'POSITIVE')
(2, 'NEGATIVE')
(3, 'NEUTRAL')
(.venv) ➜ pyflink-df-tests git:(main) bash kafka.sh start
Kafka ready. export KAFKA_BOOTSTRAP_SERVERS=localhost:9092
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/flink run -py
06_connectors.py
Output directory:
/var/folders/8h/rk2sv6bx5n5c2yjzjtlsbl780000gn/T/order-ingestion-a866zvac
Kafka topic: orders-723430176e6946278b6a60af51a2f727
Job has been submitted with JobID 7dea36a53af07e5ea73f2fabbac3bfd8
Job has been submitted with JobID fdf3dc30b6c088fec3afa6c96e09a87c
Job has been submitted with JobID 6d2820d50565f85006b7bbb476dc5a0b
(1001, 'Alice', 1200)
(1003, 'Carol', 2500)
(.venv) ➜ pyflink-df-tests git:(main) bash kafka.sh stop
pyflink-df-kafka
(.venv) ➜ pyflink-df-tests git:(main) $FLINK_HOME/bin/stop-cluster.sh
Stopping taskexecutor daemon (pid: 70945) on host Gabriel.local.
Stopping standalonesession daemon (pid: 70506) on host Gabriel.local.
(.venv) ➜ pyflink-df-tests git:(main)
{code}
> Release Testing: Verify FLIP-591: Introducing Python DataFrame API in PyFlink
> -----------------------------------------------------------------------------
>
> Key: FLINK-41314
> URL: https://issues.apache.org/jira/browse/FLINK-41314
> Project: Flink
> Issue Type: Sub-task
> Reporter: Liu Liu
> Assignee: Liu Liu
> Priority: Blocker
> Labels: release-testing
> Fix For: 2.4.0
>
>
> Steps:
> - Follow the [pyflink-df-tests
> README|https://github.com/auroflow/pyflink-df-tests] to build Flink from the
> `release-2.4` branch, install the matching PyFlink packages in your Python
> environment, and submit the provided DataFrame API jobs.
> - You can also write and submit your own DataFrame API jobs, using the
> provided jobs as examples.
> - Compare each job’s actual results with its expected output.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)