connector-plugin-sdk
connector-plugin-sdk copied to clipboard
Show schema for table in Data Source pane
About You: Name: Alex K Company: SQream
Your question:
Please, let us know how to configure JDBC based connector to show schema name for tables in Data Source pane (in case when schema is not default).
As an example PostgreSQL connector:
But if I try to use this sample it does not show.
So, I can assume that probably it can be achieved through some configuration in .taco package.
Thanks.
Hi Alex,
The postgres_jdbc sample you reference is written in Connection Dialog V1 style. To include schema on the Data Source pane (assuming the underlying database supports it) the following line should be added to connection-dialog.tcd: <has-schemas value="true" />
. XSD for reference.
For writing a new connector I'd also recommend reviewing the documentation on Connection Dialog V2. Here is a sample. Based on feedback we've more clearly separated the Connection Dialog and Data Source pane configurations with this design. See the 'The Connection Metadata File' section for more details.
Thanks.
@rosswbrown Hi Ross,
We already have connector written in Dialog V1 style. When I add has-schemas
flag it does show database and schema selectors.
And if I want to achieve exactly the same result as on screenshot (show schema next to the table name) I should rewrite connector in Dialog V2 style. Am I right?
Thanks.
Sorry, I misunderstood your previous question. The abc (test.abc)
style of table name shown in the schema viewer is not customizable via the SDK today, either by V1 or V2 style. What is shown above is a feature of Tableau's built-it PostgreSQL connector.
Thanks for raising this issue. I'll tag this as an enhancement request for consideration by the team for a future Tableau release.
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