Java How to serialize any data into ORC format

Multi tool use


Java How to serialize any data into ORC format
I am able to successfully convert any CSV file into ORC with the help of vectorized row batch. But as per the new requirement, I have to serialize any type of input data into ORC format. The data type of the input data is dynamic. It can be of any type. I have to serialize the input data(which is of any type, say CSV, Avro, etc,..) to byte array which can then be written into ORC file later. I have been unsuccessful to find anything that helps this requirement. Please show some light on how I should approach and what and all I can try to achieve this. Is there any in-built support for this in org.apache.orc
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.