Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat][Spark] Implementation of PySpark bindings to Scala API (#300)
* Implementation draft & concept On branch 297-add-pyspark-bindings Changes to be committed: modified: .gitignore new file: pyspark/graphar_pysaprk/__init__.py new file: pyspark/graphar_pysaprk/enums.py new file: pyspark/graphar_pysaprk/graph.py new file: pyspark/graphar_pysaprk/info.py new file: pyspark/graphar_pysaprk/reader.py new file: pyspark/graphar_pysaprk/writer.py new file: pyspark/poetry.lock new file: pyspark/pyproject.toml * Part of tests & update branch On branch 297-add-pyspark-bindings Changes to be committed: renamed: pyspark/graphar_pysaprk/__init__.py -> pyspark/graphar_pyspark/__init__.py renamed: pyspark/graphar_pysaprk/enums.py -> pyspark/graphar_pyspark/enums.py renamed: pyspark/graphar_pysaprk/graph.py -> pyspark/graphar_pyspark/graph.py renamed: pyspark/graphar_pysaprk/info.py -> pyspark/graphar_pyspark/info.py renamed: pyspark/graphar_pysaprk/reader.py -> pyspark/graphar_pyspark/reader.py renamed: pyspark/graphar_pysaprk/writer.py -> pyspark/graphar_pyspark/writer.py modified: pyspark/poetry.lock modified: pyspark/pyproject.toml new file: pyspark/tests/__init__.py new file: pyspark/tests/conftest.py new file: pyspark/tests/test_enums.py new file: pyspark/tests/test_info.py * Update VertexInfo.load_vertex_info & test & fixes On branch 297-add-pyspark-bindings Changes to be committed: modified: .gitignore modified: pyspark/graphar_pyspark/__init__.py modified: pyspark/graphar_pyspark/info.py modified: pyspark/poetry.lock modified: pyspark/pyproject.toml modified: pyspark/tests/test_info.py * Push changes before pulling from upstream On branch 297-add-pyspark-bindings Changes to be committed: new file: pyspark/README.rst modified: pyspark/graphar_pyspark/info.py modified: pyspark/pyproject.toml modified: pyspark/tests/test_info.py * Tests + fixes + updates from comments - update pyproject.toml - fix a lot of things - some work based on comments - license header everywhere - minor changes On branch 297-add-pyspark-bindings Changes to be committed: new file: pyspark/Makefile modified: pyspark/graphar_pyspark/graph.py modified: pyspark/graphar_pyspark/info.py modified: pyspark/graphar_pyspark/reader.py modified: pyspark/poetry.lock modified: pyspark/pyproject.toml modified: pyspark/tests/__init__.py modified: pyspark/tests/conftest.py modified: pyspark/tests/test_enums.py modified: pyspark/tests/test_info.py new file: pyspark/tests/test_reader.py Changes not staged for commit: modified: spark/pom.xml modified: spark/src/main/scala/com/alibaba/graphar/EdgeInfo.scala modified: spark/src/main/scala/com/alibaba/graphar/GraphInfo.scala modified: spark/src/main/scala/com/alibaba/graphar/VertexInfo.scala * Fix init for GraphArSession On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/graphar_pyspark/__init__.py Changes not staged for commit: modified: spark/pom.xml modified: spark/src/main/scala/com/alibaba/graphar/EdgeInfo.scala modified: spark/src/main/scala/com/alibaba/graphar/GraphInfo.scala modified: spark/src/main/scala/com/alibaba/graphar/VertexInfo.scala * Tests and fixes from comments On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/graphar_pyspark/__init__.py modified: pyspark/graphar_pyspark/enums.py modified: pyspark/graphar_pyspark/graph.py modified: pyspark/graphar_pyspark/info.py modified: pyspark/graphar_pyspark/reader.py new file: pyspark/graphar_pyspark/util.py modified: pyspark/graphar_pyspark/writer.py modified: pyspark/tests/test_info.py modified: pyspark/tests/test_reader.py new file: pyspark/tests/test_writer.py * Make PR ready for review On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/graphar_pyspark/util.py modified: pyspark/graphar_pyspark/writer.py modified: pyspark/tests/test_writer.py * Fixes from comments && docs On branch 297-add-pyspark-bindings Changes to be committed: modified: .gitignore modified: docs/Makefile modified: docs/index.rst new file: docs/pyspark/api/graphar_pyspark.rst new file: docs/pyspark/api/modules.rst new file: docs/pyspark/index.rst new file: docs/pyspark/pyspark-lib.rst modified: pyspark/Makefile modified: pyspark/graphar_pyspark/__init__.py modified: pyspark/graphar_pyspark/enums.py new file: pyspark/graphar_pyspark/errors.py modified: pyspark/graphar_pyspark/graph.py modified: pyspark/graphar_pyspark/info.py modified: pyspark/graphar_pyspark/reader.py modified: pyspark/graphar_pyspark/util.py modified: pyspark/graphar_pyspark/writer.py modified: pyspark/poetry.lock modified: pyspark/pyproject.toml modified: pyspark/tests/__init__.py modified: pyspark/tests/conftest.py modified: pyspark/tests/test_enums.py modified: pyspark/tests/test_info.py modified: pyspark/tests/test_reader.py modified: pyspark/tests/test_writer.py * Add license-header to pyspark/README + add poetry-lock file to .licenserc ignore section On branch 297-add-pyspark-bindings Changes to be committed: modified: .licenserc.yaml new file: pyspark/README.md deleted: pyspark/README.rst modified: pyspark/pyproject.toml * Update tests && small fixes - new tests - improved coverage - updated Makefile for Python project - updated pyproject.toml On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/Makefile modified: pyspark/graphar_pyspark/info.py modified: pyspark/graphar_pyspark/writer.py modified: pyspark/pyproject.toml modified: pyspark/tests/test_info.py modified: pyspark/tests/test_writer.py * Drop outdated comment and TODO On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/graphar_pyspark/writer.py * Fix broken commit On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/tests/test_writer.py * Tests coverage 95% && docstrings && linting pass - ruff passed - coverage 95%+ - docstrings for all the public API On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/graphar_pyspark/__init__.py modified: pyspark/graphar_pyspark/enums.py modified: pyspark/graphar_pyspark/errors.py modified: pyspark/graphar_pyspark/graph.py modified: pyspark/graphar_pyspark/info.py modified: pyspark/graphar_pyspark/reader.py modified: pyspark/graphar_pyspark/util.py modified: pyspark/graphar_pyspark/writer.py modified: pyspark/poetry.lock modified: pyspark/pyproject.toml modified: pyspark/tests/test_reader.py new file: pyspark/tests/test_transform.py modified: pyspark/tests/test_writer.py * Ci & docs On branch 297-add-pyspark-bindings Changes to be committed: new file: .github/workflows/pyspark.yml new file: docs/pyspark/how-to.rst modified: docs/pyspark/index.rst * Update branch && update README On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/README.md * Fixes from comments On branch 297-add-pyspark-bindings Changes to be committed: modified: .github/workflows/pyspark.yml modified: pyspark/README.md * Fix linter errors On branch 297-add-pyspark-bindings Changes to be committed: modified: pyspark/graphar_pyspark/info.py
- Loading branch information