How can we test in continuous the semantic layer? #372
Replies: 1 comment 6 replies
-
Hi @mchl-schrdng thanks for opening this discussion and sharing your opinions with us!
We're indeed working on a feature that would scan schema conflicts between semantic definitions and the data source. The scan could be triggered manually by user or by background process on daily basis. We're working on it in this PR: #339. The idea is to check if any tables/columns used in semantic definitions got deleted or altered and show warnings on our UI.
Didn't know Looker does that. Thanks for sharing! Feel free to share more with us. |
Beta Was this translation helpful? Give feedback.
-
Utilizing a semantic layer for large language model (LLM) usage is highly beneficial. However, what if there's an error in the database? What if the schema is not synchronized with the semantic definition? One straightforward solution could be to employ the semantic layer to execute a generic SQL statement with a limit of zero, thereby incurring no cost. This approach would help identify any errors in the layer. In other tools like Looker, this test is run during pull requests or on a daily basis to detect any mismatches between the semantic layer and the underlying database. It would be advantageous to have this feature integrated into the LLM system as well.
Beta Was this translation helpful? Give feedback.
All reactions