Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

datasources url is uknown for GET command

Abierto
#268 1 comentario 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
cli

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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 >

Lenguaje dominante
Python
Estrellas
52
Forks
17
Merge medio
5 d 20 h
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de tableau/tabcmd

Todos los issues de tableau/tabcmd

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.