Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5.1
-
None
-
None
Description
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
//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];
We should find the reason and try to fix it, let it work
Attachments
Issue Links
- is a child of
-
CARBONDATA-3125 Find minor bug or raise some small requirements/features, and then implement them
- Open
- links to