-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef8ab67
commit a73623c
Showing
3 changed files
with
380 additions
and
0 deletions.
There are no files selected for viewing
77 changes: 77 additions & 0 deletions
77
tdvt/tdvt/logicaltests/expected/connection_test/expected.setup.staples.connection.test.1.xml
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,77 @@ | ||
|
||
<results> | ||
<test name='/connector-plugin-sdk/tdvt/tdvt/logicaltests/setup/connection_test/setup.staples.connection.test.simple.xml'> | ||
<sql> | ||
SELECT "Staples"."Discount" AS "Ship Priority" FROM "Staples" GROUP BY 1 </sql> | ||
<query-time> | ||
85.000 </query-time> | ||
<table> | ||
<schema> | ||
<column>[Staples.postgres].[Ship Priority]</column> | ||
</schema> | ||
<tuple> | ||
<value>"0"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.01"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.02"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.03"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.04"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.05"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.06"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.07"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.08"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.09"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.1"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.11"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.12"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.13"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.15"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.21"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.24"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.27"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.3"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.36"</value> | ||
</tuple> | ||
<tuple> | ||
<value>"0.39"</value> | ||
</tuple> | ||
</table> | ||
</test> | ||
</results> |
223 changes: 223 additions & 0 deletions
223
tdvt/tdvt/logicaltests/expected/lod/expected.setup.lod.9_Fixed as Dimension.1.xml
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,223 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
|
||
<results> | ||
<test name='E:\dev\data-dev2\tableau-tests\tdvt\logicaltests\setup\lod\setup.lod.9_Fixed as Dimension.prefix.xml'> | ||
<table> | ||
<schema> | ||
<column>[Staples.teradata].[sum:Sales Total:ok]</column> | ||
<column>[Staples.teradata].[wk:LOD - Fixed - 1 (copy 2):ok]</column> | ||
<column>[Staples.teradata].[yr:Order Date:ok]</column> | ||
</schema> | ||
<tuple> | ||
<value>143086.0</value> | ||
<value>7</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>155398.0</value> | ||
<value>6</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>171196.0</value> | ||
<value>7</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>203969.0</value> | ||
<value>7</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>210031.0</value> | ||
<value>7</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>229542.0</value> | ||
<value>7</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>250933.0</value> | ||
<value>6</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>270968.0</value> | ||
<value>6</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>272984.0</value> | ||
<value>6</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>275541.0</value> | ||
<value>7</value> | ||
<value>1998</value> | ||
</tuple> | ||
<tuple> | ||
<value>292277.0</value> | ||
<value>6</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>333289.0</value> | ||
<value>6</value> | ||
<value>1998</value> | ||
</tuple> | ||
<tuple> | ||
<value>602266.0</value> | ||
<value>5</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>602510.0</value> | ||
<value>5</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>631772.0</value> | ||
<value>5</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>661241.0</value> | ||
<value>5</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>711393.0</value> | ||
<value>5</value> | ||
<value>1998</value> | ||
</tuple> | ||
<tuple> | ||
<value>740353.0</value> | ||
<value>5</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>1589284.0</value> | ||
<value>4</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>1639958.0</value> | ||
<value>4</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>1658149.0</value> | ||
<value>4</value> | ||
<value>1998</value> | ||
</tuple> | ||
<tuple> | ||
<value>1681972.0</value> | ||
<value>4</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>1766892.0</value> | ||
<value>4</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>1847329.0</value> | ||
<value>4</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>2581528.0</value> | ||
<value>3</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>2817285.0</value> | ||
<value>3</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>2903749.0</value> | ||
<value>3</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>2936721.0</value> | ||
<value>3</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>2983885.0</value> | ||
<value>3</value> | ||
<value>1998</value> | ||
</tuple> | ||
<tuple> | ||
<value>3106220.0</value> | ||
<value>3</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>4820443.0</value> | ||
<value>1</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>4950468.0</value> | ||
<value>1</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>4953826.0</value> | ||
<value>1</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>4985164.0</value> | ||
<value>1</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>5085197.0</value> | ||
<value>1</value> | ||
<value>1998</value> | ||
</tuple> | ||
<tuple> | ||
<value>5345654.0</value> | ||
<value>2</value> | ||
<value>2002</value> | ||
</tuple> | ||
<tuple> | ||
<value>5362879.0</value> | ||
<value>1</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>5474899.0</value> | ||
<value>2</value> | ||
<value>1997</value> | ||
</tuple> | ||
<tuple> | ||
<value>5489919.0</value> | ||
<value>2</value> | ||
<value>2001</value> | ||
</tuple> | ||
<tuple> | ||
<value>5626388.0</value> | ||
<value>2</value> | ||
<value>2000</value> | ||
</tuple> | ||
<tuple> | ||
<value>5852590.0</value> | ||
<value>2</value> | ||
<value>1999</value> | ||
</tuple> | ||
<tuple> | ||
<value>6468769.0</value> | ||
<value>2</value> | ||
<value>1998</value> | ||
</tuple> | ||
</table> | ||
</test> | ||
</results> |
80 changes: 80 additions & 0 deletions
80
tdvt/tdvt/logicaltests/expected/lod/expected.setup.lod.calc.1.TopN.1.xml
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,80 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
|
||
<results> | ||
<test name='D:\dev\data-dev\tableau-tests\tdvt\logicaltests\setup\lod\setup.lod.calc.1.TopN.dbo.xml'> | ||
<table> | ||
<schema> | ||
<column>[Staples.lod.sqlserver].[Prod Type2]</column> | ||
<column>[Staples.lod.sqlserver].[sum:Sales Total:ok]</column> | ||
</schema> | ||
<tuple> | ||
<value>"APPLIANCES"</value> | ||
<value>3211255.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"BINDERS AND BINDER ACCESSORIES"</value> | ||
<value>3486043.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"BOOKCASES"</value> | ||
<value>3192047.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"CHAIRS & CHAIRMATS"</value> | ||
<value>6394825.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"COMPUTER PERIPHERALS"</value> | ||
<value>3181279.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"COPIERS AND FAX"</value> | ||
<value>3937480.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"ENVELOPES"</value> | ||
<value>499500.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"LABELS"</value> | ||
<value>252067.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"OFFICE FURNISHINGS"</value> | ||
<value>2445700.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"OFFICE MACHINES"</value> | ||
<value>9186301.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"PAPER"</value> | ||
<value>1886099.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"PENS & ART SUPPLIES"</value> | ||
<value>728282.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"RUBBER BANDS"</value> | ||
<value>59076.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"SCISSORS, RULERS AND TRIMMERS"</value> | ||
<value>717918.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"STORAGE & ORGANIZATION"</value> | ||
<value>3920902.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"TABLES"</value> | ||
<value>8647254.0</value> | ||
</tuple> | ||
<tuple> | ||
<value>"TELEPHONES AND COMMUNICATION"</value> | ||
<value>8361507.0</value> | ||
</tuple> | ||
</table> | ||
</test> | ||
</results> |