Actually, I don't see the loading capability. Unless I am looking at
the wrong code, org.apache.pig.piggybank.storage.DBStorage extends
StoreFunc; it does not implement 'getNext'.
On Tue, Jan 24, 2012 at 5:17 PM, Stan Rosenberg
<[EMAIL PROTECTED]> wrote:
> My bad; I should have looked at the code. Thanks Ashutosh!
> On Tue, Jan 24, 2012 at 5:14 PM, Ashutosh Chauhan <[EMAIL PROTECTED]> wrote:
>> DBStorage can be used for both load and store.
>> Hope it helps,
>> On Tue, Jan 24, 2012 at 14:10, Stan Rosenberg <
>> [EMAIL PROTECTED]> wrote:
>>> Quick question: is anyone aware of a DBLoad UDF, preferably based on
>>> hadoop's DBInputFormat? I am aware that there are other better
>>> solutions, e.g., sqoop.
>>> I can see DBStorage in piggybank, but not DBLoad.