Hello Team. Custom aspects does not auto render on...
# troubleshoot
a
Hello Team. Custom aspects does not auto render on the UI for DataJob (or any entity other than Dataset). I've used the example customDataQualityRules aspect and added to DataJob. The metadata ingestion works fine but does not auto render the aspect in the UI. Also trying to render an aspect as
properties
instead of
tabular
does not work. The doc mentions that auto rendering of the custom aspect works for DataJob. Can someone help here?
hitting the below graphql query does fetch the data, which makes me believe the react page for DataJob doesn't fetch autoRenderAspects
Copy code
{
  dataset(
    urn: "urn:li:dataJob:(urn:li:dataFlow:(airflow,dag_abc,PROD),task_123)"
  ) {
    aspects(input: {autoRenderOnly: true}) {
      aspectName
      payload
      renderSpec {
        displayType
        displayName
        key
      }
    }
  }
}
I'm running the latest version
v0.8.36
b
Thanks for the report @astonishing-guitar-79208! Let me try to understand if this is a real bug. cc. @green-football-43791
g
Hey @astonishing-guitar-79208 - I believe this is an inconsistency with data jobs not fetching auto render aspects. I’ll look into this.
a
@green-football-43791 you might wanna look at all the entities that should support auto render aspects. I glanced at the codebase and I can see only the Dataset entity fetching the auto render aspect.
also for aspects where the renderSpec.displayType is set to
properties
, the graphql query above does not return those aspects