public class Drill2288GetColumnsMetadataWhenNoRowsTest extends BaseTest
| Constructor and Description |
|---|
Drill2288GetColumnsMetadataWhenNoRowsTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpConnection() |
static void |
tearDownConnection() |
void |
testEmptyJsonFileDoesntSuppressNetSchema1()
Tests that an empty JSON file (having zero records) no longer triggers
breakage in schema propagation.
|
void |
testEmptyJsonFileDoesntSuppressNetSchema2() |
void |
testGetTablesZeroRowsByTableSchemaOrNameWorks()
(Failed before (because table schema and name tests are pushed down).)
|
void |
testInfoSchemaTablesZeroRowsBy_TABLE_CATALOG_works()
(Worked before (because TABLE_CATALOG test not pushed down).)
|
void |
testInfoSchemaTablesZeroRowsBy_TABLE_NAME_works()
(Failed before (because TABLE_NAME test is pushed down).)
|
void |
testInfoSchemaTablesZeroRowsBy_TABLE_SCHEMA_works()
Tests that an INFORMATION_SCHEMA.TABLES query that has zero rows because of
a (simple-enough) filter expression using column TABLE_SCHEMA (which
supports pushdown) still has all columns.
|
void |
testInfoSchemaTablesZeroRowsByLimitWorks()
(Worked before.)
|
void |
testInfoSchemaTablesZeroRowsByWhereFalseWorks()
(Worked before.)
|
public Drill2288GetColumnsMetadataWhenNoRowsTest()
public static void setUpConnection()
throws SQLException
SQLExceptionpublic static void tearDownConnection()
throws SQLException
SQLExceptionpublic void testEmptyJsonFileDoesntSuppressNetSchema1()
throws Exception
Exceptionpublic void testEmptyJsonFileDoesntSuppressNetSchema2()
throws Exception
Exceptionpublic void testInfoSchemaTablesZeroRowsBy_TABLE_SCHEMA_works()
throws Exception
Exceptionpublic void testInfoSchemaTablesZeroRowsBy_TABLE_CATALOG_works()
throws Exception
Exceptionpublic void testInfoSchemaTablesZeroRowsBy_TABLE_NAME_works()
throws Exception
Exceptionpublic void testInfoSchemaTablesZeroRowsByLimitWorks()
throws Exception
Exceptionpublic void testInfoSchemaTablesZeroRowsByWhereFalseWorks()
throws Exception
ExceptionCopyright © 2021 The Apache Software Foundation. All rights reserved.