kasakrisz commented on a change in pull request #1706:
URL: https://github.com/apache/hive/pull/1706#discussion_r540209741
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/parse/CalcitePlanner.java
##########
@@ -345,9 +345,19 @@
import javax.sql.DataSource;
+import static java.util.Collections.singletonList;
+import static
org.apache.hadoop.hive.ql.optimizer.calcite.rules.views.HiveMaterializedViewUtils.extractTable;
+
public class CalcitePlanner extends SemanticAnalyzer {
+ /**
+ * {@link org.antlr.runtime.TokenRewriteStream} offers the opportunity of
multiple rewrites of the same
+ * input text (in our case the sql query text). These rewrites are called
programs and identified by a string.
+ * EXPANDED_QUERY_TOKEN_REWRITE_PROGRAM is for identifying the program which
replaces all identifiers in the
+ * query with fully qualified identifiers.
+ */
+ public static final String EXPANDED_QUERY_TOKEN_REWRITE_PROGRAM =
"EXPANDED_QUERY_PROGRAM";
Review comment:
done
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]