Github user liancheng commented on a diff in the pull request:
https://github.com/apache/spark/pull/10541#discussion_r48727289
--- Diff:
sql/hive/src/main/antlr3/org/apache/spark/sql/parser/SparkSqlParser.g ---
@@ -637,7 +637,7 @@ import org.apache.hadoop.hive.conf.HiveConf;
// counter to generate unique union aliases
private int aliasCounter;
private String generateUnionAlias() {
- return "_u" + (++aliasCounter);
+ return "u_" + (++aliasCounter);
--- End diff --
This change is because Hive lexer doesn't allow identifiers starting with
underscore.
(All other changes in this file are caused by removing training spaces.)
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]