You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <code>get_or_create_spark_session</code> | Function | Gets or creates a Spark Session, depending on the environment. Supports Synapse or a Local Spark Session configuration. | <code>from corvus_python.pyspark.utilities import get_or_create_spark_session</code> |
16
-
| <code>get_spark_utils</code> | Function | Returns spark utility functions corresponding to current environment (local/Synapase) based on mssparkutils API. Useful for local development. <b>Note:</b> Config file required for local development - see [section below](#configuration). | <code>from corvus_python.pyspark.utilities import get_spark_utils</code> |
17
-
| <code>null_safe_join</code> | Function | Joins two Spark DataFrames incorporating null-safe equality. | <code>from corvus_python.pyspark.utilities import null_safe_join</code> |
18
-
|||||
11
+
| <code>get_spark_utils</code> | Function | Returns spark utility functions corresponding to current environment (local/Synapse) based on mssparkutils API. Useful for local development. <b>Note:</b> Config file required for local development - see [section below](#configuration). | <code>from corvus_python.spark_utils import get_spark_utils</code> |
12
+
19
13
20
14
#### `get_spark_utils()`
21
15
@@ -60,6 +54,17 @@ Below shows the current, complete specification of the config file for the suppo
60
54
61
55
By default, a file in the root of the current working directory with file name `local-spark-utils-config.json` will be automatically discovered. If the file resides in a different location, and/or has a different file name, then the absolute path must be specified when calling `get_spark_utils()`.
62
56
57
+
58
+
### `pyspark.utilities`
59
+
60
+
**⚠️ Note: This module requires the 'pyspark' extra to be installed: `corvus-python[pyspark]`**
61
+
62
+
Includes utility functions when working with PySpark to build data processing solutions. Primary API interfaces:
63
+
64
+
| Component Name | Object Type | Description | Import syntax |
| <code>get_or_create_spark_session</code> | Function | Gets or creates a Spark Session, depending on the environment. Supports Synapse or a Local Spark Session configuration. | <code>from corvus_python.pyspark.utilities import get_or_create_spark_session</code> |
67
+
| <code>null_safe_join</code> | Function | Joins two Spark DataFrames incorporating null-safe equality. | <code>from corvus_python.pyspark.utilities import null_safe_join</code> |
63
68
---
64
69
65
70
### `pyspark.synapse`
@@ -107,7 +112,7 @@ Includes utility functions when working with Synapse Analytics. Primary API inte
107
112
108
113
---
109
114
110
-
### Auth
115
+
### `auth`
111
116
112
117
Includes utility functions when working with authentication libraries within Python. Primary API interfaces:
113
118
@@ -116,7 +121,7 @@ Includes utility functions when working with authentication libraries within Pyt
116
121
| <code>get_az_cli_token</code> | Function | Gets an Entra ID token from the Azure CLI for a specified resource (/audience) and tenant. Useful for local development. | <code>from corvus_python.auth import get_az_cli_token</code> |
117
122
|||||
118
123
119
-
### SharePoint
124
+
### `sharepoint`
120
125
121
126
Includes utility functions when working with SharePoint REST API. Primary API interfaces:
122
127
@@ -126,7 +131,7 @@ Includes utility functions when working with SharePoint REST API. Primary API in
126
131
127
132
---
128
133
129
-
### Email
134
+
### `email`
130
135
131
136
Includes utility classes and models for sending emails using Azure Communication Services (ACS). Primary API interfaces:
0 commit comments