Schema Discovery: get rid of the drop header in the SqlContextHelper and created a new method in RDDHelper called dropRows. Also removed the hasHeader flag from the CsvAttribute class(Using the headerSize attribute to know whether a given csv file has a header or not.)