Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3127

Hive module test case has been commented off,can' t run.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.5.2
    • 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

          Activity

            People

              nicholasjiang Nicholas Jiang
              xubo245 Bo Xu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20.5h
                  20.5h