Hi everyone! I was trying to create a new model wi...
# advice-metadata-modeling
a
Hi everyone! I was trying to create a new model within metadata-models, and I am curious, what is the best way to create a Date like field in PegasusDataLanguge. If I understand correctly there is no specific Date type in the pdl files, but I hope it can be represented somehow. Thanks for your answer in advance!
a
Hi Marcell, is this doc on adding entities to the graphQL core helpful? https://datahubproject.io/docs/datahub-graphql-core/#adding-an-entity
a
Hi @astonishing-answer-96712! I would like to add the date field (the format can be decided later) in pegasus data model level. And it does not have a Date format, you can create your own object if needed. The question is: Is there any precreated Date-like pdl object that I can use for the new entity? Thanks for your answer!
a
We have both Timeseries aspects and
DATE_GROUPING_BUCKET
, which you can find here https://datahubproject.io/docs/metadata-modeling/metadata-model/
@big-carpet-38439 are you familiar with any OOTB date objects in PDL?