Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.6.0, Impala 2.7.0, Impala 2.8.0
Description
Dates with single digit months or days should cast to valid timestamps.
This returns NULL since it fails but should be valid.
impala> select cast('2000-3-1' as timestamp); +--------------------------------+ | cast('2000-3-1' as timestamp) | +--------------------------------+ | NULL | +--------------------------------+
Postgres
grahn=# select cast('2000-3-1' as timestamp); timestamp --------------------- 2000-03-01 00:00:00
Attachments
Issue Links
- breaks
-
IMPALA-6995 False-positive DCHECK when converting whitespace-only strings to timestamp
- Resolved
- is depended upon by
-
IMPALA-6641 Support more separators between date and time in default timestamp format
- Resolved
- relates to
-
IMPALA-1734 cast(<string> as timestamp) should not require zero padded elements
- Closed