[jira] [Updated] (CARBONDATA-3127) Hive module test case has been commented off,can' t run.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (CARBONDATA-3127) Hive module test case has been commented off,can' t run.

Akash R Nilugal (Jira)

     [ https://issues.apache.org/jira/browse/CARBONDATA-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xubo245 updated CARBONDATA-3127:
--------------------------------
    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

{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

  was:
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

We should find the reason and try to fix it, let it work


> 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
>            Priority: Major
>
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)