parent
9ac30d9020
commit
5c01e85f44
|
@ -3,11 +3,11 @@
|
||||||
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
|
||||||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
<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/default/opencsv.jar" sourcepath="lib/sources/opencsv-src.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/test/junit.jar"/>
|
<classpathentry kind="lib" path="lib/test/junit.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/buildtime/log4j.jar"/>
|
<classpathentry kind="lib" path="lib/buildtime/log4j.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/test/commons-logging.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"/>
|
<classpathentry kind="output" path="target/classes"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
7
ivy.xml
7
ivy.xml
|
@ -21,9 +21,12 @@
|
||||||
<!-- default (compile, test, runtime) dependencies -->
|
<!-- default (compile, test, runtime) dependencies -->
|
||||||
<dependency org="opencsv" name="opencsv" rev="2.3" />
|
<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" />
|
<artifact name="hadoop-core" type="jar" />
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
|
@ -4,4 +4,4 @@
|
||||||
# The location of the common build system
|
# The location of the common build system
|
||||||
common.build.dir=${basedir}/../common-build
|
common.build.dir=${basedir}/../common-build
|
||||||
|
|
||||||
project.version=1.1.2
|
project.version=1.1.2-0.8.1
|
||||||
|
|
|
@ -14,6 +14,7 @@ import org.apache.hadoop.conf.Configuration;
|
||||||
import org.apache.hadoop.hive.serde.Constants;
|
import org.apache.hadoop.hive.serde.Constants;
|
||||||
import org.apache.hadoop.hive.serde2.SerDe;
|
import org.apache.hadoop.hive.serde2.SerDe;
|
||||||
import org.apache.hadoop.hive.serde2.SerDeException;
|
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.ObjectInspector;
|
||||||
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorFactory;
|
import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorFactory;
|
||||||
import org.apache.hadoop.hive.serde2.objectinspector.StructField;
|
import org.apache.hadoop.hive.serde2.objectinspector.StructField;
|
||||||
|
@ -176,4 +177,8 @@ public final class CSVSerde implements SerDe {
|
||||||
public Class<? extends Writable> getSerializedClass() {
|
public Class<? extends Writable> getSerializedClass() {
|
||||||
return Text.class;
|
return Text.class;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SerDeStats getSerDeStats() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue