hadoop - Get name of current table being scanned over using MultiTableInputFormat -
when using new new multitableinputformat
class possible obtain name of table giving key , values?
i tried searching special attribute in context & configuration came unlucky.
i found out answer issue. dug around in source various classes , found internally similar table name.
string tablename = bytes.tostring(((tablesplit) context.getinputsplit()).gettablename());
Comments
Post a Comment