Query result cache lookup results by query text which has fully resolved table references.
In order to generate this query text currently implementation
- transforms the AST tree back to String
- parses the String generated in above step
- traverse the new AST and replaces the table references to the fully qualified ones
- transforms the new AST tree back to String -> this will be the cache key