[
https://issues.apache.org/jira/browse/HIVE-24599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Krisztian Kasa resolved HIVE-24599.
-----------------------------------
Fix Version/s: 4.3.0
Resolution: Fixed
Merged to master. Thanks [~manyamehrotra] for the patch.
> Add support for vectorized two-parameter trim functions
> -------------------------------------------------------
>
> Key: HIVE-24599
> URL: https://issues.apache.org/jira/browse/HIVE-24599
> Project: Hive
> Issue Type: Improvement
> Reporter: Krisztian Kasa
> Assignee: Manya Mehrotra
> Priority: Minor
> Labels: newbie, pull-request-available
> Fix For: 4.3.0
>
>
> HIVE-24565 introduces a version of trim/ltrim/rtrim functions when the
> characters to trim can be specified as a second parameter of the function.
> Two parameter version of these functions has some vectorized scenarios:
> * source: COLUMN - trim characters: SCALAR - this is supported by HIVE-24565
> {code}
> SELECT trim(col0, 'a');
> {code}
> * source: COLUMN - trim characters: COLUMN
> {code}
> SELECT trim(col0, col1);
> {code}
> * source: SCALAR - trim characters: COLUMN
> {code}
> SELECT trim('string to trim', col0);
> {code}
> The scope of this jira is the support of the last two scenarios.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)