Skip to content

[BUG] Removing connection-normalizer breaks connection-metadata settings #1299

@xsgao-github

Description

@xsgao-github

Describe the bug
Per the doc https://tableau.github.io/connector-plugin-sdk/docs/example:

Starting in Tableau 2021.1 a connector using Connection Dialog V2 can let the system determine at runtime the correct connection-normalizer by not defining it.

However, if I remove it from connectionResolver.tdr, my Connector breaks because it does not honor connection-metadata.xml anymore.

<?xml version="1.0" encoding="utf-8"?>
<connection-metadata>
  <database enabled='true' label='Catalog' />
  <schema enabled='true' label='Schema' />
  <table enabled='true' label='Table' />
</connection-metadata>

Tableau will not include catalog in the .tds:

<_.fcp.ObjectModelEncapsulateLegacy.true...relation connection='trino_jdbc.0zs311m1whbavb1glq4kj0o4aakw' name='region' table='[tiny].[region]' type='table' />

This causes query errors.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS
  • Tableau Version: 2005.2

About you:
Name: Song Gao
Company: Starburst Data Inc.

Metadata

Metadata

Assignees

Labels

Docs BugIssue with the documentation.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions