IN THIS PROJECT THERE IS A COMMAND GIVEN BELOW PLEASE EXPLAIN THE SIGNIFICANCE OF (TIMESTAMP,1,14) in spark.sql(“select substr(timeStamp,1,14) as timeFrame,count(*) as req_cnt from nasa_log group by substr(timeStamp,1,14) order by req_cnt desc LIMIT 5”).show()
substr function return the part of the string from start to end positions. Here it returns part of timeStamp which starts at 1 and ends at 14.