[
https://issues.apache.org/jira/browse/DRILL-2023?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286023#comment-14286023
]
Mehant Baid commented on DRILL-2023:
------------------------------------
[~pipfiddle] could you please provide the query that is failing. I was able to
execute regexp_extract with Drill expressions inside them successfully. For eg:
select regexp_extract(concat('foothe', 'bar'), 'foo(.*?)(bar)', castint('2'))
from dfs.`/tmp/a.json`;
Used concat and castint which are Drill expressions within regexp_extract.
> Hive function
> --------------
>
> Key: DRILL-2023
> URL: https://issues.apache.org/jira/browse/DRILL-2023
> Project: Apache Drill
> Issue Type: Bug
> Components: Functions - Hive
> Reporter: Jacques Nadeau
> Assignee: Mehant Baid
>
> If you try to do a query that uses regexp_extract with Drill expressions
> inside of it, Drill doesn't handle it correctly. The exception is:
> The type of org.apache.drill.exec.expr.HiveFuncHolderExpr doesn't currently
> support LogicalExpression.getCumulativeCost()
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)