I have a program with input expected to have an ORC file format.
I want to be able to check if the provided input is effectively an ORC file. Checking extension only is not enough because the user can omit the extension.
For Parquet for example, we can check if the first line contains "PAR1".
Is there an equivalent way for ORC ?