Github user adrian-wang commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3396#discussion_r20839119
  
    --- Diff: sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveQl.scala ---
    @@ -380,7 +380,7 @@ private[hive] object HiveQl {
       protected def nameExpressions(exprs: Seq[Expression]): 
Seq[NamedExpression] = {
         exprs.zipWithIndex.map {
           case (ne: NamedExpression, _) => ne
    -      case (e, i) => Alias(e, s"c_$i")()
    +      case (e, i) => Alias(e, s"_c$i")()
    --- End diff --
    
    I checked hive-{0.9.0, 0.12.0, 0.13.1}, they all use _c as the default 
auto-gen column alias prefix label.


---
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]

Reply via email to