public class Drill2769UnsupportedReportsUseSqlExceptionTest extends JdbcTestBase
As of 2015-08-24, Drill's version of Avatica used non-SQLException exception class to report that methods/features were not implemented.
5 UnsupportedOperationException in ArrayImpl 29 UnsupportedOperationException in AvaticaConnection 10 Helper.todo() (RuntimeException) in AvaticaDatabaseMetaData 21 UnsupportedOperationException in AvaticaStatement 4 UnsupportedOperationException in AvaticaPreparedStatement 103 UnsupportedOperationException in AvaticaResultSet
JdbcTestBase.ModelAndSchema, JdbcTestBase.TestDataConnectionDrillTest.MemWatcher| Modifier and Type | Field and Description |
|---|---|
org.junit.rules.TestRule |
TIMEOUT |
watcherc, dirTestWatcher, optionManagerlogOutcome, objectMapper, REPEAT_RULE, thrownException| Constructor and Description |
|---|
Drill2769UnsupportedReportsUseSqlExceptionTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpObjects() |
static void |
tearDownConnection() |
void |
testConnectionMethodsThrowRight() |
void |
testDatabaseMetaDataMethodsThrowRight() |
void |
testPlainStatementMethodsThrowRight() |
void |
testPreparedStatementMethodsThrowRight() |
void |
testResultSetMetaDataMethodsThrowRight() |
void |
testResultSetMethodsThrowRight() |
changeSchema, changeSchemaIfSupplied, connect, connect, connect, getDefaultProperties, reset, setUpTestCase, tearDownTestCase, testJdbcTestConnectionResettingCompatibility, toString, toString, withFull, withModel, withNoDefaultSchemaclear, getLocalFileSystem, mockDrillbitContext, mockUsDateFormatSymbols, mockUtcDateTimeZone, parseExpr, setupOptionManagerescapeJsonString, finishDrillTest, initDrillTestpublic Drill2769UnsupportedReportsUseSqlExceptionTest()
public void testConnectionMethodsThrowRight()
public void testPlainStatementMethodsThrowRight()
public void testPreparedStatementMethodsThrowRight()
public void testResultSetMethodsThrowRight()
public void testResultSetMetaDataMethodsThrowRight()
public void testDatabaseMetaDataMethodsThrowRight()
Copyright © 2021 The Apache Software Foundation. All rights reserved.