Author: shawkins
Date: 2010-06-21 16:28:17 -0400 (Mon, 21 Jun 2010)
New Revision: 2270
Modified:
branches/7.0.x/engine/src/test/java/org/teiid/query/validator/TestValidator.java
Log:
TEIID-171 ensuring that xmlagg is not pushed down and correcting the validation.
Modified:
branches/7.0.x/engine/src/test/java/org/teiid/query/validator/TestValidator.java
===================================================================
---
branches/7.0.x/engine/src/test/java/org/teiid/query/validator/TestValidator.java 2010-06-21
20:26:14 UTC (rev 2269)
+++
branches/7.0.x/engine/src/test/java/org/teiid/query/validator/TestValidator.java 2010-06-21
20:28:17 UTC (rev 2270)
@@ -2038,5 +2038,9 @@
@Test public void testDecode() throws Exception {
helpValidate("select to_bytes(e1, '?') from pm1.g1", new String[]
{"to_bytes(e1, '?')"}, FakeMetadataFactory.example1Cached());
}
+
+ @Test public void testValidateXMLAGG() {
+ helpValidate("SELECT XMLAGG(e1) from pm1.g1", new String[]
{"XMLAGG(e1)"}, FakeMetadataFactory.example1Cached()); //$NON-NLS-1$
//$NON-NLS-2$
+ }
}
Show replies by date