RajashekharChoukimath opened a new pull request #35: Prepared Query should come from DB after 10 minutes. URL: https://github.com/apache/lens/pull/35 1) JDBCDriver.java: Changes in JDBCDriver.java was supposed to happen in https://github.com/apache/lens/pull/34, I had even mentioned in the comment section of that PR(see item 2). Some how I forgot to checkin this line. 2) PreparedQueryContext.java: This is due to the fact, we were storing PreparedQueries for one week, it was bloating the memory, I decreased this to 10 minutes, beyond 10 minutes, it will come from DB. 3) LensServerDAO.java -- Beyond 10 minutes, I am pulling from DB. 4) QueryExecutionServiceImpl.java -- If prepraedQuery is not present in memory then I am pulling from the DB. 5) TestLensDAO.java -- Unit test case for pulling the data from DB.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
