#1955 SELECT .. FETCHPLAN doesn't work in binary protocol #2037
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
It fixes #1955. After change, FETCHPLAN works with binary protocol on two levels
If both are defined SQL FETCHPLAN overrides COMMAND fetch plan.
Since now
SELECT FROM V WHERE name="HEY BO DIDDLEY" FETCHPLAN "*:1"
returns via binary protocol expected
#9:1 v25 V@name:"HEY BO DIDDLEY",song_type:"cover",performances:5,type:"song",out_followed_by:%AQAAAAUACwAAAAAAAAAAAAsAAAAAAAAAAQALAAAAAAAAAAIACwAAAAAAAAADAAsAAAAAAAAABA==;,out_written_by:#9:7,out_sung_by:#9:8,in_followed_by:%AQAAAAQACwAAAAAAAAAKAAsAAAAAAAAAlgALAAAAAAAAChIACwAAAAAAABXG;
-------------- PREFETCHED ---------
#9:7 v19 V@in_written_by:%AQAAAAkACQAAAAAAAAABAAkAAAAAAAAABgAJAAAAAAAAAXEACQAAAAAAAAJDAAkAAAAAAAACQwAJAAAAAAAAAosACQAAAAAAAALJAAkAAAAAAAAC7QAJAAAAAAAAAyM=;,in_sung_by:%AQAAAAcACQAAAAAAAAJDAAkAAAAAAAACQwAJAAAAAAAAAosACQAAAAAAAALJAAkAAAAAAAAC7QAJAAAAAAAAAvwACQAAAAAAAAMj;,name:"Bo_Diddley",type:"artist"
#9:8 v153 V@in_sung_by:%AAAAAAAAAAAcAAAAAAAAAAAAAIAAAAAAkgAAAAA=;,in_written_by:%AQAAAAQACQAAAAAAAAD0AAkAAAAAAAABzQAJAAAAAAAAAdEACQAAAAAAAAHu;,name:"Garcia",type:"artist"
#11:0 v2 followed_by@out:#9:1,in:#9:2,weight:1
#11:1 v2 followed_by@out:#9:1,in:#9:3,weight:2
#11:2 v2 followed_by@out:#9:1,in:#9:4,weight:1
#11:3 v2 followed_by@out:#9:1,in:#9:5,weight:1
#11:4 v2 followed_by@out:#9:1,in:#9:6,weight:1
#11:10 v2 followed_by@out:#9:3,in:#9:1,weight:2
#11:150 v2 followed_by@out:#9:5,in:#9:1,weight:2
#11:2578 v2 followed_by@out:#9:49,in:#9:1,weight:1
#11:5574 v2 followed_by@out:#9:25,in:#9:1,weight:1