How to create custom formatter for promotion of physical files?

How do we add custom formatter options?

Currently there are formatters such as:


I guess it has to be done at the Dremio code level. How easy / difficult it is? Any info / examples would of great help. Thank you.

@KrishnaPG Yes, has to be done at the code level,