Marcono1234 created HIVE-24801:
----------------------------------
Summary: HiveIntervalDayTime and HiveIntervalYearMonth use wrong
regex pattern
Key: HIVE-24801
URL: https://issues.apache.org/jira/browse/HIVE-24801
Project: Hive
Issue Type: Bug
Reporter: Marcono1234
The classes {{org.apache.hadoop.hive.common.type.HiveIntervalDayTime}} and
{{org.apache.hadoop.hive.common.type.HiveIntervalYearMonth}} use a regex
pattern containing:
{code}
[+|-]
{code}
This is a character class and character classes match all the characters
literally (with some exceptions). Therefore this matches {{+}}, {{-}} *and
{{|}}*, which I assume is not intended.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)