incubator-crunch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Reid (JIRA)" <>
Subject [jira] [Commented] (CRUNCH-92) It should be possble to read data from DataBase
Date Wed, 10 Oct 2012 07:17:03 GMT


Gabriel Reid commented on CRUNCH-92:

I can definitely see that this would be useful.

The empty readFields and writeFields methods in JdbcWritable seem very dangerous -- there's
nothing that stops someone from using objects of that type as a Writable, and the pipeline
will (probably) run without any errors, and just give totally incorrect results.

I think it would be best if there is some kind of compile-time safety to force users to write
the mapping code from ResultSet to a Writable type. Another option would be to try to integrate
Sqoop, although I'm not sure what that would involve.
> It should be possble to read data from DataBase
> -----------------------------------------------
>                 Key: CRUNCH-92
>                 URL:
>             Project: Crunch
>          Issue Type: New Feature
>            Reporter: Rahul Sharma
>         Attachments: 0001-CRUNCH-92-Database-Source-in-crunch.patch
> At times we need to read some data from RDBMS in a MR job, so crunch should have a Source
for the same.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message