Errors while using UserExtraMeta or CustomPsotProcessingFilter #691
-
Hello All, Good Day! I am trying to add custom parameters to the lineage by using 2 approaches mentioned below -
I have created a custom library with the additional details to process Filters. In both the approaches following steps are common
spark.enableLineageTracking(
AgentConfig.builder()
.splineMode(SplineMode.ENABLED)
.config("spline.postProcessingFilter","<filterName>")
//Other filter related config as mentioned below
) Approach 1: (Using
val ruleString =
"""
|{
| "executionPlan": {
| "labels": {
| "qux": 42,
| "tags": [ "aaa", "bbb", null, "ccc" ],
| "foo1": null,
| "foo2": [],
| "foo3": [null],
| "notFlat": ["a", ["b", "c"]]
| }
| },
| "executionEvent": {
| "labels": {
| "qux": 42
| }
| }
|}
|""".stripMargin b. val ruleString = "{\"executionPlan\":{\"foo\":{\"qux\":42,\"tags\":[\"aaa\",\"bbb\",\"ccc\"]}}" In both cases I am getting below error -
Approach 2: (Using Custom Post Processing Filters)
But even after the class file file existed in the supplied jar, I got below exception -
Please suggest |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 11 replies
-
What Spark version are you on? |
Beta Was this translation helpful? Give feedback.
-
For no.1 ( For no.2 ( |
Beta Was this translation helpful? Give feedback.
-
P.S. Please use backticks or triple back ticks when posting code snippets, configs, logs etc. Otherwise your message gets almost unreadable when posted on Github. Also using "Preview" button before sending a message is a good practice. |
Beta Was this translation helpful? Give feedback.
Just tried it by myself and what worked for me was: