Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Column with None values becomes "All" when publishing a workbook using the TSC Python client

未關閉
#1,711 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
python
領域
api

研究方向

Start at the reported server.workbooks.publish(wb_item, file_path, mode) entry point and reproduce the issue with a workbook containing None values. Compare the published data with the manually published workbook, then verify that None values remain unchanged after the fix.

由索引模型根據 Issue 內容生成。

描述

bug needs investigation

Describe the bug

When publishing a workbook to Tableau Server using the Tableau Server Client (TSC) Python library, a column in the underlying table that contains None values is being converted to the string "All".
This happens only when publishing via TSC.
Publishing the same workbook manually to Tableau Server preserves the None values correctly.

Expected behavior
When publishing a workbook using the TSC client, column values that are None should remain unchanged—exactly as they do when publishing manually to Tableau Server.

Actual behavior
A datasource table includes a column with None values.
When publishing the workbook using TSC (server.workbooks.publish()), the None values in that column are changed to "All".
No transformation or custom handling of values is applied in the Python script.

Versions
Details of your environment, including:

  • Tableau Server version - 2025.1.7 (20251.25.0825.1650) 64-bit Linux
  • Python version - 3.9
  • TSC library version - 0.15.0

To Reproduce

  • Create a workbook with a datasource table containing at least one column with None values.
  • Publish the workbook using TSC:
  • server.workbooks.publish(wb_item, file_path, mode)
  • Open the published workbook on Tableau Server.
  • Observe that the original None values have been replaced with "All".

Results

This issue leads to incorrect data representation in the published workbook and may cause:

  • Misleading data displays
  • Filters not behaving as expected
  • Broken calculations relying on None values
  • Confusion or incorrect interpretation for end users

NOTE: Be careful not to post user names, passwords, auth tokens or any other private or sensitive information.

主要語言
Python
星號
716
分支
446
平均合併
8 天 8 小時
30 天內合併 PR
2

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

tableau/server-client-python 的其他 Issue

查看 tableau/server-client-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。