UserExtraAppendingPostProcessingFilter #228
Replies: 2 comments 4 replies
-
Your code doesn't compile for a few reasons:
Please note that we are working on a declarative solution for capturing the extra metadata, so that most of the rules and values could be defined in the configuration, and little to no coding would be required for that. See #169 For now just use |
Beta Was this translation helpful? Give feedback.
-
I think this is more of a question for the Play JSON than the Spline agent (if I understand it correctly, that the issue is related to your custom code But from what I can guess the Actually, you don't even need to manually serialize objects that you want to include into Spline extras. If the objects are naturally serializable (simple types, case classes, standard collections etc) you can included them to extras as is - Spline will serialize them on dispatching. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have been trying to run the following code with the new spline jar:
za.co.absa.spline.agent.spark:spark-3.0-spline-agent-bundle_2.12:0.6.0
but have been getting errors specific toUserExtraMetadataProvider
which has been deprecated in the newer versions. I have also tried replacingUserExtraMetadataProvider
withUserExtraAppendingPostProcessingFilter
using the code shown below this first code block but still getting the errors. Can you please validate and share how to properly write the post processing filter code using the new spline bundle.Here is the updated code that is still having errors
Here is the error
Beta Was this translation helpful? Give feedback.
All reactions