diff --git a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx index 8df7d4a0ceea..85ba2ee0fce9 100644 --- a/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx +++ b/superset-frontend/src/SqlLab/components/SqlEditor/index.tsx @@ -325,6 +325,8 @@ const SqlEditor: FC = ({ const SqlFormExtension = extensionsRegistry.get('sqleditor.extension.form'); + const isTempId = (value: unknown): boolean => Number.isNaN(Number(value)); + const startQuery = useCallback( (ctasArg = false, ctas_method = CtasEnum.Table) => { if (!database) { @@ -915,7 +917,7 @@ const SqlEditor: FC = ({ )} {isActive && (