Bugfix for Schema Change: Support for Relations and Objects

Aperta
#237 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
tooling

Direzione di ricerca

No source files or tests are named. Start by locating the schema-change handling and the relation/object XML serialization in the Python library, then reproduce the documented XML variations. Done means schema changes propagate to the connection, both legacy and current relation forms, and nested relation objects.

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

Descrizione

bug

We are seeing the Documents API 0.10 change the Schema within the connection control (in Tableau Desktop, the grey connection pane and in XML, the connection layer), but we are not seeing this change propagate the relations and object (the "wrapper" for the noodle and the enclosed table in Desktop on the white data canvas or the relation connection and objects within XML (snippet to follow in comment). Without all 4 (1 connection control, 2 relations (true and false) and object) changes, the schema will not deploy.

Connection:

<connection authentication='Username Password' class='redacted' dbname='DB' odbc-connect-string-extras='' one-time-sql='' schema='CHANGE_SCHEMA_HERE' server='redacted' server-oauth='' service='' username='UN' warehouse='WH' workgroup-auth-mode='prompt' />

Relations (for both current and prior version compatibility)

<_.fcp.ObjectModelEncapsulateLegacy.false...relation connection='redacted' name='TABLE' table='[CHANGE_SCHEMA_HERE].[TABLE]' type='table' />
<_.fcp.ObjectModelEncapsulateLegacy.true...relation connection='redacted' name='TABLE' table='[CHANGE_SCHEMA_HERE].[TABLE]' type='table' />
        <refresh increment-key='' incremental-updates='false' />

Object

<relation connection='redacted' name='TABLE' table='[CHANGE_SCHEMA_HERE].[TABLE]' type='table' />

Variations
When using a relation, the tags are further nested in the XML under a collection type:

<_.fcp.ObjectModelEncapsulateLegacy.true...relation type='collection'>
          <relation connection='redacted' name='TABLE' table='[CHANGE_SCHEMA_HERE].[TABLE]' type='table' />
          <relation connection='REDACTED' name='TABLE_2' table='[CHANGE_SCHEMA_HERE].[TABLE_2]' type='table' />
Lingua principale
Python
Stelle
363
Fork
183
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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/document-api-python

Tutte le issue di tableau/document-api-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.