You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Nicholas Jiang (JIRA)" <ji...@apache.org> on 2018/11/29 06:15:00 UTC

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

    [ https://issues.apache.org/jira/browse/CARBONDATA-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702759#comment-16702759 ] 

Nicholas Jiang commented on CARBONDATA-3127:
--------------------------------------------

[~xubo245]Method called deserializeAndSerializeLazySimple of TestCarbonSerde class calls the method called serializeStartKey which is not exsit in CarbonHiveSerDe class,please check it.

> 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)