I am new to Hive and spark sql technologies.I had tried limit clause in spark sql. but it support only for particular limit starting from zero to that particular limit.But I want to retrieve rows from a specific start point to specific end point.Can you please anyone to suggest a method to achieve this.
Query1 :: SELECT * FROM `Emp` LIMIT 10; - this query supports in both sql and spark sql
but
Query2 :: SELECT * FROM `Emp` LIMIT 10,20; - to retrive rows from 10 to 20 supports in sql, but not in spark sql.