Closed
Description
Description
PartiQLValueTextWriter
does not print datetime values. Currently it does not implement the writer for datetime values, so attempting to print out a datetime value will result in an IllegalArgumentException
.
This is also pointed out in the tests:
To Reproduce
Steps to reproduce the behavior:
- Call
PartiQLValueTextWriter
'sappend
, which calls theToString
visitor with a datetimePartiQLValue
- Get an
IllegalArgumentException
--Caused by: java.lang.IllegalArgumentException: Cannot write value of type DATE
Expected Behavior
- Expect
PartiQLValueTextWriter
to print out datetime values
Additional Context
- Java version: 11
- PartiQL version: tested w/ 0.14.6-SNAPSHOT and 0.14.5