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

    https://github.com/apache/spark/pull/18023#discussion_r125728877
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
    @@ -847,6 +847,12 @@ object SQLConf {
           .intConf
           
.createWithDefault(UnsafeExternalSorter.DEFAULT_NUM_ELEMENTS_FOR_SPILL_THRESHOLD.toInt)
     
    +  val SUPPORT_QUOTED_REGEX_COLUMN_NAME = 
buildConf("spark.sql.parser.quotedRegexColumnNames")
    +    .doc("When true, quoted Identifiers (using backticks) in SELECT 
statement are interpreted" +
    --- End diff --
    
    we should only support select. It does not make sense to do select a from 
test where `(a)?+.+`=3.
    
    Also, for hive 
(https://cwiki.apache.org/confluence/display/Hive/LanguageManual+Select), it 
only supports the select statements:
    "REGEX Column Specification
    A SELECT statement can take regex-based column specification in Hive 
releases prior to 0.13.0, or in 0.13.0 and later releases if the configuration 
property hive.support.quoted.identifiers is set to none." 


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