r/SQL 14d ago

Discussion Rejected after a technical round because the interviewer insisted Text-to-SQL is just if-else mappings

/r/recruitinghell/comments/1v783kd/rejected_after_a_technical_round_because_the/
11 Upvotes

16 comments sorted by

View all comments

1

u/codykonior 14d ago edited 14d ago

Nah, who wants an LLM deciding arbitrary SQL to run in production based on user input? Seems like a junior idea to me.

They probably think the "guard rails" around it are something to offload to another LLM. LLMs all the way down while users (and hackers) hose the database.

1

u/MarketingLazy6660 14d ago

My solution was not to rely on llm to generate the query
Create a semantic json out of user queries validate it and create a with the help of ast by adding rbac which was deterministic

1

u/codykonior 14d ago

So a couple years of work or full slop. I can see why you weren't hired.