Repository: carbondata Updated Branches: refs/heads/streaming_ingest 3713ebb21 -> 1f4aa98ee (forced update)
http://git-wip-us.apache.org/repos/asf/carbondata/blob/588f009e/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/Vector2TestCase.scala ---------------------------------------------------------------------- diff --git a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/Vector2TestCase.scala b/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/Vector2TestCase.scala index 21423f1..52537c6 100644 --- a/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/Vector2TestCase.scala +++ b/integration/spark-common-cluster-test/src/test/scala/org/apache/carbondata/cluster/sdv/generated/Vector2TestCase.scala @@ -32,7 +32,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check select all records with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_071", Include) { + test("Vector2-TC_071", Include) { sql(s"""CREATE TABLE uniqdatavector2 (CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 int) STORED BY 'carbondata'""").collect sql(s"""LOAD DATA INPATH '$resourcesPath/Data/uniqdata/2000_UniqData.csv' into table uniqdatavector2 OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1')""").collect sql(s"""select * from uniqdatavector2 """).collect @@ -42,7 +42,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check random measure select query with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_072", Include) { + test("Vector2-TC_072", Include) { sql(s"""select cust_name,DOB,DOJ from uniqdatavector2 where cust_id=10999""").collect @@ -51,7 +51,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check select random columns and order with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_073", Include) { + test("Vector2-TC_073", Include) { sql(s"""create table double1(id double, name string) STORED BY 'org.apache.carbondata.format' """).collect sql(s"""load data inpath '$resourcesPath/Data/InsertData/maxrange_double.csv' into table double1""").collect sql(s"""select id from double1 order by id""").collect @@ -61,7 +61,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check the logs of executor with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_074", Include) { + test("Vector2-TC_074", Include) { sql(s"""select id from double1 order by id""").collect @@ -70,7 +70,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check for select random measures with group by and having clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_075", Include) { + test("Vector2-TC_075", Include) { sql(s"""select id,count(*) from double1 group by id having count(*)=1""").collect @@ -79,7 +79,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check for select count query with group by and having clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_076", Include) { + test("Vector2-TC_076", Include) { sql(s"""select id,count(id) from double1 group by id having count(*)=1""").collect @@ -88,7 +88,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To applied cast method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_077", Include) { + test("Vector2-TC_077", Include) { sql(s"""CREATE TABLE uniqdatavector22 (CUST_ID int,CUST_NAME String,ACTIVE_EMUI_VERSION string, DOB timestamp, DOJ timestamp, BIGINT_COLUMN1 bigint,BIGINT_COLUMN2 bigint,DECIMAL_COLUMN1 decimal(30,10), DECIMAL_COLUMN2 decimal(36,10),Double_COLUMN1 double, Double_COLUMN2 double,INTEGER_COLUMN1 int) STORED BY 'carbondata'""").collect sql(s"""LOAD DATA INPATH '$resourcesPath/Data/uniqdata/2000_UniqData.csv' into table uniqdatavector22 OPTIONS('DELIMITER'=',' , 'QUOTECHAR'='"','BAD_RECORDS_ACTION'='FORCE','FILEHEADER'='CUST_ID,CUST_NAME,ACTIVE_EMUI_VERSION,DOB,DOJ,BIGINT_COLUMN1,BIGINT_COLUMN2,DECIMAL_COLUMN1,DECIMAL_COLUMN2,Double_COLUMN1,Double_COLUMN2,INTEGER_COLUMN1')""").collect sql(s"""select cast(Double_COLUMN1 as int) from uniqdatavector22""").collect @@ -98,7 +98,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply sum method on a column with select query with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_078", Include) { + test("Vector2-TC_078", Include) { sql(s"""select sum(CUST_ID) from uniqdatavector22""").collect @@ -107,7 +107,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply the average method on a column with select query with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_079", Include) { + test("Vector2-TC_079", Include) { sql(s"""select avg(CUST_ID) from uniqdatavector22""").collect @@ -116,7 +116,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply the percentile_approx method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_080", Include) { + test("Vector2-TC_080", Include) { sql(s"""select percentile_approx(1, 0.5 ,500) from uniqdatavector22""").collect @@ -125,7 +125,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply the var_samp method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_081", Include) { + test("Vector2-TC_081", Include) { sql(s"""select var_samp(cust_id) from uniqdatavector22""").collect @@ -134,7 +134,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply the stddev_pop method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_082", Include) { + test("Vector2-TC_082", Include) { sql(s"""select stddev_pop(cust_id) from uniqdatavector22""").collect @@ -143,7 +143,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply the stddev_samp method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_083", Include) { + test("Vector2-TC_083", Include) { sql(s"""select stddev_samp(cust_id) from uniqdatavector22""").collect @@ -152,7 +152,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply percentile method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_084", Include) { + test("Vector2-TC_084", Include) { sql(s"""select percentile(0,1) from uniqdatavector22""").collect @@ -161,7 +161,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply min method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_085", Include) { + test("Vector2-TC_085", Include) { sql(s"""select min(CUST_ID) from uniqdatavector22""").collect @@ -170,7 +170,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To applied max method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_086", Include) { + test("Vector2-TC_086", Include) { sql(s"""select max(CUST_ID) from uniqdatavector22""").collect @@ -179,7 +179,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply sum method with plus operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_087", Include) { + test("Vector2-TC_087", Include) { sql(s"""select sum(CUST_ID+1) from uniqdatavector22""").collect @@ -189,7 +189,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply sum method with minus operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_088", Include) { + test("Vector2-TC_088", Include) { sql(s"""select sum(CUST_ID-1) from uniqdatavector22""").collect @@ -198,7 +198,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply count method with distinct operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_089", Include) { + test("Vector2-TC_089", Include) { sql(s"""select count(DISTINCT CUST_ID) from uniqdatavector22""").collect @@ -207,7 +207,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check random measure select query with AND operator and vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_090", Include) { + test("Vector2-TC_090", Include) { sql(s"""select cust_name,DOB,DOJ from uniqdatavector22 where cust_id=10999 and INTEGER_COLUMN1=2000 """).collect @@ -216,7 +216,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To check random measure select query with OR operator and vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_091", Include) { + test("Vector2-TC_091", Include) { sql(s"""select cust_name,DOB,DOJ from uniqdatavector22 where cust_id=10999 or INTEGER_COLUMN1=2000 """).collect @@ -225,7 +225,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply count method with if operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_092", Include) { + test("Vector2-TC_092", Include) { sql(s"""select count(if(CUST_ID<1999,NULL,CUST_NAME)) from uniqdatavector22""").collect @@ -234,7 +234,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply in operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_093", Include) { + test("Vector2-TC_093", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID IN(1,22)""").collect @@ -243,7 +243,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply not in operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_094", Include) { + test("Vector2-TC_094", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID NOT IN(1,22)""").collect @@ -252,7 +252,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply between operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_095", Include) { + test("Vector2-TC_095", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID BETWEEN 1 AND 11000""").collect @@ -261,7 +261,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply not between operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_096", Include) { + test("Vector2-TC_096", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID NOT BETWEEN 1 AND 11000""").collect @@ -270,7 +270,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply between in operator with order by clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_097", Include) { + test("Vector2-TC_097", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID in (1,10999)order by 'CUST_ID'""").collect @@ -279,7 +279,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply between in operator with group by clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_098", Include) { + test("Vector2-TC_098", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID in (1,10999) group by CUST_NAME""").collect @@ -288,7 +288,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply null clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_099", Include) { + test("Vector2-TC_099", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID is null""").collect @@ -297,7 +297,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To applied not null clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_100", Include) { + test("Vector2-TC_100", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID is not null""").collect @@ -306,7 +306,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply > operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_101", Include) { + test("Vector2-TC_101", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID>1""").collect @@ -315,7 +315,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply < operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_102", Include) { + test("Vector2-TC_102", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID<1""").collect @@ -324,7 +324,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply != operator with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_103", Include) { + test("Vector2-TC_103", Include) { sql(s"""select CUST_NAME from uniqdatavector22 where CUST_ID!=1""").collect @@ -333,7 +333,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply like clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_104", Include) { + test("Vector2-TC_104", Include) { sql(s"""select CUST_ID from uniqdatavector22 where CUST_ID like 10999""").collect @@ -342,7 +342,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply like% clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_105", Include) { + test("Vector2-TC_105", Include) { sql(s"""select CUST_ID from uniqdatavector22 where CUST_ID like '%10999%'""").collect @@ -351,7 +351,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply rlike clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_106", Include) { + test("Vector2-TC_106", Include) { sql(s"""select CUST_ID from uniqdatavector22 where CUST_ID rlike 10999""").collect @@ -360,7 +360,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply rlike% clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_107", Include) { + test("Vector2-TC_107", Include) { sql(s"""select CUST_ID from uniqdatavector22 where CUST_ID rlike '%10999'""").collect @@ -369,7 +369,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply alias clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_108", Include) { + test("Vector2-TC_108", Include) { sql(s"""select count(cust_id)+10.364 as a from uniqdatavector22""").collect @@ -378,7 +378,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply aliase clause with group by clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_109", Include) { + test("Vector2-TC_109", Include) { sql(s"""select count(cust_id)+10.364 as a from uniqdatavector22 group by CUST_ID""").collect @@ -387,7 +387,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply aliase clause with order by clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_110", Include) { + test("Vector2-TC_110", Include) { sql(s"""select cust_id,count(cust_name) a from uniqdatavector22 group by cust_id order by cust_id""").collect @@ -396,7 +396,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply regexp_replace clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_111", Include) { + test("Vector2-TC_111", Include) { sql(s"""select regexp_replace(cust_id, 'i', 'ment') from uniqdatavector22""").collect @@ -405,7 +405,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply date_add method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_118", Include) { + test("Vector2-TC_118", Include) { sql(s"""SELECT date_add(DOB,1) FROM uniqdatavector22""").collect @@ -414,7 +414,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply date_sub method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_119", Include) { + test("Vector2-TC_119", Include) { sql(s"""SELECT date_sub(DOB,1) FROM uniqdatavector22""").collect @@ -423,7 +423,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply current_date method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_120", Include) { + test("Vector2-TC_120", Include) { sql(s"""SELECT current_date() FROM uniqdatavector22""").collect @@ -432,7 +432,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply add_month method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_121", Include) { + test("Vector2-TC_121", Include) { sql(s"""SELECT add_months(dob,1) FROM uniqdatavector22""").collect @@ -441,7 +441,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply last_day method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_122", Include) { + test("Vector2-TC_122", Include) { sql(s"""SELECT last_day(dob) FROM uniqdatavector22""").collect @@ -450,7 +450,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply next_day method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_123", Include) { + test("Vector2-TC_123", Include) { sql(s"""SELECT next_day(dob,'monday') FROM uniqdatavector22""").collect @@ -459,7 +459,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply months_between method on carbon table - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_124", Include) { + test("Vector2-TC_124", Include) { sql(s"""select months_between('2016-12-28', '2017-01-30') from uniqdatavector22""").collect @@ -468,7 +468,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //Toapply date_diff method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_125", Include) { + test("Vector2-TC_125", Include) { sql(s"""select datediff('2009-03-01', '2009-02-27') from uniqdatavector22""").collect @@ -477,7 +477,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply concat method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_126", Include) { + test("Vector2-TC_126", Include) { sql(s"""SELECT concat('hi','hi') FROM uniqdatavector22""").collect @@ -486,7 +486,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply lower method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_127", Include) { + test("Vector2-TC_127", Include) { sql(s"""SELECT lower('H') FROM uniqdatavector22""").collect @@ -495,7 +495,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply substr method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_128", Include) { + test("Vector2-TC_128", Include) { sql(s"""select substr(cust_id,3) from uniqdatavector22""").collect @@ -504,7 +504,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply trim method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_129", Include) { + test("Vector2-TC_129", Include) { sql(s"""select trim(cust_id) from uniqdatavector22""").collect @@ -513,7 +513,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply split method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_130", Include) { + test("Vector2-TC_130", Include) { sql(s"""select split('knoldus','ol') from uniqdatavector22""").collect @@ -522,7 +522,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply split method limit clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_131", Include) { + test("Vector2-TC_131", Include) { sql(s"""select split('knoldus','ol') from uniqdatavector22 limit 1""").collect @@ -531,7 +531,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply reverse on carbon table with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_132", Include) { + test("Vector2-TC_132", Include) { sql(s"""select reverse('knoldus') from uniqdatavector22""").collect @@ -540,7 +540,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply replace on carbon table with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_133", Include) { + test("Vector2-TC_133", Include) { sql(s"""select regexp_replace('Tester', 'T', 't') from uniqdatavector22""").collect @@ -549,7 +549,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply replace with limit clause with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_134", Include) { + test("Vector2-TC_134", Include) { sql(s"""select regexp_replace('Tester', 'T', 't') from uniqdatavector22 limit 1""").collect @@ -558,7 +558,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply FORMAT_STRING on carbon table with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_135", Include) { + test("Vector2-TC_135", Include) { sql(s"""select format_string('data', cust_name) from uniqdatavector22""").collect @@ -567,7 +567,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply sentences method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_136", Include) { + test("Vector2-TC_136", Include) { sql(s"""select sentences(cust_name) from uniqdatavector22""").collect @@ -576,7 +576,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply space method on carbon table with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_137", Include) { + test("Vector2-TC_137", Include) { sql(s"""select space(10) from uniqdatavector22""").collect @@ -585,7 +585,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply rtrim method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_138", Include) { + test("Vector2-TC_138", Include) { sql(s"""select rtrim(" testing ") from uniqdatavector22""").collect @@ -594,7 +594,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply ascii method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_139", Include) { + test("Vector2-TC_139", Include) { sql(s"""select ascii('A') from uniqdatavector22""").collect @@ -603,7 +603,7 @@ class Vector2TestCase extends QueryTest with BeforeAndAfterAll { //To apply utc_timestamp method with vectorized carbon reader enabled - test("PTS-AR-Productize-New-Features-Huawei-Spark2.1-007-01-01-01_001-TC_140", Include) { + test("Vector2-TC_140", Include) { sql(s"""select from_utc_timestamp('2016-12-12 08:00:00','PST') from uniqdatavector22""").collect http://git-wip-us.apache.org/repos/asf/carbondata/blob/588f009e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 64accea..3540221 100644 --- a/pom.xml +++ b/pom.xml @@ -366,6 +366,8 @@ <append>true</append> <excludes> <exclude>**/*SparkUnknownExpression*.class</exclude> + <exclude>**/org/apache/carbondata/cluster/sdv/generated/*</exclude> + <exclude>**/org.apache.carbondata.cluster.sdv.generated.*</exclude> </excludes> <includes> <include>**/org.apache.*</include>