forked from tableau/document-api-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdatasource_test.twb
More file actions
172 lines (171 loc) · 6.94 KB
/
datasource_test.twb
File metadata and controls
172 lines (171 loc) · 6.94 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<?xml version='1.0' encoding='utf-8' ?>
<!-- build 9300.16.0603.2240 -->
<workbook source-build='9.3.3 (9300.16.0603.2240)' source-platform='mac' version='9.3' xmlns:user='http://www.tableausoftware.com/xml/user'>
<preferences>
<preference name='ui.encoding.shelf.height' value='24' />
<preference name='ui.shelf.height' value='26' />
</preferences>
<datasources>
<datasource inline='true' name='datasource_test' version='9.3'>
<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>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' />
<column caption='X' datatype='integer' name='[x]' role='measure' type='quantitative' />
<column caption='Y' datatype='integer' name='[y]' role='measure' type='quantitative' />
<layout dim-ordering='alphabetic' dim-percentage='0.48' measure-ordering='alphabetic' measure-percentage='0.52' show-structure='true' />
<semantic-values>
<semantic-value key='[Country].[Name]' value='"United States"' />
</semantic-values>
</datasource>
</datasources>
<worksheets>
<worksheet name='Sheet 1'>
<table>
<view>
<datasources>
<datasource name='datasource_test' />
</datasources>
<datasource-dependencies datasource='datasource_test'>
<column caption='A' datatype='string' name='[a]' role='dimension' type='nominal' />
<column-instance column='[a]' derivation='None' name='[none:a:nk]' pivot='key' type='nominal' />
</datasource-dependencies>
<aggregation value='true' />
</view>
<style />
<panes>
<pane>
<view>
<breakdown value='auto' />
</view>
<mark class='Automatic' />
</pane>
</panes>
<rows>[datasource_test].[none:a:nk]</rows>
<cols />
</table>
</worksheet>
<worksheet name='Sheet 2'>
<table>
<view>
<datasources>
<datasource name='datasource_test' />
</datasources>
<datasource-dependencies datasource='datasource_test'>
<column caption='A' datatype='string' name='[a]' role='dimension' type='nominal' />
<column-instance column='[a]' derivation='None' name='[none:a:nk]' pivot='key' type='nominal' />
<column-instance column='[x]' derivation='Sum' name='[sum:x:qk]' pivot='key' type='quantitative' />
<column caption='X' datatype='integer' name='[x]' role='measure' type='quantitative' />
</datasource-dependencies>
<aggregation value='true' />
</view>
<style />
<panes>
<pane>
<view>
<breakdown value='auto' />
</view>
<mark class='Automatic' />
</pane>
</panes>
<rows>[datasource_test].[none:a:nk]</rows>
<cols>[datasource_test].[sum:x:qk]</cols>
</table>
</worksheet>
</worksheets>
<windows source-height='28'>
<window class='worksheet' name='Sheet 1'>
<cards>
<edge name='left'>
<strip size='160'>
<card type='pages' />
<card type='filters' />
<card type='marks' />
</strip>
</edge>
<edge name='top'>
<strip size='2147483647'>
<card type='columns' />
</strip>
<strip size='2147483647'>
<card type='rows' />
</strip>
</edge>
</cards>
</window>
<window class='worksheet' maximized='true' name='Sheet 2'>
<cards>
<edge name='left'>
<strip size='160'>
<card type='pages' />
<card type='filters' />
<card type='marks' />
</strip>
</edge>
<edge name='top'>
<strip size='2147483647'>
<card type='columns' />
</strip>
<strip size='2147483647'>
<card type='rows' />
</strip>
</edge>
</cards>
</window>
</windows>
</workbook>