witty-petabyte-23832
03/15/2023, 10:24 PMmetadata-models-custom) to add a custom aspect to the container entity results in this error: java.lang.UnsupportedOperationException: Failed to find Snapshot associated with Config-based Entity
this seems to be caused by datahub expecting the base entity to have an entity snapshot, which containers do not have; is this intended behavior? I was under the impression that snapshot-based entities have been deprecated for over a year nowwitty-petabyte-23832
03/15/2023, 10:25 PMid: customAspect
entities:
- name: container
aspects:
- customAspectwitty-petabyte-23832
03/15/2023, 10:26 PMnamespace com.mycompany.custom
@Aspect = {
"name": "customAspect"
}
record CustomAspect {
placeholder: string
}witty-petabyte-23832
03/15/2023, 10:27 PMjava.lang.UnsupportedOperationException: Failed to find Snapshot associated with Config-based Entity
at com.linkedin.metadata.models.ConfigEntitySpec.getSnapshotSchema(ConfigEntitySpec.java:75)
at com.linkedin.metadata.models.registry.MergedEntityRegistry.mergeEntitySpecs(MergedEntityRegistry.java:113)
at com.linkedin.metadata.models.registry.MergedEntityRegistry.apply(MergedEntityRegistry.java:61)
at com.linkedin.metadata.models.registry.PluginEntityRegistryLoader.loadOneRegistry(PluginEntityRegistryLoader.java:147)
at com.linkedin.metadata.models.registry.PluginEntityRegistryLoader.lambda(PluginEntityRegistryLoader.java:100)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
at com.linkedin.metadata.models.registry.PluginEntityRegistryLoader.lambda(PluginEntityRegistryLoader.java:100)
at java.base/java.util.concurrent.Executors.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor.run(ScheduledThreadPoolExecutor.java:305)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)astonishing-answer-96712
03/17/2023, 4:45 PMastonishing-answer-96712
03/17/2023, 5:14 PMastonishing-answer-96712
03/17/2023, 5:26 PMwitty-petabyte-23832
03/20/2023, 9:01 PM