You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by janewangfb <gi...@git.apache.org> on 2017/05/18 19:36:38 UTC

[GitHub] spark pull request #18023: [SPARK-12139] [SQL] REGEX Column Specification

Github user janewangfb commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18023#discussion_r117334957
  
    --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala ---
    @@ -1229,25 +1228,56 @@ class AstBuilder(conf: SQLConf) extends SqlBaseBaseVisitor[AnyRef] with Logging
         CaseWhen(branches, Option(ctx.elseExpression).map(expression))
       }
     
    +  def enableHiveSupportQuotedIdentifiers() : Boolean = {
    +    SparkEnv.get != null &&
    +      SparkEnv.get.conf != null &&
    +      SparkEnv.get.conf.getBoolean("hive.support.quoted.identifiers", false)
    --- End diff --
    
    Added to SQLConf


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org