Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

datasources url is uknown for GET command

Đang mở
#268 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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 >

Ngôn ngữ chính
Python
Star
52
Fork
17
Merge trung bình
5 ngày 20 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tableau/tabcmd

Tất cả issue của tableau/tabcmd

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.