Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show schema for table in Data Source pane #698

Open
alex-kar opened this issue Jan 24, 2021 · 4 comments
Open

Show schema for table in Data Source pane #698

alex-kar opened this issue Jan 24, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@alex-kar
Copy link

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

@alex-kar alex-kar changed the title Show scheme for table in Show scheme for table in Data Source pane Jan 24, 2021
@alex-kar alex-kar changed the title Show scheme for table in Data Source pane Show schema for table in Data Source pane Jan 25, 2021
@yellowYou yellowYou added the investigate Issue the team needs to look at label Jan 25, 2021
@rosswbrown
Copy link
Contributor

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.

@alex-kar
Copy link
Author

alex-kar commented Jan 26, 2021

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

@rosswbrown
Copy link
Contributor

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.

@rosswbrown rosswbrown added enhancement New feature or request and removed investigate Issue the team needs to look at labels Jan 29, 2021
@VasanthiNeelagiri
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants