lyndsiWilliams commented on code in PR #19855: URL: https://github.com/apache/superset/pull/19855#discussion_r860310606
########## superset-frontend/src/explore/components/DatasourcePanel/index.tsx: ########## @@ -287,6 +344,175 @@ export default function DataSourcePanel({ [lists.columns, showAllColumns], ); + const handleOverwriteDataset = async () => { + const { sql, results, dbId } = datasource?.sl_dataset?.query; + + await updateDataset( + dbId, + datasetToOverwrite.datasetId, + sql, + // TODO: lyndsiWilliams - Define d Review Comment: I defined d as `any` because I'm not sure what it will be, I wanted to remind myself to define that once data is properly flowing through it and I can figure out what it is. -- 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: notifications-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org