Skip to content

Commit ae3cafc

Browse files
committed
Text-to-SQL: Record Amazon Nova Lite problem in backlog
1 parent 223b695 commit ae3cafc

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

doc/query/nlsql/backlog.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ orphan: true
3030
- Extract NLSQL from LlamaIndex into nlsql2?
3131
- https://pypi.org/project/nlsql/
3232
- https://pypi.org/project/nlsql-api/
33+
- Bug: `WARNING : Denied SQL expression: SELECT DISTINCT c.customer_id, c.name`,
34+
but not because of `SELECT DISTINCT`, but because Amazon's `amazon.nova-2-lite`
35+
adds an explanation like this to the SQL statement, not protected by an SQL
36+
comment or any such.
37+
> This query selects customers who do not have any corresponding entries in
38+
> the `orders` table. It uses a `LEFT JOIN` to combine `customers` with
39+
> `orders`, and filters for rows where `order_id` is `NULL`, indicating no
40+
> orders were placed by that customer. The `DISTINCT` keyword ensures each
41+
> customer is listed only once.
3342
3443
## Iteration +3
3544

0 commit comments

Comments
 (0)