hughhhh commented on code in PR #24248:
URL: https://github.com/apache/superset/pull/24248#discussion_r1212346847
##########
superset/queries/dao.py:
##########
@@ -59,6 +59,8 @@ def update_saved_query_exec_info(query_id: int) -> None:
def save_metadata(query: Query, payload: Dict[str, Any]) -> None:
# pull relevant data from payload and store in extra_json
columns = payload.get("columns", {})
+ for col in columns:
+ col["column_name"] = col.pop("name")
Review Comment:
from the query execution the dict comes back `column[name]`, and decided to
update the naming here before returning it to the client
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]