Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
Description
We find weird literals for some user defined non-nullable types. Some investigation shows that the problem lies in the RexLiteral#toJavaString method.
In particular, it checks the type string suffix with an 8-character string:
if (!fullTypeString.endsWith("NOT NULL")) {
However, it trims the last 9 characters from the end of the string:
sb.append(fullTypeString, 0, fullTypeString.length() - 9);
Attachments
Issue Links
- links to