rusackas commented on issue #17852:
URL: https://github.com/apache/superset/issues/17852#issuecomment-999783826


   Thank you for this detailed proposal! I think this includes a LOT of 
fantastic ideas/potential. 
   
   I may be misunderstanding some intent/approach here, but I'd love to see 
these business types (and validators, etc) contributed to the core codebase, 
rather than as some form of configuration, since I can see how a library of 
these business types might grow/evolve and add value to all sorts of 
users/orgs. I feel like changes to config should be limited to 
enabling/disabling/overriding/extending these business types, but the default 
should be to define them in a way that adds value for everyone, unless it's 
something super obscure/proprietary.
   
   Thinking ahead further on that, it may be worth considering (at some point) 
making this a plugin-based architecture, if we expect there to be a 
proliferation of business types that Superset maintainers might want to 
add/remove/contribute. The only reason I consider this worth mentioning here 
and now is that we may have a similar problem to consider with things like 
formatters (e.g. supporting all the currencies of the world) which could use 
some organization/scalability efforts in a similar way. 
   
   One tiny nit you're probably way ahead of - the Business Type selector in 
the Dataset modal should probably be a Select component, and display those 
enabled business types (presumably populated by `v1/business_type/types`, 
rather than expecting the user to know/type them.
   
   My biggest question is how all of this fits into any 
known/proposed/speculated plans for Superset's semantic layer, to make sure it 
intersects well with any potentially related efforts (e.g. how we build 
drill-down/across/through). I'll solicit some feedback on this front, and 
hopefully more folks will chime in on the thread.
   
   Again, this is great work... thank you for all of the hard work and 
consideration that's already gone into this!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to