<#3263 [BUG] KeyError: 'sparkConf' occurs when run...
# flyte-github
a
#3263 [BUG] KeyError: 'sparkConf' occurs when running a Databricks task without spark_conf Pull request opened by machichima ## Tracking issue Closes flyteorg/flyte#6471 ## Why are the changes needed? Using Databricks connector without setting optional
spark_conf
field will cause
KeyError: 'sparkConf'
## What changes were proposed in this pull request? If
sparkConf
is empty, use
{}
## How was this patch tested? Added unit test for DatabricksV2 with and without
spark_conf
### Setup process ### Screenshots ## Check all the applicable boxes • I updated the documentation accordingly. • All new and existing tests passed. • All commits are signed-off. ## Related PRs ## Docs link flyteorg/flytekit