Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

datasources url is uknown for GET command

Aperta
#268 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
cli

Direzione di ricerca

Start by reviewing the Get command introduced by PR #162 and the datasource information returned by tabcmd list. Compare the datasource name, UID, and repositoryUrl shown in the issue to determine how a renamed datasource can be addressed. Done means the command can reliably identify and download the requested datasource without an unintended filename collision.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Needs Investigation question

https://github.com/tableau/tabcmd/pull/162 introduced the Get command for a datasource.

The url for a datasource download is unclear and as described in https://kb.tableau.com/articles/howto/downloading-a-published-extract-using-tabcmd not visible in the url.
I use following command to retrieve datasources with tabcmd:

tabcmd get "datasources/$DSNAME.tdsx" --no-certcheck -f "$DS_NAME.tdsx"
Often the url will be the same as the datasource name, but:

Note: If there are other files with the same name the command replaces the file without notification. To avoid this issue specify the path for the downloaded resource.

Below example shows a datasource that is renamed by tableau (due to a rename):

{
    "result": {
        "name": "xxxxxxOMSTEN_VERZEKERINGEN_PER_BEGUNSTIGDE_0002",
      xxxxx
        "isFileBased": false,
        "isHierarchical": false,
        "description": "",
        "dataQualityIndicators": [],
        "connectionOAuth": false,
        "refreshMode": "Server",
        "connectionTypeEditable": true,
        "usingRemoteQueryAgent": false,
        "askDataIndexing": "MANUAL",
        "tags": [],
       xxxx
        "createdAt": "2022-01-05T13:45:38.537Z",
        "updatedAt": "2023-03-28T07:09:03.822Z",
        "repositoryUrl": "xxxxxxOMSTEN_VERZEKERINGEN_PER_BEGUNSTIGDE_16257521569490",
       xxxxx

How can we use tabcmd to find the original datasource url based on the name?
Tabcmd list only returns a uid that cannot be used?

<Datasource d9d03f74-928a-4d74-b72f-198b951a3a6d 'CIVL_PRODUCTOVEREENKOMSTEN_VERZEKERINGEN_PER_BEGUNSTIGDE_0002' (No Description parent=ecbeab9e-0ecf-42f2-863c-3d205cab072f >

Lingua principale
Python
Stelle
52
Fork
17
Merge medio
5g 20h
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tableau/tabcmd

Tutte le issue di tableau/tabcmd

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.