Skip to content

Add metadata on a Notebook-basis in Databricks? #316

Answered by cerveada
diegoeche asked this question in Q&A
Discussion options

You must be logged in to vote

One note about the configuration:

The Configuration injected in the filter via constructor is always only subset of the configuration that have the filter namespace.

For example, this is configuration for DataSourcePasswordReplacingFilter:

spline.postProcessingFilter.dsPasswordReplace.className=za.co.absa.spline.harvester.postprocessing.DataSourcePasswordReplacingFilter
spline.postProcessingFilter.dsPasswordReplace.replacement=*****

and in the filter constructor I would get the replacement string like this:

def this(conf: Configuration) = this(
  conf.getRequiredString("replacement")
)

In other words: only keys starting with spline.postProcessingFilter.dsPasswordReplace. are available ins…

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by diegoeche
Comment options

You must be logged in to vote
7 replies
@wajda
Comment options

@DhananjayPunekar
Comment options

@DhananjayPunekar
Comment options

@wajda
Comment options

@zacayd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants