This is for nested compilation like for join queries or general subqueries. Actually the context is not meant to be used across different queries. Instead, when compiling outer queries (parent queries), we can push things we got from the result of inner query compilation into the context, so that when conducting the real compilation for the outer query, it can read the context for information needed.