Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I get that SQL text searches are miserable to write, but it would have flagged it properly in the example.

The text says, "...no leaks..." The case statement says, "...AND LOWER(claim_text) NOT LIKE '%no leak%...'"

It would've properly been marked as a "0".



I thought the same. Having said that, the parenthesis in the example are really wrong for what they were trying to convey. I suspect that they built this sql sample for the document and made some mistakes in its generation.

Perhaps I could say, it isn't just generated--it is also hallucinated!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: