Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes the array listing in Tableau.
It also reverts to only using the array names in the listing ignoring the fact that there might be arrays with duplicate names.
The previous version was displaying each array with a name of the form:
tiledb://namespace/name ~ tiledb://namespace/uuid
.This however was causing problems in Tableau because:
and this made it difficult for us to collect the info we wanted which is the tiledbURI.
An example of the logs can be seen here:
As you can see Tableau modifies the name in various ways and I deemed appropriate to step away from trying to make this work as I think we will just introduce more errors and edge cases.
Now, if a user tries to view the data from an array with a duplicate name he/she will receive an error message. He/She can then proceed to query the specific array from the "Custom SQL" field in both Tableau and Power BI by using the UUID. We could instead list all the arrays with their tiledbURI but this would look ugly.
This PR has been tested in Both Tableau and Power BI
Screenshots below: