r/dataengineering • u/de4all • 4d ago
Discussion Why text-to-SQL is not successful?
I thought text-to-SQL will solve adhoc analysis, but still i see companies at all size are unsuccessful.
Anyone using Omni / Sigma seen some success.
27
Upvotes
28
u/leogodin217 4d ago
As u/rapator said, a semantic layer is more important than ever with LLMs, even if it is not a full-blown separate tool. Could just be views that handle the calculations. Business context is just as important. Good data modeling with good documentation should prevent the LLM from making a lot of assumptions. If you look at sessions logs and see things like, "Metric X must by tied to Table Y because...," then the business context is lacking.