Make sure you have setuptools and wheel installed:
pip install setuptools wheel build
To create the wheel, navigate to the root directory (where pyproject.toml is located) and run:
python -m build
After running the build command, a dist directory will be created, and you should see your .whl file inside:
dist/
└── your_package_name-0.1.0-py3-none-any.whl
You can test the wheel installation using pip:
pip install dist/your_package_name-0.1.0-py3-none-any.whl
spark.databricks.io.cache.enabled true
spark.databricks.delta.optimizeWrite.enabled true
spark.databricks.delta.autoCompact.enabled true
spark.sql.adaptive.enabled true
spark.sql.adaptive.coalescePartitions.enabled true
spark.sql.adaptive.advisoryPartitionSizeInBytes 64MB
spark.sql.shuffle.partitions 200
spark.network.timeout 800s
spark.driver.memory 32g
spark.databricks.delta.retentionDurationCheck.enabled false
spark.databricks.delta.logRetentionDuration 30 days
spark.sql.optimizer.dynamicPartitionPruning.enabled true
spark.sql.execution.arrow.maxRecordsPerBatch 5000
spark.sql.execution.arrow.maxRecordsPerBatch 5000
Ensure you are on the feature/dev branch locally:
git fetch origin # Fetch the latest changes from the remote
git checkout -b feature/dev-merged # Create a new branch
git merge origin/feature/dev # Merge the latest remote changes into the new branch
# Resolve conflicts if any
git add . # Stage resolved files
git commit -m "Resolve conflicts and merge changes" # Commit the merge
git push origin feature/dev-merged # Push the new branch to the remote