Closed jianqiao closed 8 years ago
This PR adds parser and resolver support for the EXTRACT function.
EXTRACT
Since the backend DateExtractOperation and DateExtractUncheckedOperator are already there. So the EXTRACT function feature is complete. SQL tests are also added.
DateExtractOperation
DateExtractUncheckedOperator
@jianqiao In the title, replace operator with function.
operator
function
LTGM. Merging. I see the Travis error, but that is my bad as the line is over 120 characters and I'll fix it next in a separate PR.
Thanks @jianqiao.
This PR adds parser and resolver support for the
EXTRACT
function.Since the backend
DateExtractOperation
andDateExtractUncheckedOperator
are already there. So theEXTRACT
function feature is complete. SQL tests are also added.