2 Replies Latest reply on Oct 9, 2018 1:41 PM by Pete Crossley

    Tableau WDC loads but not rendering correctly in App (Desktop Pro/Public) works in simulator, Bug?

    Pete Crossley

      I have ran in to an issue that I cannot explain, and I think is a bug in the application when using a simple WDC

       

      I have a data set that has 1 dimension and 6 measures.

       

      Here is the scheme:

      Screen Shot 2018-10-02 at 11.46.40 AM.png

       

      In the simulator it renders properly:

       

      Screen Shot 2018-10-02 at 11.51.24 AM.png

       

      In the app I see:

      Screen Shot 2018-10-02 at 11.54.25 AM.png

       

      It seems that no mater what the data is in the dimensions, they do not render in the data table and the columns of data are shifted left.

       

      I have tried different versions of the SDK,  I am currently using 2.3

       

      Any help or guidance would be helpful.

        • 1. Re: Tableau WDC not rendering correctly in App (Desktop Pro/Public) works in simulator
          Pete Crossley

          Digging in the logs I found something interesting.

           

          {"ts":"2018-10-02T11:54:24.318","pid":27181,"tid":"15a3d5","sev":"info","req":"-","sess":"-","site":"{72D8B765-FF12-4302-8283-E01B864266A9}","user":"-","k":"msg","v":"ProgressPollingTask complete"}

          {"ts":"2018-10-02T11:54:24.318","pid":27181,"tid":"15a3d6","sev":"info","req":"-","sess":"-","site":"{72D8B765-FF12-4302-8283-E01B864266A9}","user":"-","k":"end-query","l":{},"a":{"depth":3,"elapsed":2.217,"id":"CTSv+ZqZE2SP/////wdc72","name":"query","rk":"ok","rv":{},"sponsor":"HCIZnd8sUQRP/////HF3y/","type":"end","vw":"","wb":""},"v":{"cols":8,"elapsed":2.217,"is-command":false,"protocol-class":"webdata-direct","protocol-id":3,"query-category":"Data","query-hash":1343342450,"query-trunc":"<multi-table-query>\n  <from>\n    <tables>\n      <table id='l3dqrdkpnb' tableau-alias='Export Test'>\n        <column-instances>\n          <column-instance column-name='asvk2fcxuu' id='asvk2fcxuu' />\n          <column-instance column-name='c4hpeu0n4n' id='c4hpeu0n4n' />\n          <column-instance column-name='fdnjmfixcn' id='fdnjmfixcn' />\n          <column-instance column-name='iagje08nvr' id='iagje08nvr' />\n          <column-instance column-name='kq1c50tw9s' id='kq1c50tw9s' />\n          <column-~~~<<<query-trunc>>>~~~ <column id='' is-filterable='false'>\n      <table id='' tableau-alias=''>\n        <column-instances>\n        </column-instances>\n      </table>\n    </column>\n  </increment-info>\n</multi-table-query>\n","rows":9}}

          {"ts":"2018-10-02T11:54:24.319","pid":27181,"tid":"15a3d6","sev":"info","req":"-","sess":"-","site":"{72D8B765-FF12-4302-8283-E01B864266A9}","user":"-","k":"end-query","l":{},"a":{"depth":4,"elapsed":2.218,"id":"PnuS0UDxUjmL9c+H4ihmdg","name":"query","rk":"ok","rv":{},"sponsor":"HCIZnd8sUQRP/////HF3y/","type":"end","vw":"","wb":""},"v":{"cols":7,"elapsed":2.218,"is-command":false,"protocol-class":"webdata","protocol-id":-1,"query-category":"Unknown","query-hash":2829225743,"query-trunc":"<single-table-query>\n  <table id='l3dqrdkpnb' tableau-alias='Export Test'>\n    <column-instances>\n      <column-instance column-name='asvk2fcxuu' id='asvk2fcxuu' />\n      <column-instance column-name='c4hpeu0n4n' id='c4hpeu0n4n' />\n      <column-instance column-name='fdnjmfixcn' id='fdnjmfixcn' />\n      <column-instance column-name='iagje08nvr' id='iagje08nvr' />\n      <column-instance column-name='kq1c50tw9s' id='kq1c50tw9s' />\n      <column-instance column-name='tckgb4tsuu' id='tckgb4tsuu' />\n~~~<<<query-trunc>>>~~~<column id='' is-filterable='false'>\n      <table id='' tableau-alias=''>\n        <column-instances>\n        </column-instances>\n      </table>\n    </column>\n  </increment-info>\n</single-table-query>\n","rows":9}}

          {"ts":"2018-10-02T11:54:24.322","pid":27181,"tid":"15a3d6","sev":"info","req":"-","sess":"-","site":"{72D8B765-FF12-4302-8283-E01B864266A9}","user":"-","k":"end-qp-federated-evaluator","l":{},"a":{"depth":2,"elapsed":2.223,"id":"HCIZnd8sUQRP/////HF3y/","name":"qp-federated-evaluator","rk":"ok","rv":{},"sponsor":"CTSlkl7BkmVJ7GC8ZY7+YQ","type":"end","vw":"","wb":""},"v":{"query-category":"Data"}}

          {"ts":"2018-10-02T11:54:24.322","pid":27181,"tid":"15a3d6","sev":"info","req":"-","sess":"-","site":"{72D8B765-FF12-4302-8283-E01B864266A9}","user":"-","k":"end-qp-run-query","l":{},"a":{"depth":3,"elapsed":2.222,"id":"M0hP1Q1L01DP/////1a8EQ","name":"qp-run-query","rk":"ok","rv":{},"sponsor":"CTSlkl7BkmVJ7GC8ZY7+YQ","type":"end","vw":"","wb":""},"v":{"cache-hit":false,"cached":true,"query-category":"Data","query-length":978}}

          {"ts":"2018-10-02T11:54:24.323","pid":27181,"tid":"15a3d6","sev":"info","req":"-","sess":"-","site":"{72D8B765-FF12-4302-8283-E01B864266A9}","user":"-","k":"end-abstract-query","l":{},"a":{"depth":1,"elapsed":2.229,"id":"CTSlkl7BkmVJ7GC8ZY7+YQ","name":"abstract-query","rk":"ok","rv":{},"sponsor":"0000000000A0000000000A","type":"end","vw":"","wb":""},"v":{"cache-hit":false,"cached":true,"query-category":"Data","rows":9}}

           

          It reports all 8 columns in the first log entry (when I add the table to the top section) then it only reports 7 the next line ( when I click the load data button in the table ).

           

          I made the col counts bold.  You can also see in the second output of the metadata it dropped the dimension column in the <column-instances> tag.  fdnjmfixcn

          • 2. Re: Tableau WDC loads but not rendering correctly in App (Desktop Pro/Public) works in simulator, Bug?
            Pete Crossley

            Figured it out.  I don't know if it it suppose to work this way but the schema provided via TableInfo is not the same when executing in the application vs the simulator.  For example I provide a columnRole as dimension during the schema definition, and when the getData call is made the table reference passed does not have the the TableInfo.columns does not have the same specification as I original created (via the application only, simulator works) .  I have tested this in both the Tableau Public as well as Desktop Pro.  It is extremely hard to get logging from when your web data connector runs in the application. (Or not that I have found a easy way to get the tableau.log() )

             

            I also find it very frustrating that the simulator does not behave the same as the application.