[email protected] has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/15130


Change subject: IMPALA-9280: Time string with signed TZH token preceded by dash 
cannot be cast to timestamp
......................................................................

IMPALA-9280: Time string with signed TZH token preceded by dash cannot
be cast to timestamp

In ISO SQL datetime format, "-" is both separator character and sign
in TZH token. This change make sure to NOT include the last "-" char
as part of TZH token if the negative sign is the only possible
separator character in the separator substring.

Testing:
* Add test TimestampTest.IsoSqlWithTZ

Change-Id: I24c636e75fd380f6ebd091bcb38bb60a274f0e00
---
M be/src/runtime/datetime-iso-sql-format-parser.cc
M be/src/runtime/timestamp-test.cc
2 files changed, 38 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/30/15130/1
--
To view, visit http://gerrit.cloudera.org:8080/15130
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I24c636e75fd380f6ebd091bcb38bb60a274f0e00
Gerrit-Change-Number: 15130
Gerrit-PatchSet: 1
Gerrit-Owner: Anonymous Coward <[email protected]>

Reply via email to