Adding decimal values to costs (#1449)

This commit is contained in:
Aasim Khan
2022-05-09 09:53:36 -07:00
committed by GitHub
parent 2540068998
commit 99d0959291
5 changed files with 18 additions and 9 deletions

View File

@@ -9306,7 +9306,7 @@ namespace Microsoft.SqlTools.ServiceLayer
return Keys.GetString(Keys.MoreThanOneAzureFunctionWithName, functionName, fileName);
}
public static string CostFormat(int x)
public static string CostFormat(string x)
{
return Keys.GetString(Keys.CostFormat, x);
}

View File

@@ -3453,7 +3453,7 @@
<data name="CostFormat" xml:space="preserve">
<value>Cost: {0} %</value>
<comment>&quot;Cost: {0} percent&quot; String to format.
Parameters: 0 - x (int) </comment>
Parameters: 0 - x (string) </comment>
</data>
<data name="RemoteDataAccess" xml:space="preserve">
<value>Remote Data Access</value>

View File

@@ -1646,7 +1646,7 @@ ActualExecModeDesc = Actual Execution Mode
EstimatedExecMode = Estimated Execution Mode
EstimatedExecModeDesc = Estimated Execution Mode
;"Cost: {0} percent" String to format
CostFormat(int x) = Cost: {0} %
CostFormat(string x) = Cost: {0} %
; Remote Data Access
RemoteDataAccess = Remote Data Access
RemoteDataAccessDescription = Whether the operator uses remote procedure call (RPC) to access remote data.