HI, I successfully converted the JSON file to avro format and i cloud able to see the json format using AVRO tool.
But not i am trying to show only selected fields from the json file using java program and i cloud able to select specific column from the SIMPLE json file. In case of complex json file, i am not able to select column. For example: Assume, Employee records contain complex column with department details. Now i need to generate the JSON from avro with few column from employee and few column from departments. My program printed the selected column from the employee table, but not able to select from department columns. I used GenericDatumReader for reading the avro file. Please let me know if you have any suggestions. if you need the program, i can share separate mail. Thanks, Saravanan