5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-03 11:49:21 +08:00
Go to file
Andrew Bayer 81608e42b6 SQOOP-110. Allow empty strings to represent NULL.
This change modifies the ClassWriter implementation to provide
support for interpeting empty strings as NULL values for datatypes
other than String. For String datatype, an explicit string 'null'
is interpreted as NULL value and empty string is not. This is
because certain databases distinguish between NULL and empty
strings.

The clone implementation generated by ClassWriter has also been
modified to make it more defensive against the presence of NULL
values.

From: Arvind Prabhakar <arvind@cloudera.com>

git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149985 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 20:04:19 +00:00
bin SQOOP-80. bin/configure-sqoop improperly escapes shell variable names. 2011-07-22 20:04:15 +00:00
conf SQOOP-77. Rename saved sessions to saved jobs. 2011-07-22 20:04:13 +00:00
ivy SQOOP-53. Build test jar and publish to maven. 2011-07-22 20:04:07 +00:00
lib SQOOP-36. Redistribute mysql-connector-j with Sqoop. 2011-07-22 20:04:12 +00:00
src SQOOP-110. Allow empty strings to represent NULL. 2011-07-22 20:04:19 +00:00
testdata/hive Changed license headers to reference Cloudera instead of the ASF. 2011-07-22 20:03:36 +00:00
.gitignore SIP-1. Refactor operations into distinct tools. 2011-07-22 20:03:45 +00:00
build.xml SQOOP-99. CDH3Shim mapped to Hadoop 0.20.3. 2011-07-22 20:04:18 +00:00
COMPILING.txt SQOOP-94. COMPILING.txt does not mention all dependencies. 2011-07-22 20:04:17 +00:00
ivy.xml SQOOP-53. Build test jar and publish to maven. 2011-07-22 20:04:07 +00:00
LICENSE.txt Changed license headers to reference Cloudera instead of the ASF. 2011-07-22 20:03:36 +00:00
NOTICE.txt Changed license headers to reference Cloudera instead of the ASF. 2011-07-22 20:03:36 +00:00
README.txt Add ability to compile against Cloudera or Apache Hadoop. 2011-07-22 20:03:41 +00:00
svn-placeholder Placeholder commit 2011-07-22 19:59:57 +00:00

= Welcome to Sqoop!

This is the Sqoop (SQL-to-Hadoop) tool. Sqoop allows easy imports and
exports of data sets between databases and HDFS.


== More Documentation

Sqoop ships with additional documentation: a user guide and a manual page.

Asciidoc sources for both of these are in +src/docs/+. Run +ant docs+ to build
the documentation. It will be created in +build/docs/+.

If you got Sqoop in release form, documentation will already be built and
available in the +docs/+ directory.


== Compiling Sqoop

Compiling Sqoop requires the following tools:

* Apache ant (1.7.1)
* Java JDK 1.6

Additionally, building the documentation requires these tools:

* asciidoc
* make
* python 2.5+
* xmlto
* tar
* gzip

To compile Sqoop, run +ant package+. There will be a fully self-hosted build
provided in the +build/sqoop-(version)/+ directory. 

You can build just the jar by running +ant jar+.

See the COMPILING.txt document for for information.

== This is also an Asciidoc file!

* Try running +asciidoc README.txt+
* For more information about asciidoc, see http://www.methods.co.nz/asciidoc/