support for hive 0.8.1

implement empty getSerDeStats()
hive-0.8
Larry Ogrodnek 2013-02-12 13:06:34 -08:00
parent 9ac30d9020
commit 5c01e85f44
4 changed files with 13 additions and 5 deletions

View File

@ -3,11 +3,11 @@
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="lib/default/hadoop-core.jar"/>
<classpathentry kind="lib" path="lib/default/hive-exec.jar"/>
<classpathentry kind="lib" path="lib/default/opencsv.jar" sourcepath="lib/sources/opencsv-src.jar"/>
<classpathentry kind="lib" path="lib/test/junit.jar"/>
<classpathentry kind="lib" path="lib/buildtime/log4j.jar"/>
<classpathentry kind="lib" path="lib/test/commons-logging.jar"/>
<classpathentry kind="lib" path="lib/buildtime/hive-exec.jar"/>
<classpathentry kind="lib" path="lib/buildtime/hadoop-core.jar"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>

View File

@ -21,9 +21,12 @@
<!-- default (compile, test, runtime) dependencies -->
<dependency org="opencsv" name="opencsv" rev="2.3" />
<dependency org="apache" name="hive" rev="0.5.0" conf="default->exec" />
<dependency org="apache" name="hive" rev="0.8.1" conf="buildtime->default">
<artifact name="hive-exec" type="jar" />
</dependency>
<dependency org="apache" name="hadoop" rev="0.20.0" conf="buildtime->default">
<dependency org="apache" name="hadoop" rev="0.20.2" conf="buildtime->default">
<artifact name="hadoop-core" type="jar" />
</dependency>

View File

@ -4,4 +4,4 @@
# The location of the common build system
common.build.dir=${basedir}/../common-build
project.version=1.1.2
project.version=1.1.2-0.8.1

View File

@ -14,6 +14,7 @@ import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hive.serde.Constants;
import org.apache.hadoop.hive.serde2.SerDe;
import org.apache.hadoop.hive.serde2.SerDeException;
import org.apache.hadoop.hive.serde2.SerDeStats;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector;
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorFactory;
import org.apache.hadoop.hive.serde2.objectinspector.StructField;
@ -176,4 +177,8 @@ public final class CSVSerde implements SerDe {
public Class<? extends Writable> getSerializedClass() {
return Text.class;
}
public SerDeStats getSerDeStats() {
return null;
}
}