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
Stan Rosenberg 2011-11-08, 03:01
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,

stan