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)