public class TestPreparedStatementProvider extends PreparedStatementTestBase
PreparedStatementTestBase.ExpectedColumnResultBaseTestQuery.ClassicTestServices, BaseTestQuery.SilentListener, BaseTestQuery.TestResultSetDrillTest.MemWatcherallocator, bits, client, config, serviceSetc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException, TIMEOUT| Constructor and Description |
|---|
TestPreparedStatementProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
groupByQuery()
Create a prepared statement for a query that has GROUP BY clause in it
|
void |
invalidQueryParserError()
Pass an invalid query to the create prepare statement request and expect a parser failure.
|
void |
invalidQueryValidationError()
Pass an invalid query to the create prepare statement request and expect a validation failure.
|
void |
joinOrderByQuery()
Create a prepared statement for a query that joins two tables and has ORDER BY clause.
|
void |
simple()
Simple query.
|
createPrepareStmt, verifyMetadataalterSession, cloneDefaultTestConfigProperties, closeClient, errorMsgTestHelper, getAllocator, getDrillbitContext, getFile, getPhysicalFileFromResource, getResultString, getUserPort, logResult, newTest, parseErrorHelper, printResult, resetAllSessionOptions, resetDrillbitCount, resetSessionOption, runSQL, setColumnWidth, setColumnWidths, setSessionOption, setSessionOption, setSessionOption, setSessionOption, setupDefaultTestCluster, test, test, testBuilder, testLogicalWithResults, testNoResult, testNoResult, testPhysical, testPhysicalFromFile, testPhysicalWithResults, testPreparedStatement, testRunAndPrint, testRunAndReturn, testSql, testSqlWithResults, testWithListener, updateClient, updateClient, updateClient, updateTestCluster, updateTestClusterclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic void groupByQuery()
throws Exception
Exceptionpublic void joinOrderByQuery()
throws Exception
Exceptionpublic void invalidQueryParserError()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.