Skip to content

Commit

Permalink
remove invalid comments
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anshul committed Nov 13, 2024
1 parent 640fe00 commit f1e6c60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/drivers/duckdb/model_executor_sqlstore_self.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (e *sqlStoreToSelfExecutor) ingestFromMySQL(ctx context.Context, inputProps
}
}()

// ingest in a temp table since CRUD APIs can't be called from a WithConnection
// ingest from mysql
userQuery, _ := strings.CutSuffix(inputProps.SQL, ";") // trim trailing semi colon
query := fmt.Sprintf("SELECT * FROM mysql_query('mysql_db', %s)", safeSQLString(userQuery))
if opts.IncrementalRun {
Expand Down

0 comments on commit f1e6c60

Please sign in to comment.