You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only way to add badges to columns currently is through the databuilder and there is only API support for tables. It would be great to provide API support for column level badging.
Expected Behavior or Use Case
Defining badges to the metadata config and config-custom.ts in the amundsenfrontendlibrary should stay the same. Ability to badge columns with a similar curl command like: curl -X PUT https://{your metadata url}/column/{column key}/badge/{badge name}?category={badge category}.
Where the column key would be in the format: datasource://database.schema/table/column (e.g. hive://gold.testschema/testtable)
Service or Ingestion ETL
This is within the amundsenmetadatalibrary.
Possible Implementation
I believe adding this to metadata_servie/api/column.py would be most of the code:
The only way to add badges to columns currently is through the databuilder and there is only API support for tables. It would be great to provide API support for column level badging.
Expected Behavior or Use Case
Defining badges to the metadata config and
config-custom.ts
in theamundsenfrontendlibrary
should stay the same. Ability to badge columns with a similar curl command like:curl -X PUT https://{your metadata url}/column/{column key}/badge/{badge name}?category={badge category}
.Where the
column key
would be in the format:datasource://database.schema/table/column
(e.g.hive://gold.testschema/testtable
)Service or Ingestion ETL
This is within the
amundsenmetadatalibrary
.Possible Implementation
I believe adding this to
metadata_servie/api/column.py
would be most of the code:And adding this resource to the
metadata_service/__init__.py
:I also see this TODO in the
badge.py
file: https://github.com/amundsen-io/amundsenmetadatalibrary/blob/master/metadata_service/api/badge.py#L56Context
Being able to hit the API for low-effort badge assignment would be helpful when there are minimum amount of badges to assign.
The text was updated successfully, but these errors were encountered: