Igor Guzenko created DRILL-6908: ----------------------------------- Summary: Hive Testing: Replace cumbersome assertions with TestBuilder.csvBaselineFile() Key: DRILL-6908 URL: https://issues.apache.org/jira/browse/DRILL-6908 Project: Apache Drill Issue Type: Improvement Affects Versions: 1.16.0 Reporter: Igor Guzenko
For improving Hive tests readability it would be nice to rewrite some cumbersome tests to use CSVTestBuilder for assertions. This issue was created because it requires a lot of changes for different Hive tests and also some additional time may be necessary to ensure that CSVTestBuilder can read all datatypes (dates with different formats, floating point numbers, big decimals etc.) into correct values for assertions. Below is list of test methods to be rewritten: * TestHiveStorage.readAllSupportedHiveDataTypes() * TestHiveStorage.orderByOnHiveTable() * TestHiveStorage.readingFromSmallTableWithSkipHeaderAndFooter() * TestHiveViewsSupport.selectStarFromView() * TestHiveViewsSupport.useHiveAndSelectStarFromView() * TestHiveViewsSupport.viewWithAllSupportedDataTypes() * TestInfoSchemaOnHiveStorage.showTablesFromDb() * TestInfoSchemaOnHiveStorage.showDatabases() * TestInfoSchemaOnHiveStorage.varCharMaxLengthAndDecimalPrecisionInInfoSchema() * TestInfoSchemaOnHiveStorage.showInfoSchema() * TestHiveDrillNativeParquetReader.testReadAllSupportedHiveDataTypesNativeParquet() -- This message was sent by Atlassian JIRA (v7.6.3#76005)