ktmud commented on pull request #12998:
URL: https://github.com/apache/superset/pull/12998#issuecomment-779516758


   From the code it seems this only applies to `FilterBox`, but the screenshot 
shows histogram. Is it only for demonstration's purpose?
   
   The autocomplete predicate query string is used for this dropdown:
   
   <img 
src="https://user-images.githubusercontent.com/335541/108005026-65541780-6fac-11eb-97c9-d656bec24482.png";
 width="400">
   
   which then calls 
[`/filter/<datasource_type>/<datasource_id>/<column>`](https://github.com/apache/superset/blob/d7cbd53fce2c6ec2301d99bfda0b1969e5ec36e5/superset/views/core.py#L836)
 and 
[`values_for_column`](https://github.com/apache/superset/blob/eeec2140656ed862531252c69dfd616a91f8ce74/superset/connectors/sqla/models.py#L723).
 I'm wondering whether we should just reuse this API for FilterBox, too?
   
   


----------------------------------------------------------------
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.

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