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

Aperta
#1,711 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
api

Direzione di ricerca

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.

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

Descrizione

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.

Lingua principale
Python
Stelle
716
Fork
446
Merge medio
8g 8h
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

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/server-client-python

Tutte le issue di tableau/server-client-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.