forked from tableau/server-client-python
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test to verify tableau#80 (tableau#83)
- Loading branch information
Russell Hay
authored and
Russell Hay
committed
Oct 7, 2016
1 parent
ee380ac
commit 86bb63b
Showing
2 changed files
with
103 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
<datasource formatted-name='postgres.1of3kl00aoax5d1a1ejma1397430' inline='true' source-platform='mac' version='9.3' xmlns:user='http://www.tableausoftware.com/xml/user'> | ||
<connection authentication='username-password' class='postgres' dbname='TestV1' odbc-native-protocol='yes' port='5432' server='postgres91.test.tsi.lan' username='test'> | ||
<relation name='xy' table='[public].[xy]' type='table' /> | ||
<metadata-records> | ||
<metadata-record class='column'> | ||
<remote-name>a</remote-name> | ||
<remote-type>130</remote-type> | ||
<local-name>[a]</local-name> | ||
<parent-name>[xy]</parent-name> | ||
<remote-alias>a</remote-alias> | ||
<ordinal>1</ordinal> | ||
<local-type>string</local-type> | ||
<aggregation>Count</aggregation> | ||
<width>255</width> | ||
<contains-null>true</contains-null> | ||
<attributes> | ||
<attribute datatype='string' name='DebugRemoteType'>"SQL_WVARCHAR"</attribute> | ||
<attribute datatype='string' name='DebugWireType'>"SQL_C_WCHAR"</attribute> | ||
<attribute datatype='string' name='TypeIsVarchar'>"true"</attribute> | ||
</attributes> | ||
</metadata-record> | ||
<metadata-record class='column'> | ||
<remote-name>Today's Date</remote-name> | ||
<remote-type>130</remote-type> | ||
<local-name>[Today's Date]</local-name> | ||
<parent-name>[xy]</parent-name> | ||
<remote-alias>a</remote-alias> | ||
<ordinal>1</ordinal> | ||
<local-type>string</local-type> | ||
<aggregation>Count</aggregation> | ||
<width>255</width> | ||
<contains-null>true</contains-null> | ||
<attributes> | ||
<attribute datatype='string' name='DebugRemoteType'>"SQL_WVARCHAR"</attribute> | ||
<attribute datatype='string' name='DebugWireType'>"SQL_C_WCHAR"</attribute> | ||
<attribute datatype='string' name='TypeIsVarchar'>"true"</attribute> | ||
</attributes> | ||
</metadata-record> | ||
<metadata-record class='column'> | ||
<remote-name>x</remote-name> | ||
<remote-type>3</remote-type> | ||
<local-name>[x]</local-name> | ||
<parent-name>[xy]</parent-name> | ||
<remote-alias>x</remote-alias> | ||
<ordinal>2</ordinal> | ||
<local-type>integer</local-type> | ||
<aggregation>Sum</aggregation> | ||
<precision>10</precision> | ||
<contains-null>true</contains-null> | ||
<attributes> | ||
<attribute datatype='string' name='DebugRemoteType'>"SQL_INTEGER"</attribute> | ||
<attribute datatype='string' name='DebugWireType'>"SQL_C_SLONG"</attribute> | ||
</attributes> | ||
</metadata-record> | ||
<metadata-record class='column'> | ||
<remote-name>y</remote-name> | ||
<remote-type>3</remote-type> | ||
<local-name>[y]</local-name> | ||
<parent-name>[xy]</parent-name> | ||
<remote-alias>y</remote-alias> | ||
<ordinal>3</ordinal> | ||
<local-type>integer</local-type> | ||
<aggregation>Sum</aggregation> | ||
<precision>10</precision> | ||
<contains-null>true</contains-null> | ||
<attributes> | ||
<attribute datatype='string' name='DebugRemoteType'>"SQL_INTEGER"</attribute> | ||
<attribute datatype='string' name='DebugWireType'>"SQL_C_SLONG"</attribute> | ||
</attributes> | ||
</metadata-record> | ||
</metadata-records> | ||
</connection> | ||
<aliases enabled='yes' /> | ||
<column datatype='integer' name='[Number of Records]' role='measure' type='quantitative' user:auto-column='numrec'> | ||
<calculation class='tableau' formula='1' /> | ||
</column> | ||
<column caption='A' datatype='string' name='[a]' role='dimension' type='nominal'> | ||
<desc> | ||
<formatted-text> | ||
<run bold='true' fontsize='96'>año</run> | ||
<run fontcolor='#686868'> Something will go here too, in a muted gray</run> | ||
</formatted-text> | ||
</desc> | ||
</column> | ||
<column caption='Today's Date' datatype='string' name='[Today's Date]' role='dimension' type='nominal' /> | ||
<column caption='X' datatype='integer' name='[x]' role='measure' type='ordinal' /> | ||
<column caption='Y' datatype='integer' name='[y]' role='measure' type='quantitative' /> | ||
<layout dim-ordering='alphabetic' dim-percentage='0.5' measure-ordering='alphabetic' measure-percentage='0.5' show-structure='true' /> | ||
<semantic-values> | ||
<semantic-value key='[Country].[Name]' value='"United States"' /> | ||
</semantic-values> | ||
</datasource> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters