databricks-cli/doc/project-flavors.md

723 B

Project Flavors

bricks CLI detects variout project flavors dynamically every run, though sometimes you may be interested in overriding the defaults.

Maven

If there's a pom.xml file in the same folder as databricks.yml, mvn clean package is invoked during build stage, followed by uploading target/$artifactId-$version.jar file to DBFS during the upload stage, installing it as a library on Development Cluster and waiting for the installation to succeed, reporting the error back otherwise.

Python

If there's a setup.py file in the project root, ...