Github user dongjoon-hyun commented on the pull request:

    https://github.com/apache/tajo/pull/442#issuecomment-85409177
  
    The cache is maintained by approximately LRU manner with 200 size and also 
cached item will be expired after 1 hour since last access.
    '''
    session.setQueryCache(CacheBuilder.newBuilder()
              .maximumSize(200)
              .expireAfterAccess(1, TimeUnit.HOURS)
              .build(new CacheLoader<String, Expr>() {
                public Expr load(String sql) throws SQLSyntaxError {
                  return analyzer.parse(sql);
                }
          })
    );
    '''


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to