Column with None values becomes "All" when publishing a workbook using the TSC Python client
還沒有人認領這個 Issue。
評估
研究方向
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 內容生成。
描述
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
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
tableau/server-client-python 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 70/100
tableau/server-client-python#1865 ·
-
in-progress
難度 2/5 1-3 小時 新手友好度 78/100
tableau/server-client-python#1829 · 1 則留言 ·
-
enhancement gap needs investigation
難度 2/5 1-3 小時 新手友好度 68/100
tableau/server-client-python#1322 · 1 則留言 ·
-
[Type2] Allow Incremental Refresh type schedules to be added via `server.schedules.add_to_schedule` 未關閉help wanted Server-Side Enhancement ui-exists
難度 2/5 1-3 小時 新手友好度 68/100
tableau/server-client-python#1101 · 3 則留言 ·
-
enhancement good first issue
難度 2/5 1-3 小時 新手友好度 68/100
tableau/server-client-python#783 · 5 則留言 ·
查看 tableau/server-client-python 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 75/100
-
hcocena 未關閉policies-accepted pre-review precheck-passed
難度 1/5 1 小時以內 新手友好度 88/100
Bioconductor/BiocContributions#214 · 5 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 92/100
TencentCloud/Octop#1169 · 1 則留言 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
521xueweihan/HelloGitHub#3778 ·
-
The version checker's trailing attribute region has no control for a less-than inside a quoted value 未關閉area: dashboard area: tests bug perceived difficulty: 2 python
難度 2/5 1-3 小時 新手友好度 84/100
Nitjsefnie-Harness-Commons/daedalus#1105 · 1 則留言 ·