Hi everyone! I'm trying to extend dataset model wi...
# advice-metadata-modeling
h
Hi everyone! I'm trying to extend dataset model with no-code feature. It works fine but I have a question concerning the tabular render. How are ordered the fields? I have created an aspect in a pdl file:
Copy code
record customElts {
  Date: string
  Id: optional string
  Link: string
  Title: optional string
}
I thought I would have a table with these 4 columns in this order: Date | Id | Link | Title But I have this on the UI. Is it ordered randomly?
πŸ“– 1
πŸ” 1
l
Hey there πŸ‘‹ I'm The DataHub Community Support bot. I'm here to help make sure the community can best support you with your request. Let's double check a few things first: βœ… There's a lot of good information on our docs site: www.datahubproject.io/docs, Have you searched there for a solution? βœ… It's not uncommon that someone has run into your exact problem before in the community. Have you searched Slack for similar issues? Did you find a solution to your issue? ❌ Sorry you weren't able to find a solution. I'm sending you some tips on info you can provide to help the community troubleshoot. Whenever you feel your issue is solved, please react βœ… to your original message to let us know!
a
Is it matching the ordering in source? I think we don’t have field ordering supported yet- it would make a good feature request https://datahubproject.io/docs/authorization/roles/#assigning-roles
sorry- wrong link and slack won’t let me edit, see here: https://feature-requests.datahubproject.io
h
Hi @astonishing-answer-96712, no it's not matching (pdl and json data ingestion follow the same order). That's why I wonder how this is working (randomly I guess?). Thanks for the link!
a
@bulky-soccer-26729 might be able to speak to this!
b
yes unfortunately we don't have sorting available on custom aspects right now, however that makes a ton of sense! this is something we hope to work on, but i'm unsure of any timeline specifically for it
πŸ‘ 1
g
Hello @bulky-soccer-26729, we are trying to find a workaround to sort the columns of a custom aspect. It could be in alphabetical order, or by the order of the declaration in pdl file, it is not important, but we need to have a fixed order to deploy to production for our users. Do you have any recommendations on how we could try to fix this random order issue? Thanks a lot. Antoine