fyuan1030 commented on issue #5123: org.antlr.v4.runtime.tree.ErrorNodeImpl cannot be cast to org.antlr.v4.runtime.ParserRuleContext URL: https://github.com/apache/incubator-shardingsphere/issues/5123#issuecomment-612631711 > @fyuan1030 Hi AFAIK, `CURRENT_TIMESTAMP` is a function name for a query in MySQL, so the correct format in SELECT SQL is `select CURRENT_TIMESTAMP()`. > What's the meaning of `CURRENT_TIMESTAMP` in your SQL? @tristaZero hi dear young sister, thanks for your reply, I am sorry that I didn't reply you on time as I have so many things to do; my mysql's version is 5.7.25, I can use **current_time** query timeļ¼ and when I change the position of current_time like this **select ? from tbl_name where ? and current_time between ? and ?** is correct. but this **select ? from tbl_name where current_time between ? and ?** is wrong; 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
