feat/fix(charts): Normalize qualified SQL column names for display

- Add DataFormat.normalize_qualified_sql_column_keys* so driver keys like
  "_u2.table_name" also expose "table_name", matching chart columns[].value.
- Apply after SQL execution (LLM save path), format_json_list_data (API/history),
  and get_chart_data_ds (live refresh).

Hive prompts: Document explicit table aliases for duplicate column names in JOINs.

Frontend: Add datasource form i18n key "file_path" (en/zh-CN/zh-TW/ko-KR).
Update Hive/SQLite datasource icons. Remove hive from haveSchema list.
This commit is contained in:
yym
2026-05-08 11:53:08 +08:00
committed by ulleo
parent eb587fce7b
commit 1cf4f249ed
4 changed files with 32 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ template:
<note>
1. 点号(.)不能包含在引号内,必须写成 `database`.`table`
2. 即使标识符不含特殊字符或非关键字,也需强制加反引号
3. 在多表关联(JOIN)/ 多子查询的 SQL 中,只要多个表 / 子查询存在 同名字段,所有引用该字段的位置,必须显式指定 表别名
</note>
</rule>