Commit 5df4654
fix(chat): Normalize driver column keys (e.g. _u2.col → col) for chart/table binding
Backend:
- common/utils/data_format.py: normalize_qualified_sql_column_keys helpers
- apps/chat/curd/chat.py: format_json_list_data + get_chart_data_ds
- apps/chat/task/llm.py: persist normalized rows after SQL exec
- templates/sql_examples/Hive.yaml: JOIN / duplicate column alias note
Frontend — assets:
- src/assets/datasource/icon_hive.png
- src/assets/datasource/icon_sqlite.png
Frontend — i18n (datasource.form.file_path):
- src/i18n/en.json
- src/i18n/zh-CN.json
- src/i18n/zh-TW.json
- src/i18n/ko-KR.json
Frontend — datasource types:
- src/views/ds/js/ds-type.ts: haveSchema list (remove hive)1 parent 1cf4f24 commit 5df4654
7 files changed
Lines changed: 9 additions & 5 deletions
File tree
- frontend/src
- assets/datasource
- i18n
- views/ds/js
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
395 | 395 | | |
396 | 396 | | |
397 | 397 | | |
398 | | - | |
| 398 | + | |
| 399 | + | |
399 | 400 | | |
400 | 401 | | |
401 | 402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
0 commit comments