datacamp / antlr-plsql

GNU Affero General Public License v3.0
17 stars 14 forks source link

Parser can't handle using some function names as column id #16

Closed machow closed 7 years ago

machow commented 7 years ago

cc @colinricardo

SELECT date FROM y chokes the parser, but SELECT date1 FROM y doesn't.

machow commented 7 years ago

@colinricardo how much of a priority is this? Do you know if/when it would block course development?

colinricardo commented 7 years ago

@machow not a priority I don't think! A quick fix would be to change the data column in the database to something less offensive like timestamp. Thoughts?

machow commented 7 years ago

Ah, I spaced out and forgot that the column in the db is named date--I'll just fix it this week, since it will probably be an inconvenience throughout the sql courses!

machow commented 7 years ago

a bit easier than expected! Should be updated on sqlwhat-viewer also.