This class resolves all the reference columns that are queried.
Keeps track of the context that if any candidate needs to use columns through tables referenced and replaces the
columns from referenced tables in all the ASTs
rewriteContext(CubeQueryContext cubeql)
Find all de-normalized columns, if these columns are not directly available in candidate tables, query will be
replaced with the corresponding table reference
public DenormalizationResolver(org.apache.hadoop.conf.Configuration conf)
Method Detail
rewriteContext
public void rewriteContext(CubeQueryContext cubeql)
throws org.apache.hadoop.hive.ql.parse.SemanticException
Find all de-normalized columns, if these columns are not directly available in candidate tables, query will be
replaced with the corresponding table reference