Author: shawkins
Date: 2012-09-14 13:24:07 -0400 (Fri, 14 Sep 2012)
New Revision: 4448
Modified:
trunk/engine/src/test/java/org/teiid/query/processor/TestFunctionPushdown.java
Log:
TEIID-2188 expanding to execute the function method
Modified: trunk/engine/src/test/java/org/teiid/query/processor/TestFunctionPushdown.java
===================================================================
---
trunk/engine/src/test/java/org/teiid/query/processor/TestFunctionPushdown.java 2012-09-14
17:19:05 UTC (rev 4447)
+++
trunk/engine/src/test/java/org/teiid/query/processor/TestFunctionPushdown.java 2012-09-14
17:24:07 UTC (rev 4448)
@@ -159,8 +159,11 @@
//cannot pushdown
caps.setFunctionSupport(SourceSystemFunctions.CONCAT2, false);
- helpPlan(sql, metadata, null, capFinder,
+ ProcessorPlan plan = helpPlan(sql, metadata, null, capFinder,
new String[] {"SELECT g_0.e1 FROM pm1.g1 AS g_0"},
ComparisonMode.EXACT_COMMAND_STRING); //$NON-NLS-1$
+ HardcodedDataManager dataManager = new HardcodedDataManager();
+ dataManager.addData("SELECT g_0.e1 FROM pm1.g1 AS g_0", new List[]
{Arrays.asList("a"), Arrays.asList((String)null)});
+ TestProcessor.helpProcess(plan, dataManager, new List[]
{Arrays.asList("aa"), Arrays.asList((String)null)});
caps.setFunctionSupport(SourceSystemFunctions.CONCAT, true);
caps.setFunctionSupport(SourceSystemFunctions.IFNULL, true);
Show replies by date