carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [38/38] incubator-carbondata git commit: [CARBONDATA-601]reuse test case for integration module This closes #481
Date Sat, 07 Jan 2017 16:37:12 GMT
[CARBONDATA-601]reuse test case for integration module This closes #481


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/49727a27
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/49727a27
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/49727a27

Branch: refs/heads/master
Commit: 49727a273c46b7bd8c896a2177be0c2ea14134f7
Parents: b0750c1 af2f204
Author: jackylk <jacky.likun@huawei.com>
Authored: Sun Jan 8 00:35:50 2017 +0800
Committer: jackylk <jacky.likun@huawei.com>
Committed: Sun Jan 8 00:35:50 2017 +0800

----------------------------------------------------------------------
 .../scan/expression/ExpressionResult.java       |    3 +
 integration/spark-common-test/pom.xml           |  232 ++++
 .../spark/load/CarbonLoaderUtilTest.java        |  419 +++++++
 .../validation/FileFooterValidator.java         |  157 +++
 .../src/test/resources/100_olap.csv             |   99 ++
 .../src/test/resources/10dim_4msr.csv           | 1000 +++++++++++++++
 .../src/test/resources/IUD/T_Hive1.csv          |   10 +
 .../src/test/resources/IUD/comp1.csv            |   11 +
 .../src/test/resources/IUD/comp2.csv            |   11 +
 .../src/test/resources/IUD/comp3.csv            |   11 +
 .../src/test/resources/IUD/comp4.csv            |   11 +
 .../src/test/resources/IUD/dest.csv             |    6 +
 .../src/test/resources/IUD/other.csv            |    3 +
 .../src/test/resources/IUD/sample.csv           |    4 +
 .../src/test/resources/IUD/sample_updated.csv   |    2 +
 .../src/test/resources/IUD/source2.csv          |    3 +
 .../src/test/resources/IUD/source3.csv          |    7 +
 .../src/test/resources/IUD/update01.csv         |    6 +
 .../src/test/resources/OLDFORMATTABLE.csv       |   34 +
 .../src/test/resources/OLDFORMATTABLEHIVE.csv   |   33 +
 .../test/resources/Test_Data1_Logrithmic.csv    |    3 +
 .../src/test/resources/alldatatypescube.xml     |  109 ++
 .../20160423/1400_1405/complex.dictionary       |   20 +
 .../sample/20160423/1400_1405/sample.dictionary |    9 +
 .../src/test/resources/array1.csv               |    2 +
 .../src/test/resources/arrayColumnEmpty.csv     |   21 +
 .../src/test/resources/avgTest.csv              |   16 +
 .../test/resources/badrecords/datasample.csv    |    7 +
 .../badrecords/emptyTimeStampValue.csv          |    8 +
 .../test/resources/badrecords/emptyValues.csv   |    8 +
 .../badrecords/insufficientColumns.csv          |    4 +
 .../resources/badrecords/seriazableValue.csv    |    3 +
 .../src/test/resources/bigIntData.csv           |   14 +
 .../src/test/resources/bigIntDataWithHeader.csv |   13 +
 .../test/resources/bigIntDataWithoutHeader.csv  |   12 +
 .../src/test/resources/big_int_Decimal.csv      |    3 +
 .../src/test/resources/channelsId.csv           |   10 +
 .../src/test/resources/character_carbon.csv     |   33 +
 .../src/test/resources/character_hive.csv       |   32 +
 .../test/resources/columndictionary/country.csv |    5 +
 .../test/resources/columndictionary/name.csv    |   10 +
 .../src/test/resources/comment.csv              |    5 +
 .../test/resources/compaction/compaction1.csv   |    6 +
 .../compaction/compaction1_forhive.csv          |    5 +
 .../test/resources/compaction/compaction2.csv   |    6 +
 .../test/resources/compaction/compaction3.csv   |    6 +
 .../resources/compaction/compactioncard2.csv    |  257 ++++
 .../compaction/compactioncard2_forhive.csv      |  256 ++++
 .../src/test/resources/complexTypeDecimal.csv   |    9 +
 .../test/resources/complexTypeDecimalNested.csv |    9 +
 .../resources/complexTypeDecimalNestedHive.csv  |    8 +
 .../src/test/resources/complexdata.csv          |  100 ++
 .../src/test/resources/complexdata1.csv         |   54 +
 .../src/test/resources/complexdata2.csv         |   46 +
 .../src/test/resources/complexdatareordered.csv |   10 +
 .../test/resources/complexdatastructextra.csv   |   10 +
 .../complextypediffentcolheaderorder.csv        |  100 ++
 .../src/test/resources/complextypesample.csv    |   50 +
 .../complextypespecialchardelimiter.csv         |   50 +
 .../src/test/resources/data.csv                 |   11 +
 .../src/test/resources/data2.csv                |    4 +
 .../src/test/resources/data2_DiffTimeFormat.csv |    4 +
 .../src/test/resources/dataDiff.csv             | 1001 +++++++++++++++
 .../src/test/resources/dataIncrement.csv        |   21 +
 .../src/test/resources/dataWithEmptyRows.csv    |    2 +
 .../test/resources/dataWithNullFirstLine.csv    |   11 +
 .../src/test/resources/dataWithSingleQuote.csv  |    7 +
 .../src/test/resources/data_alltypes.csv        |   10 +
 .../src/test/resources/data_withCAPSHeader.csv  |    3 +
 .../src/test/resources/data_withMixedHeader.csv |    3 +
 .../src/test/resources/datadelimiter.csv        |   11 +
 .../src/test/resources/datanullmeasurecol.csv   |    3 +
 .../src/test/resources/dataretention1.csv       |   11 +
 .../src/test/resources/dataretention2.csv       |   11 +
 .../src/test/resources/dataretention3.csv       |   11 +
 .../src/test/resources/datasample.csv           |    4 +
 .../src/test/resources/datasamplecomplex.csv    |    2 +
 .../src/test/resources/datasamplefordate.csv    |    4 +
 .../src/test/resources/datasamplenull.csv       |    3 +
 .../src/test/resources/datasingleCol.csv        |    3 +
 .../src/test/resources/datasingleComplexCol.csv |    3 +
 .../datawithNegeativewithoutHeader.csv          |    4 +
 .../test/resources/datawithNegtiveNumber.csv    |    5 +
 .../src/test/resources/datawithbackslash.csv    |   11 +
 .../src/test/resources/datawithblanklines.csv   |   19 +
 .../resources/datawithcomplexspecialchar.csv    |  151 +++
 .../test/resources/datawithescapecharacter.csv  |   22 +
 .../src/test/resources/datawithmaxinteger.csv   |   12 +
 .../test/resources/datawithmaxmininteger.csv    |   13 +
 .../src/test/resources/datawithmininteger.csv   |   12 +
 .../src/test/resources/datawithnullmeasure.csv  |    5 +
 .../src/test/resources/datawithnullmsrs.csv     |   11 +
 .../src/test/resources/datawithoutheader.csv    |   10 +
 .../test/resources/datawithspecialcharacter.csv |   38 +
 .../resources/decimalBoundaryDataCarbon.csv     |   12 +
 .../test/resources/decimalBoundaryDataHive.csv  |   11 +
 .../test/resources/decimalDataWithHeader.csv    |   13 +
 .../test/resources/decimalDataWithoutHeader.csv |   12 +
 .../src/test/resources/deviceInformationId.csv  |   48 +
 .../src/test/resources/deviceInformationId2.csv |    6 +
 .../src/test/resources/dict.txt                 |    1 +
 .../src/test/resources/dimSample.csv            |   21 +
 .../src/test/resources/dimTableSample.csv       |    4 +
 .../src/test/resources/emptyDimensionData.csv   |   21 +
 .../test/resources/emptyDimensionDataHive.csv   |   20 +
 .../resources/emptyrow/csvwithonlyspacechar.csv |    1 +
 .../src/test/resources/emptyrow/emptyRows.csv   |    7 +
 .../src/test/resources/example-data.csv         | 1001 +++++++++++++++
 .../src/test/resources/filter/datagrtlrt.csv    |    3 +
 .../src/test/resources/filter/emp2.csv          |    9 +
 .../src/test/resources/filter/emp2allnull.csv   |    9 +
 .../src/test/resources/filter/emp2nonull.csv    |    8 +
 .../src/test/resources/integertypecube.xml      |   55 +
 .../src/test/resources/invalidMeasures.csv      |    3 +
 .../src/test/resources/join/emp.csv             |    1 +
 .../src/test/resources/join/employee.csv        | 1000 +++++++++++++++
 .../src/test/resources/join/mgr.csv             |    1 +
 .../src/test/resources/join/mobile.csv          | 1000 +++++++++++++++
 .../test/resources/lessthandatacolumndata.csv   |   11 +
 .../resources/loadMultiFiles/.invisibilityfile  |    3 +
 .../src/test/resources/loadMultiFiles/_SUCCESS  |    0
 .../src/test/resources/loadMultiFiles/data.csv  |    4 +
 .../test/resources/loadMultiFiles/emptyfile.csv |    0
 .../loadMultiFiles/nestedfolder1/data.csv       |    2 +
 .../loadMultiFiles/nestedfolder1/data1.csv      |    3 +
 .../nestedfolder1/nestedfolder2/data.csv        |    3 +
 .../src/test/resources/loadMultiFiles/non-csv   |    3 +
 .../resources/locationInfoActiveCountry.csv     |    9 +
 .../src/test/resources/mac.csv                  |   39 +
 .../src/test/resources/mobileimei.csv           |   24 +
 .../src/test/resources/noneCsvFormat.cs         |    4 +
 .../src/test/resources/nullSample.csv           |    0
 .../test/resources/nullandnonparsableValue.csv  |    3 +
 .../src/test/resources/nullmeasurevalue.csv     |   11 +
 .../test/resources/nullvalueserialization.csv   |    2 +
 .../src/test/resources/numerictypecube.xml      |   41 +
 .../spark-common-test/src/test/resources/sample |    5 +
 .../src/test/resources/sample.csv               |    5 +
 .../src/test/resources/sample.csv.bz2           |  Bin 0 -> 114 bytes
 .../src/test/resources/sample.csv.gz            |  Bin 0 -> 106 bytes
 .../src/test/resources/sampleComplex.csv        |    4 +
 .../test/resources/sample_withDelimiter017.csv  |    5 +
 .../src/test/resources/shortolap.csv            |    5 +
 .../src/test/resources/stringtypecube.xml       |   55 +
 .../src/test/resources/struct_all.csv           |    4 +
 .../src/test/resources/structusingstruct.csv    |    2 +
 .../src/test/resources/test.json                |    3 +
 .../src/test/resources/timeStampFormatData1.csv |   12 +
 .../src/test/resources/timeStampFormatData2.csv |   11 +
 .../src/test/resources/timestampdata.csv        |    2 +
 .../src/test/resources/timestamptypecube.xml    |   50 +
 .../test/resources/verticalDelimitedData.csv    |   12 +
 .../src/test/resources/windows.csv              | 1000 +++++++++++++++
 .../aggquery/IntegerDataTypeTestCase.scala      |   49 +
 .../spark/testsuite/bigdecimal/TestBigInt.scala |   92 ++
 .../TestDimensionWithDecimalDataType.scala      |   60 +
 .../complexType/TestCreateTableWithDouble.scala |   95 ++
 .../MultiFilesDataLoagdingTestCase.scala        |   51 +
 .../dataload/TestLoadDataGeneral.scala          |  139 +++
 .../TestLoadDataWithAutoLoadMerge.scala         |   59 +
 .../dataload/TestLoadDataWithBlankLine.scala    |   65 +
 .../TestLoadDataWithEmptyArrayColumns.scala     |   66 +
 .../dataload/TestLoadDataWithJunkChars.scala    |   60 +
 .../TestLoadDataWithMaxMinInteger.scala         |   96 ++
 .../dataload/TestLoadDataWithNullMeasures.scala |   51 +
 .../emptyrow/TestCSVHavingOnlySpaceChar.scala   |   62 +
 .../testsuite/emptyrow/TestEmptyRows.scala      |   78 ++
 .../aggquery/AggregateQueryTestCase.scala       |   44 +
 .../AllDataTypesTestCaseAggregate.scala         |  111 ++
 .../aggquery/AverageQueryTestCase.scala         |  112 ++
 .../AllDataTypesTestCaseAggregate.scala         | 1163 +++++++++++++++++
 .../TestQueryWithOldCarbonDataFile.scala        |   69 ++
 .../allqueries/TestQueryWithoutDataLoad.scala   |   62 +
 .../allqueries/TestTableNameHasDbName.scala     |   53 +
 .../badrecordloger/BadRecordLoggerTest.scala    |  256 ++++
 .../testsuite/bigdecimal/TestAvgForBigInt.scala |   54 +
 .../testsuite/bigdecimal/TestBigDecimal.scala   |  203 +++
 .../bigdecimal/TestNullAndEmptyFields.scala     |  120 ++
 .../blockprune/BlockPruneQueryTestCase.scala    |  113 ++
 .../DataCompactionBlockletBoundryTest.scala     |   97 ++
 .../DataCompactionBoundaryConditionsTest.scala  |   90 ++
 .../DataCompactionCardinalityBoundryTest.scala  |  126 ++
 .../datacompaction/DataCompactionLockTest.scala |  127 ++
 .../MajorCompactionIgnoreInMinorTest.scala      |  161 +++
 .../MajorCompactionStopsAfterCompaction.scala   |  141 +++
 .../TestDataLoadPartitionCoalescer.scala        |  167 +++
 .../TestDataLoadWithColumnsMoreThanSchema.scala |  139 +++
 .../TestDataWithDicExcludeAndInclude.scala      |  100 ++
 .../testsuite/dataload/TestLoadDataFrame.scala  |   94 ++
 .../dataload/TestLoadDataUseAllDictionary.scala |   56 +
 .../TestLoadDataWithDiffTimestampFormat.scala   |  138 +++
 .../TestLoadDataWithFileHeaderException.scala   |   66 +
 .../dataload/TestLoadDataWithHiveSyntax.scala   |  692 +++++++++++
 ...ataWithMalformedCarbonCommandException.scala |  162 +++
 .../dataload/TestLoadDataWithNoMeasure.scala    |  115 ++
 .../TestLoadDataWithNotProperInputFile.scala    |   74 ++
 .../dataload/TestLoadTblNameIsKeyword.scala     |   92 ++
 .../dataload/TestTableLevelBlockSize.scala      |  122 ++
 .../DataRetentionConcurrencyTestCase.scala      |  106 ++
 .../dataretention/DataRetentionTestCase.scala   |  326 +++++
 .../deleteTable/TestDeleteTableNewDDL.scala     |  259 ++++
 .../describeTable/TestDescribeTable.scala       |   53 +
 .../detailquery/AllDataTypesTestCase.scala      |   52 +
 .../ColumnGroupDataTypesTestCase.scala          |  148 +++
 .../ColumnPropertyValidationTestCase.scala      |   52 +
 .../HighCardinalityDataTypesTestCase.scala      |  253 ++++
 .../detailquery/IntegerDataTypeTestCase.scala   |   47 +
 .../NoDictionaryColumnTestCase.scala            |   74 ++
 .../SubqueryWithFilterAndSortTestCase.scala     |   81 ++
 .../ValueCompressionDataTypeTestCase.scala      |  142 +++
 .../DateDataTypeDirectDictionaryTest.scala      |  150 +++
 ...TypeDirectDictionaryWithNoDictTestCase.scala |   98 ++
 .../DateDataTypeNullDataTest.scala              |   83 ++
 ...estampDataTypeDirectDictionaryTestCase.scala |  152 +++
 ...TypeDirectDictionaryWithNoDictTestCase.scala |  100 ++
 .../TimestampDataTypeNullDataTest.scala         |   89 ++
 .../filterexpr/AllDataTypesTestCaseFilter.scala |   64 +
 .../filterexpr/CountStarTestCase.scala          |   69 ++
 .../filterexpr/FilterProcessorTestCase.scala    |  289 +++++
 .../GrtLtFilterProcessorTestCase.scala          |  192 +++
 .../filterexpr/IntegerDataTypeTestCase.scala    |   47 +
 .../NullMeasureValueTestCaseFilter.scala        |   58 +
 .../TestAndEqualFilterEmptyOperandValue.scala   |   84 ++
 .../filterexpr/TestGrtLessFilter.scala          |   92 ++
 .../joinquery/AllDataTypesTestCaseJoin.scala    |   69 ++
 .../joinquery/IntegerDataTypeTestCase.scala     |   47 +
 .../NullMeasureValueTestCaseAggregate.scala     |   84 ++
 .../TestNullValueSerialization.scala            |  108 ++
 .../sortexpr/AllDataTypesTestCaseSort.scala     |   52 +
 .../sortexpr/IntegerDataTypeTestCase.scala      |   48 +
 .../windowsexpr/WindowsExprTestCase.scala       |   71 ++
 .../spark/sql/common/util/CarbonFunSuite.scala  |   49 +
 .../apache/spark/sql/common/util/PlanTest.scala |   59 +
 .../spark/sql/common/util/QueryTest.scala       |  159 +++
 integration/spark-common/pom.xml                |   51 +-
 .../spark/sql/catalyst/CarbonDDLSqlParser.scala |    5 +-
 .../spark/sql/test/TestQueryExecutor.scala      |   59 +
 .../org/apache/spark/sql/CarbonContext.scala    |    6 +-
 .../execution/command/carbonTableSchema.scala   |   14 +-
 .../spark/sql/test/SparkTestQueryExecutor.scala |   55 +
 ...che.spark.sql.test.TestQueryExecutorRegister |    1 +
 .../spark/load/CarbonLoaderUtilTest.java        |  419 -------
 .../validation/FileFooterValidator.java         |  157 ---
 .../spark/src/test/resources/100_olap.csv       |   99 --
 .../spark/src/test/resources/10dim_4msr.csv     | 1000 ---------------
 .../spark/src/test/resources/IUD/T_Hive1.csv    |   10 -
 .../spark/src/test/resources/IUD/comp1.csv      |   11 -
 .../spark/src/test/resources/IUD/comp2.csv      |   11 -
 .../spark/src/test/resources/IUD/comp3.csv      |   11 -
 .../spark/src/test/resources/IUD/comp4.csv      |   11 -
 .../spark/src/test/resources/IUD/dest.csv       |    6 -
 .../spark/src/test/resources/IUD/other.csv      |    3 -
 .../spark/src/test/resources/IUD/sample.csv     |    4 -
 .../src/test/resources/IUD/sample_updated.csv   |    2 -
 .../spark/src/test/resources/IUD/source2.csv    |    3 -
 .../spark/src/test/resources/IUD/source3.csv    |    7 -
 .../spark/src/test/resources/IUD/update01.csv   |    6 -
 .../spark/src/test/resources/OLDFORMATTABLE.csv |   34 -
 .../src/test/resources/OLDFORMATTABLEHIVE.csv   |   33 -
 .../test/resources/Test_Data1_Logrithmic.csv    |    3 -
 .../src/test/resources/alldatatypescube.xml     |  109 --
 .../20160423/1400_1405/complex.dictionary       |   20 -
 .../sample/20160423/1400_1405/sample.dictionary |    9 -
 integration/spark/src/test/resources/array1.csv |    2 -
 .../src/test/resources/arrayColumnEmpty.csv     |   21 -
 .../spark/src/test/resources/avgTest.csv        |   16 -
 .../test/resources/badrecords/datasample.csv    |    7 -
 .../badrecords/emptyTimeStampValue.csv          |    8 -
 .../test/resources/badrecords/emptyValues.csv   |    8 -
 .../badrecords/insufficientColumns.csv          |    4 -
 .../resources/badrecords/seriazableValue.csv    |    3 -
 .../spark/src/test/resources/bigIntData.csv     |   14 -
 .../src/test/resources/bigIntDataWithHeader.csv |   13 -
 .../test/resources/bigIntDataWithoutHeader.csv  |   12 -
 .../src/test/resources/big_int_Decimal.csv      |    3 -
 .../spark/src/test/resources/channelsId.csv     |   10 -
 .../src/test/resources/character_carbon.csv     |   33 -
 .../spark/src/test/resources/character_hive.csv |   32 -
 .../test/resources/columndictionary/country.csv |    5 -
 .../test/resources/columndictionary/name.csv    |   10 -
 .../spark/src/test/resources/comment.csv        |    5 -
 .../test/resources/compaction/compaction1.csv   |    6 -
 .../compaction/compaction1_forhive.csv          |    5 -
 .../test/resources/compaction/compaction2.csv   |    6 -
 .../test/resources/compaction/compaction3.csv   |    6 -
 .../resources/compaction/compactioncard2.csv    |  257 ----
 .../compaction/compactioncard2_forhive.csv      |  256 ----
 .../src/test/resources/complexTypeDecimal.csv   |    9 -
 .../test/resources/complexTypeDecimalNested.csv |    9 -
 .../resources/complexTypeDecimalNestedHive.csv  |    8 -
 .../spark/src/test/resources/complexdata.csv    |  100 --
 .../spark/src/test/resources/complexdata1.csv   |   54 -
 .../spark/src/test/resources/complexdata2.csv   |   46 -
 .../src/test/resources/complexdatareordered.csv |   10 -
 .../test/resources/complexdatastructextra.csv   |   10 -
 .../complextypediffentcolheaderorder.csv        |  100 --
 .../src/test/resources/complextypesample.csv    |   50 -
 .../complextypespecialchardelimiter.csv         |   50 -
 integration/spark/src/test/resources/data.csv   |   11 -
 integration/spark/src/test/resources/data2.csv  |    4 -
 .../src/test/resources/data2_DiffTimeFormat.csv |    4 -
 .../spark/src/test/resources/dataDiff.csv       | 1001 ---------------
 .../spark/src/test/resources/dataIncrement.csv  |   21 -
 .../src/test/resources/dataWithEmptyRows.csv    |    2 -
 .../test/resources/dataWithNullFirstLine.csv    |   11 -
 .../src/test/resources/dataWithSingleQuote.csv  |    7 -
 .../src/test/resources/data_withCAPSHeader.csv  |    3 -
 .../src/test/resources/data_withMixedHeader.csv |    3 -
 .../spark/src/test/resources/datadelimiter.csv  |   11 -
 .../src/test/resources/datanullmeasurecol.csv   |    3 -
 .../spark/src/test/resources/dataretention1.csv |   11 -
 .../spark/src/test/resources/dataretention2.csv |   11 -
 .../spark/src/test/resources/dataretention3.csv |   11 -
 .../spark/src/test/resources/datasample.csv     |    4 -
 .../src/test/resources/datasamplecomplex.csv    |    2 -
 .../src/test/resources/datasamplefordate.csv    |    4 -
 .../spark/src/test/resources/datasamplenull.csv |    3 -
 .../spark/src/test/resources/datasingleCol.csv  |    3 -
 .../src/test/resources/datasingleComplexCol.csv |    3 -
 .../datawithNegeativewithoutHeader.csv          |    4 -
 .../test/resources/datawithNegtiveNumber.csv    |    5 -
 .../src/test/resources/datawithbackslash.csv    |   11 -
 .../src/test/resources/datawithblanklines.csv   |   19 -
 .../resources/datawithcomplexspecialchar.csv    |  151 ---
 .../test/resources/datawithescapecharacter.csv  |   22 -
 .../src/test/resources/datawithmaxinteger.csv   |   12 -
 .../test/resources/datawithmaxmininteger.csv    |   13 -
 .../src/test/resources/datawithmininteger.csv   |   12 -
 .../src/test/resources/datawithnullmeasure.csv  |    5 -
 .../src/test/resources/datawithnullmsrs.csv     |   11 -
 .../src/test/resources/datawithoutheader.csv    |   10 -
 .../test/resources/datawithspecialcharacter.csv |   38 -
 .../resources/decimalBoundaryDataCarbon.csv     |   12 -
 .../test/resources/decimalBoundaryDataHive.csv  |   11 -
 .../test/resources/decimalDataWithHeader.csv    |   13 -
 .../test/resources/decimalDataWithoutHeader.csv |   12 -
 .../src/test/resources/deviceInformationId.csv  |   48 -
 .../src/test/resources/deviceInformationId2.csv |    6 -
 integration/spark/src/test/resources/dict.txt   |    1 -
 .../spark/src/test/resources/dimSample.csv      |   21 -
 .../spark/src/test/resources/dimTableSample.csv |    4 -
 .../src/test/resources/emptyDimensionData.csv   |   21 -
 .../test/resources/emptyDimensionDataHive.csv   |   20 -
 .../resources/emptyrow/csvwithonlyspacechar.csv |    1 -
 .../src/test/resources/emptyrow/emptyRows.csv   |    7 -
 .../spark/src/test/resources/example-data.csv   | 1001 ---------------
 .../src/test/resources/filter/datagrtlrt.csv    |    3 -
 .../spark/src/test/resources/filter/emp2.csv    |    9 -
 .../src/test/resources/filter/emp2allnull.csv   |    9 -
 .../src/test/resources/filter/emp2nonull.csv    |    8 -
 .../src/test/resources/integertypecube.xml      |   55 -
 .../src/test/resources/invalidMeasures.csv      |    3 -
 .../spark/src/test/resources/join/emp.csv       |    1 -
 .../spark/src/test/resources/join/employee.csv  | 1000 ---------------
 .../spark/src/test/resources/join/mgr.csv       |    1 -
 .../spark/src/test/resources/join/mobile.csv    | 1000 ---------------
 .../test/resources/lessthandatacolumndata.csv   |   11 -
 .../resources/loadMultiFiles/.invisibilityfile  |    3 -
 .../src/test/resources/loadMultiFiles/_SUCCESS  |    0
 .../src/test/resources/loadMultiFiles/data.csv  |    4 -
 .../test/resources/loadMultiFiles/emptyfile.csv |    0
 .../loadMultiFiles/nestedfolder1/data.csv       |    2 -
 .../loadMultiFiles/nestedfolder1/data1.csv      |    3 -
 .../nestedfolder1/nestedfolder2/data.csv        |    3 -
 .../src/test/resources/loadMultiFiles/non-csv   |    3 -
 .../resources/locationInfoActiveCountry.csv     |    9 -
 integration/spark/src/test/resources/mac.csv    |   39 -
 .../spark/src/test/resources/mobileimei.csv     |   24 -
 .../spark/src/test/resources/noneCsvFormat.cs   |    4 -
 .../spark/src/test/resources/nullSample.csv     |    0
 .../test/resources/nullandnonparsableValue.csv  |    3 -
 .../src/test/resources/nullmeasurevalue.csv     |   11 -
 .../test/resources/nullvalueserialization.csv   |    2 -
 .../src/test/resources/numerictypecube.xml      |   41 -
 integration/spark/src/test/resources/sample     |    5 -
 integration/spark/src/test/resources/sample.csv |    5 -
 .../spark/src/test/resources/sample.csv.bz2     |  Bin 114 -> 0 bytes
 .../spark/src/test/resources/sample.csv.gz      |  Bin 106 -> 0 bytes
 .../spark/src/test/resources/sampleComplex.csv  |    4 -
 .../test/resources/sample_withDelimiter017.csv  |    5 -
 .../spark/src/test/resources/shortolap.csv      |    5 -
 .../spark/src/test/resources/stringtypecube.xml |   55 -
 .../spark/src/test/resources/struct_all.csv     |    4 -
 .../src/test/resources/structusingstruct.csv    |    2 -
 integration/spark/src/test/resources/test.json  |    3 -
 .../src/test/resources/timeStampFormatData1.csv |   12 -
 .../src/test/resources/timeStampFormatData2.csv |   11 -
 .../spark/src/test/resources/timestampdata.csv  |    2 -
 .../src/test/resources/timestamptypecube.xml    |   50 -
 .../test/resources/verticalDelimitedData.csv    |   12 -
 .../spark/src/test/resources/windows.csv        | 1000 ---------------
 .../aggquery/IntegerDataTypeTestCase.scala      |   49 -
 .../spark/testsuite/bigdecimal/TestBigInt.scala |   93 --
 .../TestDimensionWithDecimalDataType.scala      |   61 -
 ...plexPrimitiveTimestampDirectDictionary.scala |   17 +-
 .../complexType/TestComplexTypeQuery.scala      |   25 +-
 .../complexType/TestCreateTableWithDouble.scala |   98 --
 .../MultiFilesDataLoagdingTestCase.scala        |   59 -
 .../dataload/SparkDatasourceSuite.scala         |   55 +-
 .../dataload/TestLoadDataGeneral.scala          |  145 ---
 .../TestLoadDataWithAutoLoadMerge.scala         |   65 -
 .../dataload/TestLoadDataWithBlankLine.scala    |   66 -
 .../TestLoadDataWithEmptyArrayColumns.scala     |   66 -
 .../dataload/TestLoadDataWithJunkChars.scala    |   61 -
 .../TestLoadDataWithMaxMinInteger.scala         |   98 --
 .../dataload/TestLoadDataWithNullMeasures.scala |   53 -
 .../TestLoadDataWithSingleQuotechar.scala       |    7 +-
 .../emptyrow/TestCSVHavingOnlySpaceChar.scala   |   67 -
 .../testsuite/emptyrow/TestEmptyRows.scala      |   82 --
 .../aggquery/AggregateQueryTestCase.scala       |   45 -
 .../AllDataTypesTestCaseAggregate.scala         |  111 --
 .../aggquery/AverageQueryTestCase.scala         |  112 --
 .../AllDataTypesTestCaseAggregate.scala         | 1107 +----------------
 .../InsertIntoCarbonTableTestCase.scala         |   20 +-
 .../TestQueryWithOldCarbonDataFile.scala        |   70 --
 .../allqueries/TestQueryWithoutDataLoad.scala   |   63 -
 .../allqueries/TestTableNameHasDbName.scala     |   54 -
 .../badrecordloger/BadRecordLoggerTest.scala    |  266 ----
 .../testsuite/bigdecimal/TestAvgForBigInt.scala |   59 -
 .../testsuite/bigdecimal/TestBigDecimal.scala   |  204 ---
 .../bigdecimal/TestNullAndEmptyFields.scala     |  124 --
 .../blockprune/BlockPruneQueryTestCase.scala    |  115 --
 .../createtable/TestCreateTableSyntax.scala     |   39 +-
 .../CompactionSystemLockFeatureTest.scala       |   19 +-
 .../DataCompactionBlockletBoundryTest.scala     |  110 --
 .../DataCompactionBoundaryConditionsTest.scala  |  104 --
 .../DataCompactionCardinalityBoundryTest.scala  |  128 --
 .../datacompaction/DataCompactionLockTest.scala |  130 --
 .../DataCompactionMinorThresholdTest.scala      |   23 +-
 .../DataCompactionNoDictionaryTest.scala        |   18 +-
 .../datacompaction/DataCompactionTest.scala     |   16 +-
 .../MajorCompactionIgnoreInMinorTest.scala      |  170 ---
 .../MajorCompactionStopsAfterCompaction.scala   |  147 ---
 .../TestDataLoadPartitionCoalescer.scala        |  168 ---
 .../TestDataLoadWithColumnsMoreThanSchema.scala |  139 ---
 .../TestDataWithDicExcludeAndInclude.scala      |  106 --
 .../testsuite/dataload/TestLoadDataFrame.scala  |   95 --
 .../dataload/TestLoadDataUseAllDictionary.scala |   56 -
 .../TestLoadDataWithDiffTimestampFormat.scala   |  138 ---
 .../TestLoadDataWithFileHeaderException.scala   |   67 -
 .../dataload/TestLoadDataWithHiveSyntax.scala   |  695 -----------
 ...ataWithMalformedCarbonCommandException.scala |  163 ---
 .../dataload/TestLoadDataWithNoMeasure.scala    |  128 --
 .../TestLoadDataWithNotProperInputFile.scala    |   77 --
 .../dataload/TestLoadDataWithSinglePass.scala   |   23 +-
 .../dataload/TestLoadTblNameIsKeyword.scala     |   96 --
 .../TestNoInvertedIndexLoadAndQuery.scala       |   17 +-
 .../dataload/TestTableLevelBlockSize.scala      |  128 --
 .../DataRetentionConcurrencyTestCase.scala      |  113 --
 .../dataretention/DataRetentionTestCase.scala   |  334 -----
 .../deleteTable/TestDeleteTableNewDDL.scala     |  254 ----
 .../describeTable/TestDescribeTable.scala       |   56 -
 .../detailquery/AllDataTypesTestCase.scala      |   54 -
 .../ColumnGroupDataTypesTestCase.scala          |  149 ---
 .../ColumnPropertyValidationTestCase.scala      |   51 -
 .../HighCardinalityDataTypesTestCase.scala      |  250 ----
 .../detailquery/IntegerDataTypeTestCase.scala   |   48 -
 .../NoDictionaryColumnTestCase.scala            |   76 --
 .../SubqueryWithFilterAndSortTestCase.scala     |   82 --
 .../ValueCompressionDataTypeTestCase.scala      |  145 ---
 .../DateDataTypeDirectDictionaryTest.scala      |  154 ---
 ...TypeDirectDictionaryWithNoDictTestCase.scala |  101 --
 .../DateDataTypeNullDataTest.scala              |   88 --
 ...estampDataTypeDirectDictionaryTestCase.scala |  157 ---
 ...TypeDirectDictionaryWithNoDictTestCase.scala |  107 --
 .../TimestampDataTypeNullDataTest.scala         |   92 --
 .../filterexpr/AllDataTypesTestCaseFilter.scala |   66 -
 .../filterexpr/CountStarTestCase.scala          |   73 --
 .../filterexpr/FilterProcessorTestCase.scala    |  289 -----
 .../GrtLtFilterProcessorTestCase.scala          |  137 +-
 .../filterexpr/IntegerDataTypeTestCase.scala    |   48 -
 .../NullMeasureValueTestCaseFilter.scala        |   58 -
 .../TestAndEqualFilterEmptyOperandValue.scala   |   89 --
 .../filterexpr/TestGrtLessFilter.scala          |   96 --
 .../HadoopFSRelationTestCase.scala              |   13 +-
 .../iud/DeleteCarbonTableTestCase.scala         |   15 +-
 .../testsuite/iud/IUDCompactionTestCases.scala  |   21 +-
 .../iud/UpdateCarbonTableTestCase.scala         |   58 +-
 .../joinquery/AllDataTypesTestCaseJoin.scala    |   68 -
 .../joinquery/IntegerDataTypeTestCase.scala     |   48 -
 .../NullMeasureValueTestCaseAggregate.scala     |   85 --
 .../TestNullValueSerialization.scala            |  112 --
 .../sortexpr/AllDataTypesTestCaseSort.scala     |   54 -
 .../sortexpr/IntegerDataTypeTestCase.scala      |   49 -
 .../windowsexpr/WindowsExprTestCase.scala       |   78 --
 .../spark/util/AllDictionaryTestCase.scala      |   16 +-
 .../AutoHighCardinalityIdentifyTestCase.scala   |   15 +-
 .../spark/util/DictionaryTestCaseUtil.scala     |    5 +-
 .../util/ExternalColumnDictionaryTestCase.scala |   45 +-
 ...GlobalDictionaryUtilConcurrentTestCase.scala |   21 +-
 .../util/GlobalDictionaryUtilTestCase.scala     |   37 +-
 .../apache/spark/sql/TestCarbonSqlParser.scala  |    1 +
 .../sql/common/util/CarbonHiveContext.scala     |   53 -
 .../spark/sql/common/util/QueryTest.scala       |   11 +-
 .../sql/execution/command/DDLStrategy.scala     |    9 +-
 .../execution/command/carbonTableSchema.scala   |   19 +-
 .../apache/spark/sql/hive/CarbonMetastore.scala |    2 +-
 .../sql/parser/CarbonSpark2SqlParser.scala      |    3 +-
 .../spark/sql/parser/CarbonSparkSqlParser.scala |   17 +-
 .../sql/test/Spark2TestQueryExecutor.scala      |   61 +
 ....apache.spark.sql.sources.DataSourceRegister |    1 +
 ...che.spark.sql.test.TestQueryExecutorRegister |    1 +
 integration/spark2/src/test/resources/data.csv  |   11 -
 .../spark2/src/test/resources/dataDiff.csv      | 1001 ---------------
 .../spark2/src/test/resources/data_alltypes.csv |   10 -
 .../AllDataTypesTestCaseAggregate.scala         | 1166 ------------------
 .../InsertIntoCarbonTableTestCase.scala         |  162 ---
 .../carbondata/CarbonDataSourceSuite.scala      |   19 +-
 .../bucketing/TableBucketingTestCase.scala      |   75 +-
 .../spark/carbondata/util/QueryTest.scala       |    0
 .../vectorreader/VectorReaderTestCase.scala     |   17 +-
 .../spark/sql/common/util/QueryTest.scala       |   50 +-
 .../apache/spark/util/CarbonCommandSuite.scala  |    5 +-
 pom.xml                                         |    1 +
 514 files changed, 20039 insertions(+), 21976 deletions(-)
----------------------------------------------------------------------



Mime
View raw message