Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Problem you have encountered: The user is using Spanner client libraries for Go to access the Spanner database and wants to get the query plan for a SELECT statement.
What you expected to happen: There should be a way to get a query plan of a select statement using golang.
This can be achieved in Node.js by using queryMode properties when running the method
executeSql
.The values :
queryMode
can have threeNORMAL: The default mode. Only the statement results are returned.
PLAN: This mode returns only the query plan, without any results or execution statistics information.
PROFILE: This mode returns both the query plan and the execution statistics along with the results.
Other information (workarounds you have tried, documentation consulted, etc):