-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
docs/sections/api/apidocs/libraries/dagster_databricks.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Databricks (dagster_databricks) | ||
------------------------- | ||
|
||
The ``dagster_databricks`` package provides two main pieces of functionality: | ||
|
||
- a resource, ``databricks_pyspark_step_launcher``, which will execute a solid within a Databricks | ||
context on a cluster, such that the ``pyspark`` resource uses the cluster's Spark instance; and | ||
- a solid, ``DatabricksRunJobSolidDefinition``, which submits an external configurable job to | ||
Databricks using the 'Run Now' API. | ||
|
||
See the 'simple_pyspark' Dagster example for an example of how to use the resource. | ||
|
||
Note that either S3 or Azure Data Lake Storage config **must** be specified for solids to succeed, | ||
and the credentials for this storage must also be stored as a Databricks Secret and stored in the | ||
resource config so that the Databricks cluster can access storage. | ||
|
||
.. currentmodule:: dagster_databricks | ||
|
||
.. autodata:: dagster_databricks.databricks_pyspark_step_launcher | ||
:annotation: ResourceDefinition | ||
|
||
.. autoclass:: dagster_databricks.DatabricksRunJobSolidDefinition | ||
|
||
.. autoclass:: dagster_databricks.DatabricksJobRunner | ||
|
||
.. autoclass:: dagster_databricks.DatabricksError |