Hi,

Found a bug on parse "SELECT date '2008-12-31' + INTERVAL '1' YEAR” to SqlNode, 

for the INTERVAL ‘1’ YEAR is converted to INTERVAL ‘12’ YEAR in 
SqlNodeToRexConverterImpl:

Inside convertLiteral method, the value is multiplied by 12 to month, but 
qualifier is still YEAR, forget to change to MONTH.

Thx,
Baofeng Zhang

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to