connector-plugin-sdk icon indicating copy to clipboard operation
connector-plugin-sdk copied to clipboard

[FEATURE] Automatically populate connection metadata fields.

Open CJStuart opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe. Currently the metadata fields for schema and table are not populated automatically and contain an empty list when first shown. The user first has to search for a schema or table before they can select one. This has led to confusion among users who were under the impression these would be automatically populated, and assumed the connection had failed.

Describe the solution you'd like We would like to be able to configure the metadata fields such that:

  • When the database field is disabled, has changed, or has a default value, the schema field is automatically populated with all schemas in the selected database, or, if the database field is disabled, all available schemas.
  • When the schema field is disabled, has changed, or has a default value, the tables field is automatically populated with all tables in the database and schema, ignoring either field if disabled.

Describe alternatives you've considered An alternative option is to populate the tables field with all available tables immediately, however depending on the database configuration this can be a prohibitively expensive operation. We would like to be able to limit it to the schema.

About You Name: Christian Stuart Company: Databricks

CJStuart avatar Aug 26 '20 15:08 CJStuart

In discussion there is a need for something like hybrid slow metadata, where some fields can be pre-defined, and the metadata call would be scoped to that level. This would bridge today's all or nothing approach of fetching all metadata (time consuming) or starting with a blank slate (not user friendly).

sidwray avatar Sep 02 '20 17:09 sidwray

tfs 1197792

sidwray avatar Nov 12 '20 21:11 sidwray

Hi, I am a new PM for the Connector SDK and I am looking at our feature backlog and getting things prioritized. I would appreciate if you can give your feedback for our product via this form. It should only take 2-5 mins but would be super valuable to our team. Thanks in advance!! https://docs.google.com/forms/d/e/1FAIpQLSfs5OreNsxnva_uTO2vTxnoF-oq-37tEdrUpirUKwqud2Ib7g/viewform?usp=sf_link

VasanthiNeelagiri avatar Nov 03 '21 19:11 VasanthiNeelagiri