You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Steve Carlin (Jira)" <ji...@apache.org> on 2023/09/07 16:19:00 UTC

[jira] [Created] (SPARK-45102) Support keyword columns on filters that interact with HMS

Steve Carlin created SPARK-45102:
------------------------------------

             Summary: Support keyword columns on filters that interact with HMS
                 Key: SPARK-45102
                 URL: https://issues.apache.org/jira/browse/SPARK-45102
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: 3.4.1
            Reporter: Steve Carlin


Recently, https://issues.apache.org/jira/browse/HIVE-27665 was pushed on Hive. This will allow HMS to handle columns that are surrounded by backticks in filters.  An example of a customer who hit this problem had a filter in Spark like this:

where date='2015-01-06'

This didn't work because the word "date" is a keyword.  In order for the customer to work, the where clause should be changed to this:

where `date`='2015-01-06'

Spark strips out the backticks before passing the filter to HMS.  We need to no longer strip the backticks as a configurable flag.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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