[
https://issues.apache.org/jira/browse/SPARK-3814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14185558#comment-14185558
]
Apache Spark commented on SPARK-3814:
-------------------------------------
User 'ravipesala' has created a pull request for this issue:
https://github.com/apache/spark/pull/2961
> Support for Bitwise AND(&), OR(|) ,XOR(^), NOT(~) in Spark HQL and SQL
> ----------------------------------------------------------------------
>
> Key: SPARK-3814
> URL: https://issues.apache.org/jira/browse/SPARK-3814
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.1.0
> Reporter: Yana Kadiyska
> Assignee: Ravindra Pesala
> Priority: Minor
>
> Error: java.lang.RuntimeException:
> Unsupported language features in query: select (case when bit_field & 1=1
> then r_end - r_start else NULL end) from mytable where pkey='0178-2014-07'
> LIMIT 2
> TOK_QUERY
> TOK_FROM
> TOK_TABREF
> TOK_TABNAME
> mytable
> TOK_INSERT
> TOK_DESTINATION
> TOK_DIR
> TOK_TMP_FILE
> TOK_SELECT
> TOK_SELEXPR
> TOK_FUNCTION
> when
> =
> &
> TOK_TABLE_OR_COL
> bit_field
> 1
> 1
> -
> TOK_TABLE_OR_COL
> r_end
> TOK_TABLE_OR_COL
> r_start
> TOK_NULL
> TOK_WHERE
> =
> TOK_TABLE_OR_COL
> pkey
> '0178-2014-07'
> TOK_LIMIT
> 2
> SQLState: null
> ErrorCode: 0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]