[
https://issues.apache.org/jira/browse/DERBY-1623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490737
]
Manish Khettry commented on DERBY-1623:
---------------------------------------
Thanks Andrew-- if you have those queries saved up, it would be a good starting
point for writing tests. BTW, I did try this query and it came back with a NPE
which is a good thing ;)
ij> select v from t where TRIM(v) = TRIM(c)
;
ERROR XJ001: Java exception: ': java.lang.NullPointerException'.
> Add ANSI TRIM implementation
> ----------------------------
>
> Key: DERBY-1623
> URL: https://issues.apache.org/jira/browse/DERBY-1623
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Reporter: Emmanuel Bernard
> Assigned To: Manish Khettry
> Attachments: 1623-parser-guess.diff, AnsiTrimTest.java,
> compile_error.jj, sqlgrammar.jj.diff
>
>
> JPA is requiring databases to support this ANSI feature esp the ability to
> chose the trimmed character
> TRIM([ [ LEADING | TRAILING | BOTH ] [ chars ] FROM ] str)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.