i am trying to analyse CSV file using spark Scala but the problem is my CSV file contain column with null value also so while reading data from CSV file i am getting error as java.lang.ArrayIndexOutOfBoundException :12
my total column in CSV file is 13 but 1 column contains null value.enter image description hereplease find below attachment of my code snippets . Thanks in advance