Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP][DO NOT MERGE] Draft implementation of the new PySpark API for support of both Spark Classic and Spark Connect #814

Draft
wants to merge 16 commits into
base: sparkConnect
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/codeql.yml
Expand Up @@ -13,11 +13,16 @@ name: "CodeQL"

on:
push:

branches: [ main, 0.4.0 ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, 0.4.0 ]
paths-ignore:
- '**/*.md'
- '**/*.txt'
>>>>>>> 0.4.0
schedule:
- cron: '22 3 * * 5'

jobs:
analyze:
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Expand Up @@ -23,3 +23,10 @@ python/docs/_build/_doctrees
**/python/build/*
**/assembly/.classpath
**/.DS_Store

# Python stuff
.env
.venv

# Sphinx _build
**/_build
2 changes: 2 additions & 0 deletions python/docs/Makefile
Expand Up @@ -17,4 +17,6 @@ help:
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
export ZINGG_DRY_RUN=1
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
unset ZINGG_DRY_RUN
21 changes: 21 additions & 0 deletions python/pyproject.toml
@@ -0,0 +1,21 @@
[build-system]
requires = ["setuptools >= 61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "zingg"
dynamic = ["version"]
dependencies = [
"pandas",
"seaborn",
"matplotlib",
"sphinx",
"sphinx-rtd-theme",
"pyspark>=3.5",
"pydantic",
]
readme = "README.md"
requires-python = ">=3.11"

[tool.ruff]
line-length = 150
2 changes: 1 addition & 1 deletion python/requirements.txt
Expand Up @@ -3,4 +3,4 @@ seaborn
matplotlib
sphinx
sphinx-rtd-theme
pyspark
pyspark>=3.5