Skip to content

Commit

Permalink
Update DatabricksSqlQueryBuilder.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
FirestarJes committed Sep 18, 2024
1 parent d192a86 commit 25951e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ private string PrepareSqlStatement(DatabricksSqlQueryable query, Func<string, st
var translated = TranslateTransactToAnsi(sqlStatement);
var logString = $"Translated SQL: {translated}" + Environment.NewLine + string.Join(Environment.NewLine, sqlParams.Select(x => $"Parameter Name: {x.Key} | Value: {x.Value}"));
_logger ??= _context.GetService<ILoggerFactory>().CreateLogger<DatabricksSqlQueryBuilder>();
_logger.LogDebug(logString);
_logger.LogError(logString);
return translated;
}

Expand Down

0 comments on commit 25951e9

Please sign in to comment.