Package org.apache.calcite.sql.parser
Class SqlUnParserTest
- java.lang.Object
-
- org.apache.calcite.sql.parser.SqlParserTest
-
- org.apache.calcite.sql.parser.SqlUnParserTest
-
public class SqlUnParserTest extends SqlParserTest
Extension toSqlParserTest
which ensures that every expression can un-parse successfully.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.calcite.sql.parser.SqlParserTest
SqlParserTest.Sql, SqlParserTest.Tester, SqlParserTest.TesterImpl, SqlParserTest.UnparsingTesterImpl
-
-
Field Summary
-
Fields inherited from class org.apache.calcite.sql.parser.SqlParserTest
conformance, quotedCasing, quoting, unquotedCasing
-
-
Constructor Summary
Constructors Constructor Description SqlUnParserTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SqlParserTest.Tester
getTester()
protected boolean
isUnparserTest()
Whether this is a sub-class that tests un-parsing as well as parsing.-
Methods inherited from class org.apache.calcite.sql.parser.SqlParserTest
check, checkExp, checkExpFails, checkExpSame, checkFails, checkPeriodPredicate, getReservedKeywords, getSqlParser, getSqlParser, isDdl, isReserved, keywords, parserImplFactory, sql, subTestIntervalDayFailsValidation, subTestIntervalDayPositive, subTestIntervalDayToHourFailsValidation, subTestIntervalDayToHourPositive, subTestIntervalDayToMinuteFailsValidation, subTestIntervalDayToMinutePositive, subTestIntervalDayToSecondFailsValidation, subTestIntervalDayToSecondPositive, subTestIntervalHourFailsValidation, subTestIntervalHourPositive, subTestIntervalHourToMinuteFailsValidation, subTestIntervalHourToMinutePositive, subTestIntervalHourToSecondFailsValidation, subTestIntervalHourToSecondPositive, subTestIntervalMinuteFailsValidation, subTestIntervalMinutePositive, subTestIntervalMinuteToSecondFailsValidation, subTestIntervalMinuteToSecondPositive, subTestIntervalMonthFailsValidation, subTestIntervalMonthPositive, subTestIntervalSecondFailsValidation, subTestIntervalSecondPositive, subTestIntervalYearFailsValidation, subTestIntervalYearPositive, subTestIntervalYearToMonthFailsValidation, subTestIntervalYearToMonthPositive, testAddCarets, testAggregateFilter, testAliasedStar, testAll, testAllList, testApply, testArithmeticOperators, testArrayElement, testArrayElementWithDot, testArrayValueConstructor, testAs, testAsAliases, testBackTickIdentifier, testBackTickQuery, testBangEqualIsBad, testBetween, testBetweenAnd, testBetweenAnd2, testBitStringNotImplemented, testBooleanPrecedenceAndAssociativity, testBracketIdentifier, testCardinalityFunc, testCaseExpression, testCaseExpressionFails, testCast, testCastFails, testCastToInterval, testCastToVarchar, testCatalogSchemaTableStar, testCeil, testCharLength, testCoalesce, testCollectionTable, testCollectionTableWithColumnListParam, testCollectionTableWithCursorParam, testCollectionTableWithLateral, testCollectionTableWithLateral2, testCollectionTableWithLateral3, testColumnAliasWithAs, testColumnAliasWithoutAs, testCompoundStar, testConcat, testContinuedLiteral, testConvertAndTranslate, testCrossOuterApply, testDateLiteral, testDateMinusDate, testDateTimeCast, testDefault, testDelete, testDeleteWhere, testDerivedColumnList, testDerivedColumnListInJoin, testDerivedColumnListNoAs, testDescribeSchema, testDescribeStatement, testDescribeTable, testElementFunc, testEmbeddedCall, testEmbeddedDate, testEmbeddedFunction, testEmbeddedTime, testEmbeddedTimestamp, testEmptyValues, testEqualNotEqual, testExcept, testExceptionCleanup, testExists, testExistsInWhere, testExplain, testExplainAsJson, testExplainAsXml, testExplainInsert, testExplainUpsert, testExplainWithImpl, testExplainWithoutImpl, testExplainWithType, testExplicitTable, testExplicitTableInJoin, testExplicitTableOrdered, testExtract, testFloor, testFoo, testFromValues, testFromValuesWithoutParens, testFromWithAs, testFullInnerJoinFails, testFullOuterJoin, testFunction, testFunctionCallWithDot, testFunctionDefaultArgument, testFunctionInFunction, testFunctionNamedArgument, testFunctionWithDistinct, testGenerateKeyWords, testGeometry, testGroup, testGroupByCube, testGroupByCube2, testGroupByRollup, testGroupEmpty, testGrouping, testGroupingSets, testHavingAfterGroup, testHavingBeforeGroupFails, testHavingNoGroup, testHexAndBinaryString, testHexAndBinaryStringFails, testIdentifier, testIllegalCursors, testIllegalUnicodeEscape, testInList, testInListEmptyFails, testInnerOuterJoinFails, testInQuery, testInQueryWithComma, testInsertCaseSensitiveColumnList, testInsertCaseSensitiveExtendedColumnList, testInsertColumnList, testInsertExtendedColumnList, testInsertSelect, testInsertUnion, testInsertValues, testInsertValuesDefault, testInsertValuesRawDefault, testInSetop, testIntersect, testIntervalArithmetics, testIntervalCompare, testIntervalLiterals, testIntervalOperators, testInvalidToken, testIsASet, testIsBooleanPrecedenceAndAssociativity, testIsBooleans, testIsDistinctFrom, testIsNotDistinct, testJdbcFunctionCall, testJoinAssociativity, testJoinCross, testJoinOn, testJoinOnParentheses, testJoinOnParenthesesPlus, testJoinQuery, testJoinUsing, testJsonArray, testJsonArrayAgg, testJsonExists, testJsonObject, testJsonObjectAgg, testJsonPredicate, testJsonQuery, testJsonValue, testLateral, testLessThanAssociativity, testLikeAndSimilar, testLimit, testLimitOffsetWithoutOrder, testLimitStartCount, testLimitUnion, testLimitWithoutOrder, testLiteral, testLiteralCollate, testLongIdentifiers, testMapItem, testMapItemPrecedence, testMapValueConstructor, testMatchRecognize1, testMatchRecognize10, testMatchRecognize11, testMatchRecognize2, testMatchRecognize3, testMatchRecognize4, testMatchRecognize5, testMatchRecognize6, testMatchRecognize7, testMatchRecognize8, testMatchRecognize9, testMatchRecognizeDefineClause, testMatchRecognizeDefineClause2, testMatchRecognizeDefineClause3, testMatchRecognizeDefineClause4, testMatchRecognizeMeasures1, testMatchRecognizeMeasures2, testMatchRecognizeMeasures3, testMatchRecognizeMeasures4, testMatchRecognizeMeasures5, testMatchRecognizeMeasures6, testMatchRecognizePatternSkip1, testMatchRecognizePatternSkip2, testMatchRecognizePatternSkip3, testMatchRecognizePatternSkip4, testMatchRecognizePatternSkip5, testMatchRecognizeRowsPerMatch1, testMatchRecognizeRowsPerMatch2, testMatchRecognizeSubset1, testMatchRecognizeSubset2, testMatchRecognizeSubset3, testMatchRecognizeWithin, testMemberOf, testMergeSelectSource, testMergeTableRefSource, testMetadata, testMinusIsReserved, testMinusPrefixInExpression, testMiscIntervalQualifier, testMixedFrom, testMixedStar, testMultilineComment, testMultiset, testMultisetCast, testMultisetExcept, testMultisetIntersect, testMultisetMixed, testMultisetUnion, testNaturalCrossJoin, testNestedSelect, testNewSpecification, testNot, testNotExists, testNoUnintendedNewReservedKeywords, testNullIf, testOperateOnColumn, testOrder, testOrderIllegalInExpression, testOrderInternal, testOrderNullsFirst, testOrderOffsetFetch, testOrderUnion, testOuterApply, testOuterApplyFunctionFails, testOuterApplySubQuery, testOuterApplyValues, testOuterJoinNoiseWord, testOver, testOverlaps, testOverlay, testParensInFrom, testParseNumber, testParseNumberFails, testParseWithReader, testPeriod, testPosition, testPrecedence0, testPrecedence1, testPrecedence2, testPrecedence2b, testPrecedence3, testPrecedence4, testPrecedence5, testPrecedenceSetOps, testProcedureCall, testQueryInFrom, testQueryInIllegalContext, testQuotedFunction, testQuotesInString, testReplace, testReverseSolidus, testRow, testRowWitDot, testScalarQueryInSelect, testScalarQueryInWhere, testSchemaTableStar, testSelectAll, testSelectDistinct, testSelectDistinctWithoutFrom, testSelectFromBareExplicitTableFails, testSelectFromExplicitTable, testSelectIsNotDdl, testSelectList, testSelectList3, testSelectList4, testSelectStream, testSelectStreamDistinct, testSelectWithoutFrom, testSelectWithoutFrom2, testSelectWithoutFromGroupByFails, testSelectWithoutFromHavingFails, testSelectWithoutFromWhereFails, testSequence, testSetMinus, testSome, testSqlInlineComment, testSqlOptions, testStar, testStarAsFails, testStringLiteral, testStringLiteralChain, testStringLiteralFails, testSubMultisetrOf, testSubQueryInJoin, testSubstring, testTableExtend, testTableSample, testTabStop, testTimeDate, testTimestampAdd, testTimestampAddAndDiff, testTimestampDiff, testTranslate3, testTrim, testUnicodeEscapedLiteral, testUnicodeLiteral, testUnion, testUnionOfNonQueryFails, testUnionOrder, testUnnest, testUnnestWithOrdinality, testUnparseableIntervalQualifiers, testUpdate, testUpdateCaseSensitiveExtendedColumnList, testUpdateExtendedColumnList, testUpsertSelect, testUpsertValues, testValues, testValuesExplicitRow, testWhere, testWindowInSubQuery, testWindowReference, testWindowSpec, testWindowSpecPartial, testWith, testWith2, testWithFails, testWithinGroupClause1, testWithinGroupClause2, testWithinGroupClause3, testWithinGroupClause4, testWithinGroupClause5, testWithNestedFails, testWithNestedInSubQuery, testWithUnion, testWithValues
-
-
-
-
Method Detail
-
getTester
protected SqlParserTest.Tester getTester()
- Overrides:
getTester
in classSqlParserTest
-
isUnparserTest
protected boolean isUnparserTest()
Description copied from class:SqlParserTest
Whether this is a sub-class that tests un-parsing as well as parsing.- Overrides:
isUnparserTest
in classSqlParserTest
-
-