Package org.apache.calcite.test
Class SqlValidatorMatchTest
- java.lang.Object
-
- org.apache.calcite.test.SqlValidatorTestCase
-
- org.apache.calcite.test.SqlValidatorMatchTest
-
public class SqlValidatorMatchTest extends SqlValidatorTestCase
Validation tests for theMATCH_RECOGNIZE
clause.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.test.SqlValidatorTestCase
SqlValidatorTestCase.Sql, SqlValidatorTestCase.Tester
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.test.SqlValidatorTestCase
EXTENDED_CATALOG_TESTER, EXTENDED_CATALOG_TESTER_2003, EXTENDED_CATALOG_TESTER_LENIENT, tester, TESTER_CONFIGURATION_RULE
-
-
Constructor Summary
Constructors Constructor Description SqlValidatorMatchTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testMatchRecognizeDefines()
void
testMatchRecognizeDefines2()
void
testMatchRecognizeDefines3()
void
testMatchRecognizeDefines4()
void
testMatchRecognizeDefines5()
void
testMatchRecognizeDefines6()
void
testMatchRecognizeInternals()
Tries to create a calls to some internal operators in MATCH_RECOGNIZE.void
testMatchRecognizeMeasures1()
void
testMatchRecognizeSkipTo1()
void
testMatchRecognizeSkipTo2()
void
testMatchRecognizeSkipTo3()
void
testMatchRecognizeSkipToCaseInsensitive()
void
testMatchRecognizeSubset()
void
testMatchRecognizeSubset2()
void
testMatchRecognizeWithin()
void
testMatchRecognizeWithin2()
-
Methods inherited from class org.apache.calcite.test.SqlValidatorTestCase
assertExceptionIsThrown, check, checkCharset, checkCollation, checkColumnType, checkEx, checkExp, checkExpFails, checkExpType, checkFails, checkIntervalConv, checkResultType, checkWholeExpFails, expr, getTester, sql, win, winExp, winExp2, winSql
-
-
-
-
Method Detail
-
testMatchRecognizeInternals
public void testMatchRecognizeInternals() throws java.lang.Exception
Tries to create a calls to some internal operators in MATCH_RECOGNIZE. Should fail.- Throws:
java.lang.Exception
-
testMatchRecognizeDefines
public void testMatchRecognizeDefines() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeDefines2
public void testMatchRecognizeDefines2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeDefines3
public void testMatchRecognizeDefines3() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeDefines4
public void testMatchRecognizeDefines4() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeDefines5
public void testMatchRecognizeDefines5() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeDefines6
public void testMatchRecognizeDefines6() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeMeasures1
public void testMatchRecognizeMeasures1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeSkipTo1
public void testMatchRecognizeSkipTo1() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeSkipTo2
public void testMatchRecognizeSkipTo2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeSkipTo3
public void testMatchRecognizeSkipTo3() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeSkipToCaseInsensitive
public void testMatchRecognizeSkipToCaseInsensitive() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeSubset
public void testMatchRecognizeSubset() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeSubset2
public void testMatchRecognizeSubset2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeWithin
public void testMatchRecognizeWithin() throws java.lang.Exception
- Throws:
java.lang.Exception
-
testMatchRecognizeWithin2
public void testMatchRecognizeWithin2() throws java.lang.Exception
- Throws:
java.lang.Exception
-
-