You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 21, 2024. It is now read-only.
Improve test coverage for ast components in ast.go (#2355)
*Tests are added to extend coverage for statement, expression and source types and many of the ast helper functions
*For those SQL language elements where ast exists but parsing is not implemented, test coverage is added to test only the ast correctness
*Also, removed timestamp EPOCH related compiler code as they become unreachable after their ast equivalent were removed in a previous PR.
// SysVariable represents built-in system variables that can be referenced in the sql for current date, current time and other potential pre-determinable values.
1694
-
// In SQL these system provided data elements are referenced using keywords such as CURRENT_DATE & CURRENT_TIMESTAMP, etc.
1695
+
// SysVariable represents built-in system variables that can be referenced in
1696
+
// the sql for current date, current time and other potential system determinable
1697
+
// values. In SQL these system provided data elements are referenced using
1698
+
// keywords such as CURRENT_DATE & CURRENT_TIMESTAMP, etc.
1695
1699
typeSysVariablestruct {
1696
1700
NamePosPos// variable position in sql
1697
1701
TokenToken// parser token mapped to the variable's name/keyword
0 commit comments