how to extract data from segment to text files?

Hi guys,

Do you have experience extracting data from segment to text files? Any clue?



I don’t think we have a tool for this (it would be great though) but one thing you could try is using the DatasourceInputFormat to read the segment data into a Hadoop job, and then write it out from that job.

You could also potentially write something using IndexIO to map the segment and then pull information out of the QueryableIndex object.