You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2021/01/07 09:54:00 UTC
[jira] [Created] (HIVE-24599) Add support vectorized two parameter
trim functions
Krisztian Kasa created HIVE-24599:
-------------------------------------
Summary: Add support 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
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.3.4#803005)