> Hive module test case has been commented off,can' t run.
> --------------------------------------------------------
>
> Key: CARBONDATA-3127
> URL:
https://issues.apache.org/jira/browse/CARBONDATA-3127> Project: CarbonData
> Issue Type: Bug
> Affects Versions: 1.5.1
> Reporter: xubo245
> Assignee: Nicholas Jiang
> Priority: Major
> Fix For: 1.5.2
>
> Time Spent: 20h 10m
> Remaining Estimate: 0h
>
> Hive module test case has been commented off,can' t run:
> /Users/xubo/Desktop/xubo/git/carbondata3/integration/hive/src/test/java/org/apache/carbondata/hive/TestCarbonSerde.java
> {code:java}
> //package org.apache.carbondata.hive;
> //
> //import junit.framework.TestCase;
> //import org.apache.hadoop.conf.Configuration;
> //import org.apache.hadoop.hive.common.type.HiveDecimal;
> //import org.apache.hadoop.hive.serde2.SerDeException;
> //import org.apache.hadoop.hive.serde2.SerDeUtils;
> //import org.apache.hadoop.hive.serde2.io.DoubleWritable;
> //import org.apache.hadoop.hive.serde2.io.HiveDecimalWritable;
> //import org.apache.hadoop.hive.serde2.io.ShortWritable;
> //import org.apache.hadoop.hive.serde2.objectinspector.StructObjectInspector;
> //import org.apache.hadoop.io.*;
> //import org.junit.Test;
> //
> //import java.util.Properties;
> //
> //public class TestCarbonSerde extends TestCase {
> // @Test
> // public void testCarbonHiveSerDe() throws Throwable {
> // try {
> // // Create the SerDe
> // System.out.println("test: testCarbonHiveSerDe");
> //
> // final CarbonHiveSerDe serDe = new CarbonHiveSerDe();
> // final Configuration conf = new Configuration();
> // final Properties tbl = createProperties();
> // SerDeUtils.initializeSerDe(serDe, conf, tbl, null);
> //
> // // Data
> // final Writable[] arr = new Writable[7];
> {code}
> We should find the reason and try to fix it, let it work