This is an automated email from the ASF dual-hosted git repository.
quiaru pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
from b2a202f1 add missing link to r/ApacheWayang (#209)
add 80ff50db [WAYANG-#210] the documentation to pywy.core
add cecaf8ec [WAYANG-#211] restructure the channels for Python-Platform
add 8ec4cc82 [WAYANG-#211] seed structure for JVM-Platform
add f738e66f [WAYANG-#211] JVM-Platform translator almost done
new 77a5d3b5 Merge pull request #212 from apache/wayang-211
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
python/src/pywy/core/__init__.py | 4 +-
python/src/pywy/core/channel.py | 52 +++++-
python/src/pywy/core/core.py | 174 +++++++++++++++++++++
python/src/pywy/core/executor.py | 11 ++
python/src/pywy/core/mapping.py | 42 ++++-
python/src/pywy/core/plan.py | 76 ---------
python/src/pywy/core/plugin.py | 51 ------
python/src/pywy/core/translator.py | 58 -------
python/src/pywy/dataquanta.py | 12 +-
python/src/pywy/operators/base.py | 4 +-
.../pywy/platforms/commons}/__init__.py | 0
.../pywy/platforms/{python => commons}/channels.py | 34 ++--
python/src/pywy/{ => platforms/jvm}/__init__.py | 0
python/src/pywy/platforms/jvm/channels.py | 47 ++++++
.../platforms/{python/plugin.py => jvm/context.py} | 20 +--
.../pywy/platforms/{python => jvm}/execution.py | 61 ++++----
python/src/pywy/platforms/jvm/graph.py | 52 ++++++
.../pywy/platforms/jvm/mappings.py} | 17 +-
.../jvm/operator}/__init__.py | 19 +--
.../operator/jvm_execution_operator.py} | 22 ++-
.../operator/jvm_sink_textfile.py} | 46 +++---
.../operator/jvm_source_textfile.py} | 32 ++--
.../platforms/jvm/operator/jvm_unary_filter.py | 73 +++++++++
.../src/pywy/platforms/{python => jvm}/platform.py | 4 +-
.../src/pywy/platforms/{python => jvm}/plugin.py | 15 +-
.../{ => platforms/jvm/serializable}/__init__.py | 0
.../platforms/jvm/serializable/plan_writter.py | 131 ++++++++++++++++
.../jvm/serializable/wayang_jvm_operator.py | 114 ++++++++++++++
python/src/pywy/platforms/python/channels.py | 40 +----
.../platforms/python/operator/py_sink_textfile.py | 5 +-
.../python/operator/py_source_textfile.py | 7 +-
.../platforms/python/operator/py_unary_filter.py | 29 ++--
.../platforms/python/operator/py_unary_flatmap.py | 29 ++--
.../pywy/platforms/python/operator/py_unary_map.py | 29 ++--
python/src/pywy/plugins.py | 2 +
...ython_platform_test.py => jvm_platform_test.py} | 95 ++++++-----
36 files changed, 924 insertions(+), 483 deletions(-)
create mode 100644 python/src/pywy/core/core.py
delete mode 100644 python/src/pywy/core/plan.py
delete mode 100644 python/src/pywy/core/plugin.py
delete mode 100644 python/src/pywy/core/translator.py
copy python/{old_code => src/pywy/platforms/commons}/__init__.py (100%)
copy python/src/pywy/platforms/{python => commons}/channels.py (66%)
copy python/src/pywy/{ => platforms/jvm}/__init__.py (100%)
create mode 100644 python/src/pywy/platforms/jvm/channels.py
copy python/src/pywy/platforms/{python/plugin.py => jvm/context.py} (62%)
copy python/src/pywy/platforms/{python => jvm}/execution.py (57%)
create mode 100644 python/src/pywy/platforms/jvm/graph.py
copy python/{old_code/tests/demo_testing.py =>
src/pywy/platforms/jvm/mappings.py} (73%)
copy python/src/pywy/{operators => platforms/jvm/operator}/__init__.py (65%)
copy python/src/pywy/platforms/{python/operator/py_execution_operator.py =>
jvm/operator/jvm_execution_operator.py} (62%)
copy python/src/pywy/platforms/{python/operator/py_sink_textfile.py =>
jvm/operator/jvm_sink_textfile.py} (56%)
copy python/src/pywy/platforms/{python/operator/py_source_textfile.py =>
jvm/operator/jvm_source_textfile.py} (60%)
create mode 100644 python/src/pywy/platforms/jvm/operator/jvm_unary_filter.py
copy python/src/pywy/platforms/{python => jvm}/platform.py (90%)
copy python/src/pywy/platforms/{python => jvm}/plugin.py (68%)
copy python/src/pywy/{ => platforms/jvm/serializable}/__init__.py (100%)
create mode 100644 python/src/pywy/platforms/jvm/serializable/plan_writter.py
create mode 100644
python/src/pywy/platforms/jvm/serializable/wayang_jvm_operator.py
copy python/src/pywy/tests/integration/{python_platform_test.py =>
jvm_platform_test.py} (66%)