Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Replace at position in string


Copy link to this message
-
Replace at position in string
Hi all,

 How to replace some value in string at particular location

 For example

 abcd

 Replace values from index 0-1 with mn

 mncd as output

 Any built in UDF or i should write own UDF?.

 I checked existing Replace method , it replaces value to some another value.

Thanks and Regards ,
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB