Open DaveRMaltby opened 1 year ago
ANSI SQL as defined in SQL:1992 can be found at https://www.contrib.andrew.cmu.edu/~shadow/sql/sql1992.txt. There it describes boolean literals:
<truth value> ::=
TRUE
| FALSE
| UNKNOWN
I am not advocating that we also support the UNKNOWN literal constant. Just TRUE and FALSE.
Although it appears that we support boolean values in the data sources (for example: https://github.com/Servant-Software-LLC/ADO.NET.FileBased.DataProviders/blob/main/tests/Data.Json.Tests/Sources/Folder/employees.json#L6), if we change the INSERT statement in https://github.com/Servant-Software-LLC/ADO.NET.FileBased.DataProviders/blob/main/tests/Data.Tests.Common/InsertTests.cs#L34 to provide the literal true instead of a string quoted literal 'true', then the Irony parsing assumes that it is a simple_id and an exception occurs.