Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> get schema in StorageFunc

Copy link to this message
get schema in StorageFunc
Hi All,

I'd like to get the schema of a relation that is used in conjunction
with my custom StorageFunc.  I found 'checkSchema' to be useful for
this case, however, it seems to work only in local mode.  When run in
distributed mode, 'checkSchema' is not invoked in mappers.
Is there some other means to retrieve the schema?

Thanks in advance,