├── .gitignore ├── LICENSE ├── README.md ├── docker-compose.yml ├── examples ├── datastream │ ├── batch │ │ ├── 10-data_stream_process_function.py │ │ ├── 11-data_stream_state_access.py │ │ └── 9-data_stream_word_count.py │ └── input │ │ └── word_count_input └── table │ ├── 1-word_count.py │ ├── 2-from_kafka_to_kafka.py │ ├── 3-udf_add.py │ ├── 4-udf_add_with_dependency.py │ ├── 5-pandas_udf_add.py │ ├── 6-udf_metrics.py │ ├── input │ ├── requirements.txt │ ├── udf_add_input │ └── word_count_input │ ├── java │ ├── pom.xml │ └── src │ │ └── main │ │ └── java │ │ └── BlinkBatchPythonUdfSqlJob.java │ ├── sql │ └── sql-client.yaml │ └── utils │ └── udfs.py └── image ├── Dockerfile ├── docker-entrypoint.sh └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /examples/datastream/batch/10-data_stream_process_function.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/datastream/batch/10-data_stream_process_function.py -------------------------------------------------------------------------------- /examples/datastream/batch/11-data_stream_state_access.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/datastream/batch/11-data_stream_state_access.py -------------------------------------------------------------------------------- /examples/datastream/batch/9-data_stream_word_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/datastream/batch/9-data_stream_word_count.py -------------------------------------------------------------------------------- /examples/datastream/input/word_count_input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/datastream/input/word_count_input -------------------------------------------------------------------------------- /examples/table/1-word_count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/1-word_count.py -------------------------------------------------------------------------------- /examples/table/2-from_kafka_to_kafka.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/2-from_kafka_to_kafka.py -------------------------------------------------------------------------------- /examples/table/3-udf_add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/3-udf_add.py -------------------------------------------------------------------------------- /examples/table/4-udf_add_with_dependency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/4-udf_add_with_dependency.py -------------------------------------------------------------------------------- /examples/table/5-pandas_udf_add.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/5-pandas_udf_add.py -------------------------------------------------------------------------------- /examples/table/6-udf_metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/6-udf_metrics.py -------------------------------------------------------------------------------- /examples/table/input/requirements.txt: -------------------------------------------------------------------------------- 1 | mpmath==1.1.0 -------------------------------------------------------------------------------- /examples/table/input/udf_add_input: -------------------------------------------------------------------------------- 1 | 1,2 -------------------------------------------------------------------------------- /examples/table/input/word_count_input: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/input/word_count_input -------------------------------------------------------------------------------- /examples/table/java/pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/java/pom.xml -------------------------------------------------------------------------------- /examples/table/java/src/main/java/BlinkBatchPythonUdfSqlJob.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/java/src/main/java/BlinkBatchPythonUdfSqlJob.java -------------------------------------------------------------------------------- /examples/table/sql/sql-client.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/sql/sql-client.yaml -------------------------------------------------------------------------------- /examples/table/utils/udfs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/examples/table/utils/udfs.py -------------------------------------------------------------------------------- /image/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/image/Dockerfile -------------------------------------------------------------------------------- /image/docker-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/image/docker-entrypoint.sh -------------------------------------------------------------------------------- /image/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pyflink/playgrounds/HEAD/image/requirements.txt --------------------------------------------------------------------------------