You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ravindra Pesala (JIRA)" <ji...@apache.org> on 2018/02/03 10:24:00 UTC

[jira] [Updated] (CARBONDATA-2072) Add dropTables method for optimizing drop table operation in test cases

     [ https://issues.apache.org/jira/browse/CARBONDATA-2072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravindra Pesala updated CARBONDATA-2072:
----------------------------------------
    Fix Version/s:     (was: 1.3.0)
                   1.4.0

> Add dropTables method for optimizing drop table operation in test cases
> -----------------------------------------------------------------------
>
>                 Key: CARBONDATA-2072
>                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2072
>             Project: CarbonData
>          Issue Type: Test
>          Components: test
>    Affects Versions: 1.3.0
>            Reporter: xubo245
>            Assignee: xubo245
>            Priority: Minor
>             Fix For: 1.4.0
>
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> There are many drop table in beforeAll or afterAll of test cases,like this:
> {code:java}
>  override def afterAll {
>     sql("drop table if exists load")
>     sql("drop table if exists inser")
>     sql("DROP TABLE IF EXISTS THive")
>     sql("DROP TABLE IF EXISTS TCarbon")
>     sql("drop table if exists TCarbonLocal")
>     sql("drop table if exists TCarbonSource")
>     sql("drop table if exists loadtable")
>     sql("drop table if exists insertTable")
>     sql("drop table if exists CarbonDest")
>     sql("drop table if exists HiveDest")
>     sql("drop table if exists CarbonOverwrite")
>     sql("drop table if exists HiveOverwrite")
>     sql("drop table if exists tcarbonsourceoverwrite")
>     sql("drop table if exists carbon_table1")
>     sql("drop table if exists carbon_table")
>     sql("DROP TABLE IF EXISTS student")
>     sql("DROP TABLE IF EXISTS uniqdata")
>     sql("DROP TABLE IF EXISTS show_insert")
>     sql("drop table if exists OverwriteTable_t1")
>     sql("drop table if exists OverwriteTable_t2")
> }
> {code}
> in org.apache.carbondata.spark.testsuite.allqueries.InsertIntoCarbonTableTestCase
> It can be optimized by a public method in QueryTest



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)