I have a directory containing ORC files. I am creating a DataFrame using the below code
var data = sqlContext.sql(\"SELECT * FROM orc.`/directory/containing/
The problem is the Hive version, which is 1.2.1, which has this bug HIVE-4243
This was fixed in 2.0.0.