github.com/dolthub/go-mysql-server@v0.18.0/enginetest/queries/index_queries.go (about)

     1  // Copyright 2021 Dolthub, Inc.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  package queries
    16  
    17  import (
    18  	"github.com/dolthub/go-mysql-server/sql"
    19  	"github.com/dolthub/go-mysql-server/sql/plan"
    20  	"github.com/dolthub/go-mysql-server/sql/types"
    21  )
    22  
    23  var ComplexIndexQueries = []QueryTest{
    24  	{
    25  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<25) OR (v1>24));`,
    26  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    27  	},
    28  	{
    29  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=99 AND v2<>83) OR (v1>=1));`,
    30  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    31  	},
    32  	{
    33  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=38 AND v2<41) OR (v1>60)) OR (v1<22));`,
    34  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{33, 34, 22}, sql.Row{83, 80, 61}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{36, 38, 20}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    35  	},
    36  	{
    37  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>92 AND v2>25) OR (v1 BETWEEN 6 AND 24 AND v2=80));`,
    38  		Expected: []sql.Row{sql.Row{100, 98, 61}, sql.Row{99, 98, 51}, sql.Row{97, 93, 96}},
    39  	},
    40  	{
    41  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=29) OR (v1=49 AND v2<48));`,
    42  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{15, 14, 57}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{24, 24, 60}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{28, 27, 24}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{18, 16, 53}},
    43  	},
    44  	{
    45  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>75) OR (v1<=11));`,
    46  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    47  	},
    48  	{
    49  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=86) OR (v1<>9)) AND (v1=87 AND v2<=45);`,
    50  		Expected: []sql.Row{},
    51  	},
    52  	{
    53  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=5) OR (v1=71)) OR (v1<>96));`,
    54  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    55  	},
    56  	{
    57  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=97) OR (v1 BETWEEN 36 AND 98));`,
    58  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    59  	},
    60  	{
    61  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=86 AND v2>41) OR (v1<>6 AND v2>16));`,
    62  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{64, 59, 29}, sql.Row{96, 93, 21}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
    63  	},
    64  	{
    65  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<>22 AND v2>18) OR (v1<>12)) OR (v1<=34));`,
    66  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    67  	},
    68  	{
    69  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<11) OR (v1>=66 AND v2=22));`,
    70  		Expected: []sql.Row{sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{1, 0, 52}, sql.Row{8, 6, 51}, sql.Row{6, 5, 60}},
    71  	},
    72  	{
    73  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>45 AND v2>37) OR (v1<98 AND v2<=35));`,
    74  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    75  	},
    76  	{
    77  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=16 AND v2>96) OR (v1<80));`,
    78  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
    79  	},
    80  	{
    81  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=98) OR (v1<85 AND v2>60)) OR (v1<>53 AND v2 BETWEEN 82 AND 89));`,
    82  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    83  	},
    84  	{
    85  		Query:    `SELECT * FROM comp_index_t0 WHERE (((((v1<71 AND v2<7) OR (v1<=21 AND v2<=48)) OR (v1=44 AND v2 BETWEEN 21 AND 83)) OR (v1<=72 AND v2<>27)) OR (v1=35 AND v2 BETWEEN 78 AND 89));`,
    86  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
    87  	},
    88  	{
    89  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=16) OR (v1>=77 AND v2>77)) OR (v1>19 AND v2>27));`,
    90  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{64, 59, 29}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
    91  	},
    92  	{
    93  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=46) AND (v1>=28 AND v2<>68) OR (v1>=33 AND v2<>39));`,
    94  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
    95  	},
    96  	{
    97  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<39 AND v2<10) OR (v1>64 AND v2<=15)) AND (v1>=41);`,
    98  		Expected: []sql.Row{sql.Row{85, 81, 4}, sql.Row{89, 84, 9}, sql.Row{80, 78, 0}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{94, 89, 3}},
    99  	},
   100  	{
   101  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=91) OR (v1<70 AND v2>=23)) OR (v1>23 AND v2<38));`,
   102  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}},
   103  	},
   104  	{
   105  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1<>45 AND v2=70) OR (v1 BETWEEN 40 AND 96 AND v2 BETWEEN 48 AND 96)) OR (v1<>87 AND v2<31)) OR (v1<>62 AND v2=51)) AND (v1>=47 AND v2<29);`,
   106  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{85, 81, 4}, sql.Row{62, 58, 12}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{68, 61, 3}, sql.Row{52, 48, 22}, sql.Row{53, 49, 0}, sql.Row{95, 93, 19}, sql.Row{89, 84, 9}, sql.Row{51, 47, 5}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{70, 63, 19}, sql.Row{94, 89, 3}},
   107  	},
   108  	{
   109  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<71) OR (v1 BETWEEN 46 AND 79));`,
   110  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
   111  	},
   112  	{
   113  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>52) OR (v1<=14));`,
   114  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   115  	},
   116  	{
   117  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>74) OR (v1<>40 AND v2>=54));`,
   118  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   119  	},
   120  	{
   121  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=69 AND v2<24) OR (v1<77 AND v2<=53));`,
   122  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{0, 0, 48}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{77, 72, 52}, sql.Row{33, 34, 22}, sql.Row{63, 58, 32}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{28, 27, 24}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{18, 16, 53}, sql.Row{36, 38, 20}},
   123  	},
   124  	{
   125  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=78 AND v2=87) OR (v1 BETWEEN 37 AND 58 AND v2>=30)) AND (v1=86 AND v2 BETWEEN 0 AND 70);`,
   126  		Expected: []sql.Row{},
   127  	},
   128  	{
   129  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>94) OR (v1<=52));`,
   130  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   131  	},
   132  	{
   133  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<>23 AND v2>64) OR (v1>73 AND v2<=66)) OR (v1 BETWEEN 39 AND 69 AND v2>84));`,
   134  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{92, 86, 88}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{79, 76, 39}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{10, 6, 73}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{67, 60, 66}, sql.Row{89, 84, 9}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{23, 19, 97}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{22, 19, 75}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   135  	},
   136  	{
   137  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>54 AND v2<16) OR (v1<74 AND v2>29)) AND (v1 BETWEEN 34 AND 48);`,
   138  		Expected: []sql.Row{sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{47, 45, 31}, sql.Row{45, 44, 67}, sql.Row{43, 43, 63}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{44, 44, 48}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}},
   139  	},
   140  	{
   141  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>44 AND v2>12) OR (v1<=5 AND v2>27));`,
   142  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{52, 48, 22}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{64, 59, 29}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{25, 25, 14}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   143  	},
   144  	{
   145  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=54 AND v2<>13) OR (v1>84));`,
   146  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   147  	},
   148  	{
   149  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>1 AND v2<>51) OR (v1=28));`,
   150  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   151  	},
   152  	{
   153  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1>35) OR (v1 BETWEEN 11 AND 21)) OR (v1<>98));`,
   154  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   155  	},
   156  	{
   157  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=16 AND v2=57) OR (v1<46 AND v2 BETWEEN 78 AND 89));`,
   158  		Expected: []sql.Row{sql.Row{49, 45, 86}, sql.Row{30, 28, 83}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{42, 42, 82}},
   159  	},
   160  	{
   161  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<53 AND v2<10) AND (v1<>37) OR (v1>23));`,
   162  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   163  	},
   164  	{
   165  		Query:    `SELECT * FROM comp_index_t0 WHERE (((((v1<>30) OR (v1>=6 AND v2 BETWEEN 62 AND 65)) OR (v1<>89)) OR (v1<=40 AND v2>=73)) OR (v1<99));`,
   166  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   167  	},
   168  	{
   169  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 34 AND 34 AND v2 BETWEEN 0 AND 91) OR (v1 BETWEEN 54 AND 77 AND v2>92));`,
   170  		Expected: []sql.Row{sql.Row{73, 65, 97}, sql.Row{33, 34, 22}, sql.Row{74, 67, 95}, sql.Row{34, 34, 91}},
   171  	},
   172  	{
   173  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((((v1<=55) OR (v1>=46 AND v2<=26)) OR (v1 BETWEEN 8 AND 54)) OR (v1>26 AND v2 BETWEEN 62 AND 89)) OR (v1<31 AND v2=11)) OR (v1>9 AND v2=60));`,
   174  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{78, 74, 81}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}},
   175  	},
   176  	{
   177  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 17 AND 54 AND v2>=37) AND (v1<42 AND v2=96) OR (v1<>50));`,
   178  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   179  	},
   180  	{
   181  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>39 AND v2>66) OR (v1=99));`,
   182  		Expected: []sql.Row{sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{92, 86, 88}, sql.Row{45, 44, 67}, sql.Row{73, 65, 97}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{84, 80, 88}, sql.Row{71, 63, 69}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   183  	},
   184  	{
   185  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 24 AND 66) OR (v1<=81 AND v2<>29));`,
   186  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
   187  	},
   188  	{
   189  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<>18 AND v2<>8) OR (v1>=10 AND v2>3)) OR (v1=53));`,
   190  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   191  	},
   192  	{
   193  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=42 AND v2>34) OR (v1<=40 AND v2<=49));`,
   194  		Expected: []sql.Row{sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{2, 2, 4}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{33, 34, 22}, sql.Row{83, 80, 61}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{48, 45, 63}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{71, 63, 69}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   195  	},
   196  	{
   197  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 8 AND 38) OR (v1>=23 AND v2 BETWEEN 36 AND 49));`,
   198  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{50, 46, 46}, sql.Row{15, 14, 57}, sql.Row{16, 14, 98}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{57, 54, 38}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{65, 59, 45}, sql.Row{13, 13, 44}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}},
   199  	},
   200  	{
   201  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>57 AND v2 BETWEEN 2 AND 93) OR (v1=52));`,
   202  		Expected: []sql.Row{sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{30, 28, 83}, sql.Row{69, 61, 34}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}},
   203  	},
   204  	{
   205  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1<24) OR (v1<41)) OR (v1<12 AND v2=2)) OR (v1=3 AND v2<>66));`,
   206  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{15, 14, 57}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}},
   207  	},
   208  	{
   209  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=52 AND v2<40) AND (v1<30) OR (v1<=75 AND v2 BETWEEN 54 AND 54)) OR (v1<>31 AND v2<>56));`,
   210  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   211  	},
   212  	{
   213  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>52 AND v2<90) OR (v1 BETWEEN 27 AND 77 AND v2 BETWEEN 49 AND 83));`,
   214  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{78, 74, 81}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}},
   215  	},
   216  	{
   217  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>2) OR (v1<72 AND v2>=21)) AND (v1=69 AND v2 BETWEEN 44 AND 48);`,
   218  		Expected: []sql.Row{},
   219  	},
   220  	{
   221  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1>77) OR (v1=57)) OR (v1>9 AND v2>80)) OR (v1=22));`,
   222  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{92, 86, 88}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{93, 87, 51}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{89, 84, 9}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{23, 19, 97}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{60, 57, 29}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   223  	},
   224  	{
   225  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1>28) OR (v1<=30 AND v2=30)) OR (v1<29)) OR (v1 BETWEEN 54 AND 74));`,
   226  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   227  	},
   228  	{
   229  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>30 AND v2 BETWEEN 20 AND 41) OR (v1>=69 AND v2=51));`,
   230  		Expected: []sql.Row{sql.Row{5, 5, 36}, sql.Row{47, 45, 31}, sql.Row{87, 83, 30}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{52, 48, 22}, sql.Row{69, 61, 34}, sql.Row{82, 79, 36}, sql.Row{20, 18, 31}, sql.Row{56, 51, 35}, sql.Row{33, 34, 22}, sql.Row{63, 58, 32}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{28, 27, 24}, sql.Row{64, 59, 29}, sql.Row{96, 93, 21}, sql.Row{32, 33, 39}, sql.Row{99, 98, 51}, sql.Row{60, 57, 29}, sql.Row{36, 38, 20}},
   231  	},
   232  	{
   233  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>39) OR (v1=55)) AND (v1=67);`,
   234  		Expected: []sql.Row{sql.Row{74, 67, 95}},
   235  	},
   236  	{
   237  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<20 AND v2<=46) OR (v1<>4 AND v2=26)) OR (v1>36 AND v2<>13));`,
   238  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{17, 16, 19}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   239  	},
   240  	{
   241  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=5 AND v2>66) OR (v1<=0)) OR (v1 BETWEEN 10 AND 87));`,
   242  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
   243  	},
   244  	{
   245  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((((v1<>99 AND v2 BETWEEN 12 AND 31) OR (v1<56 AND v2<>69)) OR (v1>=37 AND v2<47)) OR (v1<=98 AND v2=50)) AND (v1 BETWEEN 15 AND 47) OR (v1>55 AND v2>85)) OR (v1>86));`,
   246  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{81, 78, 90}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   247  	},
   248  	{
   249  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<37) OR (v1<=48 AND v2<=54)) OR (v1=88));`,
   250  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{28, 27, 24}, sql.Row{51, 47, 5}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}},
   251  	},
   252  	{
   253  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<>31) OR (v1<>43)) OR (v1>37 AND v2>5));`,
   254  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   255  	},
   256  	{
   257  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=91) OR (v1<>79)) OR (v1<64));`,
   258  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   259  	},
   260  	{
   261  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>48) OR (v1>11));`,
   262  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   263  	},
   264  	{
   265  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>40) OR (v1>=49 AND v2>=92));`,
   266  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   267  	},
   268  	{
   269  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1<40) OR (v1<=59)) OR (v1<99)) AND (v1>=83) OR (v1>9));`,
   270  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   271  	},
   272  	{
   273  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=53 AND v2<=79) OR (v1>50 AND v2>26)) AND (v1>26) AND (v1>43 AND v2<7);`,
   274  		Expected: []sql.Row{sql.Row{54, 50, 0}, sql.Row{53, 49, 0}, sql.Row{51, 47, 5}},
   275  	},
   276  	{
   277  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 27 AND 84) OR (v1<98 AND v2>38)) OR (v1<>30));`,
   278  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   279  	},
   280  	{
   281  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=45) OR (v1=28));`,
   282  		Expected: []sql.Row{sql.Row{49, 45, 86}, sql.Row{47, 45, 31}, sql.Row{46, 45, 22}, sql.Row{30, 28, 83}, sql.Row{29, 28, 24}, sql.Row{48, 45, 63}},
   283  	},
   284  	{
   285  		Query:    `SELECT * FROM comp_index_t0 WHERE (v1 BETWEEN 11 AND 18) AND (v1>31 AND v2 BETWEEN 38 AND 88);`,
   286  		Expected: []sql.Row{},
   287  	},
   288  	{
   289  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>95 AND v2>5) OR (v1>16 AND v2>=38));`,
   290  		Expected: []sql.Row{sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{23, 19, 97}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{22, 19, 75}, sql.Row{44, 44, 48}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   291  	},
   292  	{
   293  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=23) OR (v1=47 AND v2>23));`,
   294  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   295  	},
   296  	{
   297  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=30) OR (v1<>67));`,
   298  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   299  	},
   300  	{
   301  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=30 AND v2>=67) OR (v1<=52));`,
   302  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{73, 65, 97}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   303  	},
   304  	{
   305  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 48 AND 86 AND v2>=29) OR (v1<>82 AND v2<=93)) OR (v1 BETWEEN 79 AND 87 AND v2 BETWEEN 13 AND 69));`,
   306  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}},
   307  	},
   308  	{
   309  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 3 AND 95 AND v2>=36) OR (v1>=40 AND v2<13)) OR (v1 BETWEEN 4 AND 8 AND v2=50));`,
   310  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{54, 50, 0}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{13, 13, 44}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{23, 19, 97}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{80, 78, 0}, sql.Row{98, 98, 0}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{44, 44, 48}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   311  	},
   312  	{
   313  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<11 AND v2<>32) OR (v1 BETWEEN 35 AND 41)) OR (v1>=76));`,
   314  		Expected: []sql.Row{sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{92, 86, 88}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{79, 76, 39}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{89, 84, 9}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{36, 38, 20}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   315  	},
   316  	{
   317  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=15 AND v2=8) AND (v1>2) OR (v1 BETWEEN 50 AND 97));`,
   318  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{65, 59, 45}, sql.Row{95, 93, 19}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   319  	},
   320  	{
   321  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<67 AND v2<>39) OR (v1>36));`,
   322  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   323  	},
   324  	{
   325  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>66) OR (v1<50));`,
   326  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   327  	},
   328  	{
   329  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 5 AND 19) OR (v1<>50 AND v2>=51)) OR (v1>55));`,
   330  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   331  	},
   332  	{
   333  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 16 AND 65) OR (v1<>18 AND v2>=81)) OR (v1 BETWEEN 6 AND 48));`,
   334  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   335  	},
   336  	{
   337  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1>=31 AND v2>=55) OR (v1 BETWEEN 1 AND 28)) OR (v1 BETWEEN 26 AND 41 AND v2<=15));`,
   338  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{100, 98, 61}, sql.Row{13, 13, 44}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   339  	},
   340  	{
   341  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<=77 AND v2 BETWEEN 4 AND 26) OR (v1<=1 AND v2<>20)) OR (v1>8 AND v2>40));`,
   342  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{55, 50, 14}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{0, 0, 48}, sql.Row{11, 9, 44}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   343  	},
   344  	{
   345  		Query:    `SELECT * FROM comp_index_t0 WHERE (((((v1=37 AND v2>32) OR (v1>13 AND v2>51)) AND (v1 BETWEEN 8 AND 19) OR (v1<>4)) OR (v1<=58 AND v2<>70)) OR (v1<87 AND v2>=24));`,
   346  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   347  	},
   348  	{
   349  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1<>50) OR (v1<=88)) OR (v1>=28 AND v2 BETWEEN 30 AND 85));`,
   350  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   351  	},
   352  	{
   353  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=94) OR (v1<=87));`,
   354  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   355  	},
   356  	{
   357  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<>56 AND v2<93) OR (v1<73 AND v2<=70));`,
   358  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}},
   359  	},
   360  	{
   361  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1>=85) OR (v1=91)) OR (v1<88 AND v2<42)) OR (v1<>42 AND v2<=10));`,
   362  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{82, 79, 36}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{56, 51, 35}, sql.Row{89, 84, 9}, sql.Row{33, 34, 22}, sql.Row{63, 58, 32}, sql.Row{17, 16, 19}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{28, 27, 24}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{99, 98, 51}, sql.Row{31, 31, 14}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{36, 38, 20}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   363  	},
   364  	{
   365  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>42 AND v2<=13) OR (v1=7));`,
   366  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{85, 81, 4}, sql.Row{62, 58, 12}, sql.Row{54, 50, 0}, sql.Row{68, 61, 3}, sql.Row{53, 49, 0}, sql.Row{89, 84, 9}, sql.Row{51, 47, 5}, sql.Row{80, 78, 0}, sql.Row{98, 98, 0}, sql.Row{75, 68, 11}, sql.Row{94, 89, 3}},
   367  	},
   368  	{
   369  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1=63) OR (v1 BETWEEN 55 AND 82 AND v2 BETWEEN 0 AND 6)) OR (v1=46));`,
   370  		Expected: []sql.Row{sql.Row{58, 56, 0}, sql.Row{85, 81, 4}, sql.Row{50, 46, 46}, sql.Row{68, 61, 3}, sql.Row{80, 78, 0}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}},
   371  	},
   372  	{
   373  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 20 AND 77 AND v2>=49) OR (v1<13));`,
   374  		Expected: []sql.Row{sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{66, 59, 54}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{73, 65, 97}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{43, 43, 63}, sql.Row{1, 0, 52}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{6, 5, 60}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}},
   375  	},
   376  	{
   377  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1>=72) OR (v1<49 AND v2<>36)) OR (v1>=10 AND v2<1));`,
   378  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   379  	},
   380  	{
   381  		Query:    `SELECT * FROM comp_index_t0 WHERE (((v1 BETWEEN 18 AND 87) OR (v1>=42 AND v2>44)) OR (v1<26 AND v2<=55)) AND (v1<=21);`,
   382  		Expected: []sql.Row{sql.Row{3, 2, 10}, sql.Row{5, 5, 36}, sql.Row{21, 19, 48}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{2, 2, 4}, sql.Row{0, 0, 48}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{22, 19, 75}, sql.Row{18, 16, 53}},
   383  	},
   384  	{
   385  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>98 AND v2<75) OR (v1=47));`,
   386  		Expected: []sql.Row{sql.Row{51, 47, 5}},
   387  	},
   388  	{
   389  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=57 AND v2>=43) OR (v1<27 AND v2<>3));`,
   390  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{15, 14, 57}, sql.Row{16, 14, 98}, sql.Row{21, 19, 48}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{59, 56, 60}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{25, 25, 14}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{44, 44, 48}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}},
   391  	},
   392  	{
   393  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 16 AND 45 AND v2=22) OR (v1>=87 AND v2=48));`,
   394  		Expected: []sql.Row{sql.Row{46, 45, 22}, sql.Row{33, 34, 22}},
   395  	},
   396  	{
   397  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 45 AND 74 AND v2<=74) OR (v1<>48 AND v2>58));`,
   398  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{10, 6, 73}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{23, 19, 97}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   399  	},
   400  	{
   401  		Query:    `SELECT * FROM comp_index_t0 WHERE ((((v1<32 AND v2>=79) OR (v1<=28)) OR (v1 BETWEEN 46 AND 72)) OR (v1>16));`,
   402  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   403  	},
   404  	{
   405  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<10) OR (v1<89));`,
   406  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
   407  	},
   408  	{
   409  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1>=64 AND v2>=69) OR (v1>=2));`,
   410  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{85, 81, 4}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{93, 87, 51}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{95, 93, 19}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{89, 84, 9}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{80, 78, 0}, sql.Row{86, 82, 16}, sql.Row{96, 93, 21}, sql.Row{98, 98, 0}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{75, 68, 11}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}, sql.Row{94, 89, 3}, sql.Row{97, 93, 96}},
   411  	},
   412  	{
   413  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1<=65) OR (v1<64));`,
   414  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{58, 56, 0}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{3, 2, 10}, sql.Row{49, 45, 86}, sql.Row{5, 5, 36}, sql.Row{9, 6, 60}, sql.Row{50, 46, 46}, sql.Row{62, 58, 12}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{54, 50, 0}, sql.Row{55, 50, 14}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{68, 61, 3}, sql.Row{4, 3, 35}, sql.Row{7, 6, 1}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{2, 2, 4}, sql.Row{12, 9, 97}, sql.Row{30, 28, 83}, sql.Row{53, 49, 0}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{0, 0, 48}, sql.Row{10, 6, 73}, sql.Row{11, 9, 44}, sql.Row{20, 18, 31}, sql.Row{41, 42, 0}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{1, 0, 52}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{39, 39, 86}, sql.Row{8, 6, 51}, sql.Row{14, 14, 53}, sql.Row{17, 16, 19}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{51, 47, 5}, sql.Row{64, 59, 29}, sql.Row{25, 25, 14}, sql.Row{27, 27, 9}, sql.Row{32, 33, 39}, sql.Row{6, 5, 60}, sql.Row{22, 19, 75}, sql.Row{31, 31, 14}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{70, 63, 19}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{36, 38, 20}, sql.Row{42, 42, 82}},
   415  	},
   416  	{
   417  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1=46) OR (v1>9 AND v2>=22));`,
   418  		Expected: []sql.Row{sql.Row{19, 16, 95}, sql.Row{61, 57, 49}, sql.Row{72, 65, 80}, sql.Row{49, 45, 86}, sql.Row{50, 46, 46}, sql.Row{92, 86, 88}, sql.Row{15, 14, 57}, sql.Row{47, 45, 31}, sql.Row{87, 83, 30}, sql.Row{91, 86, 56}, sql.Row{16, 14, 98}, sql.Row{66, 59, 54}, sql.Row{76, 69, 34}, sql.Row{79, 76, 39}, sql.Row{21, 19, 48}, sql.Row{46, 45, 22}, sql.Row{57, 54, 38}, sql.Row{93, 87, 51}, sql.Row{45, 44, 67}, sql.Row{52, 48, 22}, sql.Row{30, 28, 83}, sql.Row{69, 61, 34}, sql.Row{73, 65, 97}, sql.Row{90, 84, 45}, sql.Row{82, 79, 36}, sql.Row{20, 18, 31}, sql.Row{43, 43, 63}, sql.Row{65, 59, 45}, sql.Row{100, 98, 61}, sql.Row{13, 13, 44}, sql.Row{56, 51, 35}, sql.Row{59, 56, 60}, sql.Row{67, 60, 66}, sql.Row{77, 72, 52}, sql.Row{24, 24, 60}, sql.Row{33, 34, 22}, sql.Row{35, 35, 89}, sql.Row{63, 58, 32}, sql.Row{83, 80, 61}, sql.Row{39, 39, 86}, sql.Row{14, 14, 53}, sql.Row{23, 19, 97}, sql.Row{26, 25, 31}, sql.Row{29, 28, 24}, sql.Row{38, 39, 55}, sql.Row{40, 40, 97}, sql.Row{74, 67, 95}, sql.Row{78, 74, 81}, sql.Row{81, 78, 90}, sql.Row{88, 83, 74}, sql.Row{28, 27, 24}, sql.Row{37, 38, 66}, sql.Row{48, 45, 63}, sql.Row{64, 59, 29}, sql.Row{32, 33, 39}, sql.Row{84, 80, 88}, sql.Row{99, 98, 51}, sql.Row{22, 19, 75}, sql.Row{44, 44, 48}, sql.Row{60, 57, 29}, sql.Row{71, 63, 69}, sql.Row{18, 16, 53}, sql.Row{34, 34, 91}, sql.Row{42, 42, 82}, sql.Row{97, 93, 96}},
   419  	},
   420  	{
   421  		Query:    `SELECT * FROM comp_index_t0 WHERE ((v1 BETWEEN 21 AND 33 AND v2>25) OR (v1<0));`,
   422  		Expected: []sql.Row{sql.Row{30, 28, 83}, sql.Row{24, 24, 60}, sql.Row{26, 25, 31}, sql.Row{32, 33, 39}},
   423  	},
   424  	{
   425  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>87 AND v2 BETWEEN 8 AND 33) OR (v1 BETWEEN 39 AND 69 AND v3<4));`,
   426  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{27, 23, 13, 53}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{13, 10, 16, 21}, sql.Row{25, 21, 9, 89}, sql.Row{4, 5, 17, 42}, sql.Row{29, 23, 28, 90}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{55, 49, 26, 11}, sql.Row{99, 98, 31, 21}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{69, 61, 11, 25}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   427  	},
   428  	{
   429  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=55 AND v2>=72 AND v3=63) AND (v1<>54 AND v2 BETWEEN 3 AND 80) OR (v1=15)) AND (v1<>50);`,
   430  		Expected: []sql.Row{sql.Row{22, 15, 2, 69}},
   431  	},
   432  	{
   433  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<93 AND v2<39 AND v3 BETWEEN 30 AND 97) OR (v1>54)) OR (v1<66));`,
   434  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   435  	},
   436  	{
   437  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>59 AND v2<=15) OR (v1 BETWEEN 2 AND 51)) OR (v1>15 AND v2 BETWEEN 31 AND 81));`,
   438  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   439  	},
   440  	{
   441  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<3 AND v2<>23 AND v3<>11) OR (v1<>49)) AND (v1<=41 AND v2>40);`,
   442  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{6, 6, 81, 33}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{21, 14, 91, 1}, sql.Row{39, 29, 77, 46}},
   443  	},
   444  	{
   445  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 28 AND 38 AND v3<33) OR (v1 BETWEEN 75 AND 85)) AND (v1>=60) OR (v1>=53 AND v2 BETWEEN 36 AND 53 AND v3>48));`,
   446  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{84, 82, 11, 6}, sql.Row{80, 75, 91, 35}, sql.Row{81, 76, 40, 52}, sql.Row{82, 76, 44, 87}, sql.Row{85, 82, 46, 32}, sql.Row{87, 84, 93, 37}, sql.Row{86, 84, 40, 8}, sql.Row{83, 81, 32, 4}},
   447  	},
   448  	{
   449  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<6 AND v2<>44) OR (v1 BETWEEN 27 AND 96)) OR (v1>22 AND v2<>30 AND v3<49));`,
   450  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   451  	},
   452  	{
   453  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>29 AND v2=40) OR (v1<=74)) OR (v1<13 AND v2 BETWEEN 27 AND 82 AND v3<82));`,
   454  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   455  	},
   456  	{
   457  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>6 AND v2 BETWEEN 0 AND 97) OR (v1<>40 AND v3<10 AND v2<>10));`,
   458  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   459  	},
   460  	{
   461  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>=35) OR (v1=86)) OR (v1>41 AND v2>=92)) OR (v1<>28));`,
   462  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   463  	},
   464  	{
   465  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<16 AND v3=63 AND v2>=20) OR (v1<>41)) OR (v1<=74 AND v3 BETWEEN 14 AND 74 AND v2<>13));`,
   466  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   467  	},
   468  	{
   469  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1 BETWEEN 1 AND 11) OR (v1>2 AND v3<=93 AND v2 BETWEEN 28 AND 84)) OR (v1 BETWEEN 34 AND 52 AND v2=73)) OR (v1<>80 AND v2<=32 AND v3 BETWEEN 3 AND 7));`,
   470  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   471  	},
   472  	{
   473  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<45) OR (v1<>72)) OR (v1 BETWEEN 10 AND 86 AND v2=92)) OR (v1 BETWEEN 32 AND 81 AND v2>59));`,
   474  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   475  	},
   476  	{
   477  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=11 AND v2>50 AND v3 BETWEEN 5 AND 67) AND (v1>74 AND v2 BETWEEN 6 AND 63 AND v3<=1) OR (v1>=53 AND v2>69 AND v3>54));`,
   478  		Expected: []sql.Row{sql.Row{97, 95, 89, 66}, sql.Row{61, 55, 81, 80}},
   479  	},
   480  	{
   481  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>9) OR (v1>14 AND v2>10));`,
   482  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   483  	},
   484  	{
   485  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<=39 AND v2 BETWEEN 17 AND 34) OR (v1=89 AND v3>49 AND v2>58)) OR (v1>97));`,
   486  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{4, 5, 17, 42}, sql.Row{29, 23, 28, 90}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{99, 98, 31, 21}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   487  	},
   488  	{
   489  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<7 AND v2<>43) OR (v1<>5 AND v3<0 AND v2<1));`,
   490  		Expected: []sql.Row{sql.Row{2, 3, 38, 37}, sql.Row{3, 3, 99, 99}, sql.Row{1, 2, 65, 9}, sql.Row{6, 6, 81, 33}, sql.Row{4, 5, 17, 42}, sql.Row{5, 6, 6, 76}, sql.Row{0, 0, 3, 16}},
   491  	},
   492  	{
   493  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>30 AND v2 BETWEEN 23 AND 60 AND v3=58) OR (v1<=3 AND v2 BETWEEN 68 AND 72)) OR (v1<=17)) OR (v1>6 AND v2>=24)) AND (v1<89 AND v2=73);`,
   494  		Expected: []sql.Row{sql.Row{73, 66, 73, 4}},
   495  	},
   496  	{
   497  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>27) OR (v1>=22 AND v2>99 AND v3>=43));`,
   498  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   499  	},
   500  	{
   501  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>25 AND v2 BETWEEN 1 AND 82) OR (v1>31 AND v2=86));`,
   502  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{93, 90, 30, 67}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   503  	},
   504  	{
   505  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>12 AND v2<60 AND v3=91) OR (v1>63 AND v2>=8 AND v3<>32)) OR (v1>35 AND v3>=98));`,
   506  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{41, 31, 47, 91}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{73, 66, 73, 4}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   507  	},
   508  	{
   509  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>27 AND v3=10) OR (v1>=25 AND v2<26)) AND (v1>=62 AND v2<=96 AND v3>28);`,
   510  		Expected: []sql.Row{sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}},
   511  	},
   512  	{
   513  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>30 AND v2=40 AND v3 BETWEEN 35 AND 35) OR (v1 BETWEEN 20 AND 77 AND v2>=56 AND v3>62));`,
   514  		Expected: []sql.Row{sql.Row{47, 36, 84, 75}, sql.Row{78, 72, 65, 64}, sql.Row{49, 38, 88, 68}, sql.Row{52, 42, 80, 85}, sql.Row{59, 54, 57, 83}, sql.Row{61, 55, 81, 80}},
   515  	},
   516  	{
   517  		Query:    `SELECT * FROM comp_index_t1 WHERE (((((v1<=92 AND v3=0 AND v2>=9) OR (v1 BETWEEN 48 AND 79)) OR (v1>70 AND v2<=26 AND v3 BETWEEN 14 AND 82)) OR (v1>=29 AND v2<>21 AND v3 BETWEEN 37 AND 55)) OR (v1>=6 AND v3<=47));`,
   518  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{18, 13, 47, 30}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{30, 23, 30, 44}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   519  	},
   520  	{
   521  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=15 AND v2>28) OR (v1<=84 AND v2<>91));`,
   522  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   523  	},
   524  	{
   525  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=49 AND v2<=52 AND v3 BETWEEN 23 AND 38) OR (v1 BETWEEN 30 AND 84 AND v2=94));`,
   526  		Expected: []sql.Row{},
   527  	},
   528  	{
   529  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 8 AND 18) OR (v1=27 AND v2<=4 AND v3<14));`,
   530  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{22, 15, 2, 69}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{15, 10, 47, 36}, sql.Row{9, 8, 9, 21}, sql.Row{10, 8, 37, 90}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{20, 14, 38, 24}},
   531  	},
   532  	{
   533  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=4) OR (v1=0 AND v2<=63));`,
   534  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   535  	},
   536  	{
   537  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1<=99 AND v2<>86) AND (v1>=21 AND v2>36);`,
   538  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{87, 84, 93, 37}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
   539  	},
   540  	{
   541  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>43) OR (v1=14));`,
   542  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   543  	},
   544  	{
   545  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1 BETWEEN 21 AND 44 AND v2 BETWEEN 18 AND 88 AND v3=42) AND (v1>=52 AND v2>37 AND v3 BETWEEN 26 AND 91);`,
   546  		Expected: []sql.Row{},
   547  	},
   548  	{
   549  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>29 AND v2>93 AND v3<64) OR (v1<>54 AND v2>35));`,
   550  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
   551  	},
   552  	{
   553  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<88) OR (v1<>45 AND v2<89)) AND (v1=98 AND v2<=81 AND v3 BETWEEN 34 AND 77);`,
   554  		Expected: []sql.Row{},
   555  	},
   556  	{
   557  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>65 AND v2<>86 AND v3<=2) OR (v1<>37 AND v2<=96));`,
   558  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   559  	},
   560  	{
   561  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>79) OR (v1>66)) AND (v1<>81 AND v2<34 AND v3>=25) AND (v1<42) OR (v1<>12 AND v2<>17 AND v3<=23));`,
   562  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{27, 23, 13, 53}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{4, 5, 17, 42}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{50, 41, 17, 68}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{55, 49, 26, 11}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{9, 8, 9, 21}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{70, 63, 85, 23}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   563  	},
   564  	{
   565  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<81 AND v2>=28) OR (v1=19 AND v2 BETWEEN 9 AND 57));`,
   566  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   567  	},
   568  	{
   569  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<32) OR (v1>=52)) OR (v1>=98));`,
   570  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   571  	},
   572  	{
   573  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>47) OR (v1<>25));`,
   574  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   575  	},
   576  	{
   577  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1>27 AND v2<=80 AND v3 BETWEEN 11 AND 37) AND (v1=87 AND v2<54) AND (v1>29);`,
   578  		Expected: []sql.Row{sql.Row{90, 87, 22, 34}},
   579  	},
   580  	{
   581  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>65 AND v2>=52) OR (v1<=85)) OR (v1<=64 AND v3=9 AND v2>=36));`,
   582  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   583  	},
   584  	{
   585  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=12 AND v2>=65) OR (v1=11 AND v2<1));`,
   586  		Expected: []sql.Row{sql.Row{97, 95, 89, 66}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{49, 38, 88, 68}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{43, 33, 70, 50}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{39, 29, 77, 46}, sql.Row{70, 63, 85, 23}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{61, 55, 81, 80}},
   587  	},
   588  	{
   589  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=92 AND v2<=42) OR (v1>=58));`,
   590  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   591  	},
   592  	{
   593  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>0) OR (v1<81 AND v2>=70)) OR (v1>=52));`,
   594  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   595  	},
   596  	{
   597  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>5 AND v3<=32) OR (v1 BETWEEN 77 AND 85 AND v3 BETWEEN 16 AND 21 AND v2 BETWEEN 10 AND 42));`,
   598  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{51, 41, 77, 26}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{18, 13, 47, 30}, sql.Row{79, 74, 78, 26}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{55, 49, 26, 11}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{9, 8, 9, 21}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}},
   599  	},
   600  	{
   601  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>43 AND v2<53 AND v3<=20) OR (v1<7 AND v2<>79));`,
   602  		Expected: []sql.Row{sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{3, 3, 99, 99}, sql.Row{71, 65, 17, 9}, sql.Row{1, 2, 65, 9}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{4, 5, 17, 42}, sql.Row{31, 24, 20, 8}, sql.Row{55, 49, 26, 11}, sql.Row{77, 71, 39, 15}, sql.Row{5, 6, 6, 76}, sql.Row{0, 0, 3, 16}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}},
   603  	},
   604  	{
   605  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1>=17 AND v2 BETWEEN 17 AND 78 AND v3=10) AND (v1<=67) AND (v1>=81 AND v2<=88 AND v3>=70);`,
   606  		Expected: []sql.Row{},
   607  	},
   608  	{
   609  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<77 AND v2<35 AND v3=73) OR (v1=85 AND v2>0 AND v3<65)) AND (v1>=20 AND v3<23 AND v2<=81) OR (v1<34 AND v2<=21 AND v3<=45));`,
   610  		Expected: []sql.Row{sql.Row{13, 10, 16, 21}, sql.Row{4, 5, 17, 42}, sql.Row{36, 29, 7, 38}, sql.Row{31, 24, 20, 8}, sql.Row{33, 26, 15, 28}, sql.Row{9, 8, 9, 21}, sql.Row{0, 0, 3, 16}},
   611  	},
   612  	{
   613  		Query:    `SELECT * FROM comp_index_t1 WHERE (((((v1<=69) AND (v1>=60 AND v2<18 AND v3=15) OR (v1<=75)) OR (v1>=52 AND v2<10)) OR (v1<37 AND v2<=64)) OR (v1>38 AND v2=27));`,
   614  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   615  	},
   616  	{
   617  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1<=76) AND (v1<=94);`,
   618  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   619  	},
   620  	{
   621  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<>40 AND v2>1) OR (v1>3 AND v2<=42)) OR (v1=99 AND v2>62)) OR (v1<17 AND v2<>75 AND v3=6));`,
   622  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   623  	},
   624  	{
   625  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1=39) OR (v1=40 AND v2<>49)) OR (v1<>35 AND v2>4 AND v3>26)) OR (v1=32 AND v2<>55));`,
   626  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{12, 9, 71, 82}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
   627  	},
   628  	{
   629  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=16 AND v2<>25 AND v3<>3) OR (v1>=4 AND v2 BETWEEN 4 AND 93 AND v3>39));`,
   630  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{12, 9, 71, 82}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{81, 76, 40, 52}, sql.Row{67, 59, 77, 53}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{29, 23, 28, 90}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
   631  	},
   632  	{
   633  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>=51 AND v2<83) OR (v1>=15 AND v2>=3)) OR (v1<=49)) OR (v1<69));`,
   634  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   635  	},
   636  	{
   637  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1<>43 AND v2>10) AND (v1>30 AND v2 BETWEEN 18 AND 78 AND v3 BETWEEN 75 AND 81);`,
   638  		Expected: []sql.Row{sql.Row{89, 86, 63, 79}, sql.Row{42, 32, 40, 76}},
   639  	},
   640  	{
   641  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>1) OR (v1<34 AND v2>=57 AND v3 BETWEEN 15 AND 67));`,
   642  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   643  	},
   644  	{
   645  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>3 AND v2>32) OR (v1<=26 AND v3>=27 AND v2>=5));`,
   646  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
   647  	},
   648  	{
   649  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>25 AND v2<>70 AND v3<=51) OR (v1<=71 AND v2>59));`,
   650  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{39, 29, 77, 46}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   651  	},
   652  	{
   653  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 0 AND 61 AND v2<0) OR (v1 BETWEEN 0 AND 38 AND v2>34)) OR (v1>=13 AND v2>=41));`,
   654  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
   655  	},
   656  	{
   657  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>68 AND v2<=57) AND (v1<>84 AND v3 BETWEEN 24 AND 98 AND v2 BETWEEN 28 AND 45) OR (v1>0 AND v2<>47 AND v3>=69)) OR (v1>=44));`,
   658  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{12, 9, 71, 82}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{37, 29, 21, 74}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   659  	},
   660  	{
   661  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=48 AND v2 BETWEEN 33 AND 66) OR (v1>=91));`,
   662  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{7, 7, 33, 51}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{16, 12, 44, 84}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{35, 28, 39, 84}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}},
   663  	},
   664  	{
   665  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 17 AND 52 AND v2<96) OR (v1<=12 AND v2<>4 AND v3>53)) OR (v1<98 AND v3<94 AND v2=5));`,
   666  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{45, 35, 32, 36}},
   667  	},
   668  	{
   669  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>26 AND v2 BETWEEN 66 AND 79 AND v3<=94) OR (v1 BETWEEN 16 AND 55));`,
   670  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   671  	},
   672  	{
   673  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1 BETWEEN 36 AND 67 AND v3<74 AND v2=26) AND (v1 BETWEEN 9 AND 10 AND v2=96) AND (v1<=11 AND v2<>63 AND v3>=62);`,
   674  		Expected: []sql.Row{},
   675  	},
   676  	{
   677  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 28 AND 49 AND v2<47) OR (v1>37 AND v2 BETWEEN 45 AND 61 AND v3<73));`,
   678  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{38, 29, 27, 48}, sql.Row{54, 46, 58, 8}, sql.Row{74, 67, 55, 27}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{37, 29, 21, 74}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{35, 28, 39, 84}, sql.Row{42, 32, 40, 76}, sql.Row{85, 82, 46, 32}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   679  	},
   680  	{
   681  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<37 AND v2>=26 AND v3<=14) OR (v1<64)) OR (v1 BETWEEN 31 AND 53 AND v2>55 AND v3<=55));`,
   682  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   683  	},
   684  	{
   685  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=77) OR (v1<50)) AND (v1<=53 AND v2>35 AND v3<>98);`,
   686  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{35, 28, 39, 84}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}},
   687  	},
   688  	{
   689  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1=2 AND v2=40 AND v3 BETWEEN 18 AND 67) OR (v1=14 AND v2<=24 AND v3<=87)) OR (v1 BETWEEN 8 AND 31 AND v2>86)) OR (v1>30));`,
   690  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   691  	},
   692  	{
   693  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>46 AND v2<>49 AND v3<=44) OR (v1 BETWEEN 64 AND 80 AND v2=41 AND v3<=68));`,
   694  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{96, 94, 92, 38}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{55, 49, 26, 11}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{83, 81, 32, 4}},
   695  	},
   696  	{
   697  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=95 AND v3<47 AND v2>=97) OR (v1 BETWEEN 11 AND 36 AND v2<=83));`,
   698  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{40, 31, 47, 21}, sql.Row{27, 23, 13, 53}, sql.Row{38, 29, 27, 48}, sql.Row{22, 15, 2, 69}, sql.Row{34, 27, 35, 12}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{45, 35, 32, 36}},
   699  	},
   700  	{
   701  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=65 AND v2=39 AND v3 BETWEEN 49 AND 67) OR (v1<57 AND v2>35));`,
   702  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{47, 36, 84, 75}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{65, 56, 66, 33}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{35, 28, 39, 84}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}},
   703  	},
   704  	{
   705  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>71 AND v2=33) OR (v1<>85 AND v2<>50 AND v3 BETWEEN 34 AND 67)) OR (v1 BETWEEN 5 AND 47 AND v3 BETWEEN 13 AND 76 AND v2=4)) OR (v1=16 AND v2>=29 AND v3<>80));`,
   706  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{27, 23, 13, 53}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{67, 59, 77, 53}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{15, 10, 47, 36}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{8, 7, 37, 42}, sql.Row{30, 23, 30, 44}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   707  	},
   708  	{
   709  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=17 AND v2>38) AND (v1>=79) OR (v1<>38));`,
   710  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   711  	},
   712  	{
   713  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=4 AND v2=26) OR (v1>21 AND v2 BETWEEN 14 AND 64));`,
   714  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{71, 65, 17, 9}, sql.Row{38, 29, 27, 48}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{93, 90, 30, 67}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   715  	},
   716  	{
   717  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>50) OR (v1<=58 AND v2<=95)) OR (v1=10));`,
   718  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   719  	},
   720  	{
   721  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<=21 AND v2<>95) OR (v1<>23 AND v2 BETWEEN 15 AND 22)) OR (v1<=53 AND v2>=6)) OR (v1<=13 AND v2<>93 AND v3<15));`,
   722  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{45, 35, 32, 36}},
   723  	},
   724  	{
   725  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1<64 AND v2>=90 AND v3>41) AND (v1>=14 AND v2 BETWEEN 30 AND 70 AND v3>=25);`,
   726  		Expected: []sql.Row{},
   727  	},
   728  	{
   729  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<27 AND v2<=43) OR (v1<62 AND v2<=99)) OR (v1<>48 AND v2<29 AND v3<>69));`,
   730  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   731  	},
   732  	{
   733  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<11 AND v2<70 AND v3>27) OR (v1>=80 AND v2<31 AND v3<65)) OR (v1>=98 AND v2 BETWEEN 30 AND 85 AND v3>=30));`,
   734  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{2, 3, 38, 37}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{7, 7, 33, 51}, sql.Row{4, 5, 17, 42}, sql.Row{15, 10, 47, 36}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{90, 87, 22, 34}},
   735  	},
   736  	{
   737  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1<>44 AND v2>=10) AND (v1=47 AND v2=14 AND v3<30);`,
   738  		Expected: []sql.Row{},
   739  	},
   740  	{
   741  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>6 AND v2=50) OR (v1>=16));`,
   742  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   743  	},
   744  	{
   745  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=31) OR (v1>53 AND v2<>11 AND v3<>94)) OR (v1>48 AND v2 BETWEEN 11 AND 29 AND v3 BETWEEN 68 AND 72));`,
   746  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   747  	},
   748  	{
   749  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 55 AND 59) OR (v1<=10 AND v2>=24)) AND (v1>93 AND v3<70 AND v2 BETWEEN 44 AND 79) AND (v1>=22 AND v2=27);`,
   750  		Expected: []sql.Row{},
   751  	},
   752  	{
   753  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=43 AND v2<28 AND v3<>24) OR (v1<36 AND v2=14 AND v3 BETWEEN 16 AND 55));`,
   754  		Expected: []sql.Row{sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{62, 56, 0, 97}, sql.Row{53, 45, 1, 57}, sql.Row{55, 49, 26, 11}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{69, 61, 11, 25}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}},
   755  	},
   756  	{
   757  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>48 AND v2<=80) OR (v1=72 AND v3 BETWEEN 45 AND 52 AND v2=98));`,
   758  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{78, 72, 65, 64}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   759  	},
   760  	{
   761  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1>=98 AND v2=51) AND (v1>34);`,
   762  		Expected: []sql.Row{},
   763  	},
   764  	{
   765  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>2) OR (v1<=30)) OR (v1<>35 AND v2 BETWEEN 6 AND 61 AND v3>=16));`,
   766  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   767  	},
   768  	{
   769  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>19) OR (v1<>48));`,
   770  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   771  	},
   772  	{
   773  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 12 AND 42 AND v2<=12) OR (v1<34 AND v2 BETWEEN 30 AND 47 AND v3<>50));`,
   774  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{7, 7, 33, 51}, sql.Row{22, 15, 2, 69}, sql.Row{34, 27, 35, 12}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{18, 13, 47, 30}, sql.Row{36, 29, 7, 38}, sql.Row{41, 31, 47, 91}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}},
   775  	},
   776  	{
   777  		Query:    `SELECT * FROM comp_index_t1 WHERE (((((v1>=6) OR (v1>7)) OR (v1<88 AND v2<=34 AND v3<=47)) OR (v1>=10)) OR (v1=10));`,
   778  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   779  	},
   780  	{
   781  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=74) OR (v1>=1)) OR (v1=54 AND v2>=38 AND v3>2)) AND (v1>5);`,
   782  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   783  	},
   784  	{
   785  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=45 AND v2>18) OR (v1<64 AND v2=25 AND v3>97));`,
   786  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   787  	},
   788  	{
   789  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<37 AND v3>77) OR (v1>38 AND v3<>57 AND v2=87));`,
   790  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{12, 9, 71, 82}, sql.Row{3, 3, 99, 99}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{29, 23, 28, 90}, sql.Row{41, 31, 47, 91}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{35, 28, 39, 84}},
   791  	},
   792  	{
   793  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<96 AND v2>11 AND v3<76) OR (v1<=14 AND v2=23)) OR (v1<=15 AND v2<21 AND v3<91)) OR (v1=45 AND v2<11 AND v3=1));`,
   794  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{33, 26, 15, 28}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{5, 6, 6, 76}, sql.Row{30, 23, 30, 44}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   795  	},
   796  	{
   797  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>23 AND v3<=52) OR (v1<>19 AND v2=25));`,
   798  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   799  	},
   800  	{
   801  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1<=12 AND v2>=65) AND (v1<6 AND v2>=92);`,
   802  		Expected: []sql.Row{sql.Row{3, 3, 99, 99}},
   803  	},
   804  	{
   805  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=62 AND v2<>32) OR (v1>=55 AND v2=41 AND v3>73));`,
   806  		Expected: []sql.Row{},
   807  	},
   808  	{
   809  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>34 AND v2<=62) OR (v1>5 AND v2 BETWEEN 59 AND 98 AND v3<69)) OR (v1>34));`,
   810  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   811  	},
   812  	{
   813  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1=61 AND v2 BETWEEN 10 AND 22 AND v3<34) OR (v1=68)) OR (v1<=97 AND v3 BETWEEN 7 AND 63 AND v2<67));`,
   814  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{88, 85, 53, 50}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{30, 23, 30, 44}, sql.Row{69, 61, 11, 25}, sql.Row{0, 0, 3, 16}, sql.Row{23, 16, 40, 36}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   815  	},
   816  	{
   817  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=42) OR (v1 BETWEEN 13 AND 30 AND v2<50));`,
   818  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   819  	},
   820  	{
   821  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 16 AND 49) OR (v1<=69 AND v2>9 AND v3<=8));`,
   822  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{40, 31, 47, 21}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   823  	},
   824  	{
   825  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>71 AND v2>44) OR (v1<76 AND v2>=10)) OR (v1>=44 AND v2=66));`,
   826  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{92, 88, 88, 42}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   827  	},
   828  	{
   829  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((((v1>=26) OR (v1>=13 AND v2 BETWEEN 35 AND 95 AND v3>=29)) OR (v1<>54 AND v2 BETWEEN 0 AND 54)) OR (v1 BETWEEN 17 AND 17 AND v2<=71)) OR (v1>50 AND v3>=42)) OR (v1<>0));`,
   830  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   831  	},
   832  	{
   833  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=99 AND v2<66) OR (v1 BETWEEN 1 AND 47)) OR (v1<>2 AND v2<30));`,
   834  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   835  	},
   836  	{
   837  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>9 AND v2<74) AND (v1<=63 AND v2=18) OR (v1<46));`,
   838  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   839  	},
   840  	{
   841  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<=20 AND v2<=62) OR (v1>45 AND v2=33 AND v3<=4)) OR (v1>29));`,
   842  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   843  	},
   844  	{
   845  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<=55 AND v2 BETWEEN 82 AND 96 AND v3>=13) OR (v1>=89 AND v2<18 AND v3<19)) OR (v1=98 AND v3>=40)) OR (v1 BETWEEN 7 AND 74 AND v2<=73));`,
   846  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{20, 14, 38, 24}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{45, 35, 32, 36}},
   847  	},
   848  	{
   849  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=26 AND v2 BETWEEN 6 AND 80) AND (v1=47 AND v2<67 AND v3<7) OR (v1>63));`,
   850  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{73, 66, 73, 4}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   851  	},
   852  	{
   853  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<11) OR (v1<>33));`,
   854  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   855  	},
   856  	{
   857  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<=35) AND (v1=44 AND v2<78 AND v3>=40) OR (v1<>88 AND v2=8)) AND (v1>=99 AND v2=62) OR (v1<=94)) OR (v1 BETWEEN 22 AND 23 AND v2 BETWEEN 14 AND 46));`,
   858  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   859  	},
   860  	{
   861  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<9 AND v2=94 AND v3>8) OR (v1>=63));`,
   862  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{73, 66, 73, 4}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   863  	},
   864  	{
   865  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<43) OR (v1 BETWEEN 40 AND 49 AND v2>26 AND v3 BETWEEN 22 AND 80));`,
   866  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   867  	},
   868  	{
   869  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 4 AND 85 AND v2<>45 AND v3<=41) OR (v1>67 AND v2<25));`,
   870  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{46, 36, 4, 36}, sql.Row{18, 13, 47, 30}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{55, 49, 26, 11}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{33, 26, 15, 28}, sql.Row{9, 8, 9, 21}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   871  	},
   872  	{
   873  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>77) OR (v1<=54 AND v2<=71 AND v3>=49)) OR (v1>54 AND v2<30 AND v3=6));`,
   874  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   875  	},
   876  	{
   877  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1 BETWEEN 21 AND 53 AND v2=0 AND v3>32) OR (v1=93 AND v2>=94 AND v3<1)) OR (v1<26)) OR (v1<>11 AND v2<>32 AND v3=6)) AND (v1>=45);`,
   878  		Expected: []sql.Row{sql.Row{84, 82, 11, 6}, sql.Row{57, 50, 86, 6}},
   879  	},
   880  	{
   881  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>50) OR (v1<=71));`,
   882  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   883  	},
   884  	{
   885  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=41) OR (v1>29 AND v2<>31));`,
   886  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   887  	},
   888  	{
   889  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<88 AND v2<91 AND v3>9) AND (v1>=5 AND v2 BETWEEN 21 AND 29 AND v3>18) OR (v1>=40));`,
   890  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{37, 29, 21, 74}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{24, 20, 29, 93}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
   891  	},
   892  	{
   893  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>2 AND v2<76 AND v3<=35) OR (v1<=12 AND v3 BETWEEN 25 AND 30));`,
   894  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{71, 65, 17, 9}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{18, 13, 47, 30}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{55, 49, 26, 11}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{9, 8, 9, 21}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}},
   895  	},
   896  	{
   897  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1 BETWEEN 25 AND 84 AND v2<=94) OR (v1>66 AND v2>4 AND v3>=57)) OR (v1=78 AND v2>66 AND v3=19)) OR (v1<>48));`,
   898  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   899  	},
   900  	{
   901  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=24) OR (v1>=47 AND v2<=75 AND v3<=52));`,
   902  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   903  	},
   904  	{
   905  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=21 AND v2<>70) OR (v1<=77 AND v2>4)) OR (v1<28 AND v2<=3 AND v3<>21));`,
   906  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   907  	},
   908  	{
   909  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=60 AND v2>91) OR (v1<=10));`,
   910  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{3, 3, 99, 99}, sql.Row{7, 7, 33, 51}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{6, 6, 81, 33}, sql.Row{13, 10, 16, 21}, sql.Row{4, 5, 17, 42}, sql.Row{15, 10, 47, 36}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{0, 0, 3, 16}, sql.Row{87, 84, 93, 37}},
   911  	},
   912  	{
   913  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>98 AND v2<52) OR (v1 BETWEEN 65 AND 67)) OR (v1 BETWEEN 18 AND 54)) AND (v1>=14 AND v2=27);`,
   914  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{38, 29, 27, 48}, sql.Row{48, 37, 27, 32}},
   915  	},
   916  	{
   917  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=43 AND v2<>39) AND (v1<=32 AND v2<=15 AND v3>=54) OR (v1<>68 AND v2 BETWEEN 42 AND 46));`,
   918  		Expected: []sql.Row{sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{60, 55, 45, 46}, sql.Row{100, 98, 42, 22}, sql.Row{72, 66, 46, 46}, sql.Row{26, 21, 42, 76}, sql.Row{85, 82, 46, 32}},
   919  	},
   920  	{
   921  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1>=19 AND v2<2) AND (v1<4 AND v3>23 AND v2<>53);`,
   922  		Expected: []sql.Row{},
   923  	},
   924  	{
   925  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 34 AND 40) OR (v1<=80 AND v2<>53)) AND (v1=81 AND v2=17 AND v3<>12);`,
   926  		Expected: []sql.Row{},
   927  	},
   928  	{
   929  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>34 AND v2 BETWEEN 18 AND 67 AND v3<67) OR (v1>21));`,
   930  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   931  	},
   932  	{
   933  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>45) OR (v1>=91 AND v2>=8 AND v3<=38)) OR (v1<>58 AND v3<=32 AND v2<>45));`,
   934  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   935  	},
   936  	{
   937  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=48) OR (v1<38 AND v2>=26)) AND (v1<=45 AND v2>21) AND (v1=83 AND v2=20);`,
   938  		Expected: []sql.Row{},
   939  	},
   940  	{
   941  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>25) OR (v1<53));`,
   942  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   943  	},
   944  	{
   945  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<95 AND v2>=12) OR (v1 BETWEEN 41 AND 55 AND v2<=81 AND v3<46));`,
   946  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{94, 91, 15, 15}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   947  	},
   948  	{
   949  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>39 AND v2 BETWEEN 53 AND 73 AND v3<=11) OR (v1<=31 AND v2=68 AND v3>=71)) OR (v1<>18 AND v2<=51));`,
   950  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
   951  	},
   952  	{
   953  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1>4) AND (v1=3 AND v2 BETWEEN 4 AND 34 AND v3<=40);`,
   954  		Expected: []sql.Row{},
   955  	},
   956  	{
   957  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>36 AND v2>82) OR (v1 BETWEEN 22 AND 59));`,
   958  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   959  	},
   960  	{
   961  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=0) OR (v1 BETWEEN 17 AND 45));`,
   962  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{40, 31, 47, 21}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{34, 27, 35, 12}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   963  	},
   964  	{
   965  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<1 AND v3<=34) OR (v1 BETWEEN 2 AND 57 AND v2<>70));`,
   966  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
   967  	},
   968  	{
   969  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1>4) AND (v1 BETWEEN 8 AND 35 AND v2>=94 AND v3=32) AND (v1>=12);`,
   970  		Expected: []sql.Row{},
   971  	},
   972  	{
   973  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<=93 AND v3<>47) OR (v1>=93 AND v2 BETWEEN 15 AND 42 AND v3<=6)) OR (v1>15)) OR (v1 BETWEEN 0 AND 1 AND v2>33));`,
   974  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   975  	},
   976  	{
   977  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>12) OR (v1>=26 AND v2 BETWEEN 77 AND 87 AND v3<19)) OR (v1<=89));`,
   978  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   979  	},
   980  	{
   981  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1=27 AND v2=16 AND v3>=8) OR (v1<20 AND v2>=1 AND v3 BETWEEN 28 AND 47)) OR (v1 BETWEEN 15 AND 43 AND v2>30));`,
   982  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{2, 3, 38, 37}, sql.Row{40, 31, 47, 21}, sql.Row{47, 36, 84, 75}, sql.Row{51, 41, 77, 26}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{8, 7, 37, 42}, sql.Row{35, 28, 39, 84}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{45, 35, 32, 36}},
   983  	},
   984  	{
   985  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=67 AND v2<>69) OR (v1<28 AND v2<62 AND v3>=99));`,
   986  		Expected: []sql.Row{sql.Row{74, 67, 55, 27}},
   987  	},
   988  	{
   989  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<45 AND v2>5 AND v3>20) OR (v1<17));`,
   990  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{6, 6, 81, 33}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
   991  	},
   992  	{
   993  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=40 AND v2<>18) OR (v1<>97 AND v2<>17 AND v3<>48));`,
   994  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
   995  	},
   996  	{
   997  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>63) AND (v1<=44 AND v2<>43 AND v3=29) OR (v1=38 AND v2>45));`,
   998  		Expected: []sql.Row{sql.Row{49, 38, 88, 68}},
   999  	},
  1000  	{
  1001  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=6) OR (v1>0 AND v2 BETWEEN 3 AND 50));`,
  1002  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{1, 2, 65, 9}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{50, 41, 17, 68}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{0, 0, 3, 16}, sql.Row{23, 16, 40, 36}, sql.Row{42, 32, 40, 76}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
  1003  	},
  1004  	{
  1005  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 5 AND 35 AND v2<=3 AND v3<>14) OR (v1>11));`,
  1006  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1007  	},
  1008  	{
  1009  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<50) AND (v1<19 AND v2>=10) OR (v1<36 AND v2>10 AND v3<>65));`,
  1010  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{1, 2, 65, 9}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{45, 35, 32, 36}},
  1011  	},
  1012  	{
  1013  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1=56 AND v3<=4 AND v2=46) OR (v1 BETWEEN 21 AND 53 AND v2<>63)) OR (v1 BETWEEN 10 AND 62 AND v2>=62)) OR (v1>31));`,
  1014  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1015  	},
  1016  	{
  1017  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<20 AND v2>=1 AND v3=26) OR (v1=12));`,
  1018  		Expected: []sql.Row{sql.Row{16, 12, 44, 84}, sql.Row{17, 12, 66, 40}},
  1019  	},
  1020  	{
  1021  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>51) AND (v1<>4 AND v2<47 AND v3>=77) OR (v1>41 AND v3>62));`,
  1022  		Expected: []sql.Row{sql.Row{97, 95, 89, 66}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{78, 72, 65, 64}, sql.Row{62, 56, 0, 97}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{93, 90, 30, 67}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{35, 28, 39, 84}, sql.Row{59, 54, 57, 83}, sql.Row{61, 55, 81, 80}},
  1023  	},
  1024  	{
  1025  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<35) OR (v1>=58 AND v2>=0));`,
  1026  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
  1027  	},
  1028  	{
  1029  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>28 AND v2<95) OR (v1<91));`,
  1030  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1031  	},
  1032  	{
  1033  		Query:    `SELECT * FROM comp_index_t1 WHERE (v1=99 AND v2<=41 AND v3>=61) AND (v1=34 AND v2>68 AND v3<=42);`,
  1034  		Expected: []sql.Row{},
  1035  	},
  1036  	{
  1037  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=74 AND v2<=18) OR (v1>=72)) AND (v1=95 AND v2=31 AND v3 BETWEEN 5 AND 19);`,
  1038  		Expected: []sql.Row{},
  1039  	},
  1040  	{
  1041  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1=64) OR (v1>=49 AND v2<9 AND v3<=49));`,
  1042  		Expected: []sql.Row{sql.Row{95, 93, 7, 26}},
  1043  	},
  1044  	{
  1045  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=46) AND (v1<22 AND v2<>42 AND v3<>54) OR (v1>=55 AND v2 BETWEEN 11 AND 84));`,
  1046  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{71, 65, 17, 9}, sql.Row{78, 72, 65, 64}, sql.Row{81, 76, 40, 52}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{86, 84, 40, 8}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
  1047  	},
  1048  	{
  1049  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=7) OR (v1<54));`,
  1050  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{45, 35, 32, 36}},
  1051  	},
  1052  	{
  1053  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<=95 AND v2=55 AND v3>34) OR (v1=19));`,
  1054  		Expected: []sql.Row{},
  1055  	},
  1056  	{
  1057  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1=51 AND v2<=9) OR (v1<>50)) OR (v1<>4 AND v2>56)) OR (v1 BETWEEN 3 AND 18 AND v2>10 AND v3=12));`,
  1058  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1059  	},
  1060  	{
  1061  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1<=90 AND v2<=17) OR (v1=2)) OR (v1<>70 AND v2>=84 AND v3<>42)) OR (v1<11 AND v2<>47 AND v3<55));`,
  1062  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{84, 82, 11, 6}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{6, 6, 81, 33}, sql.Row{62, 56, 0, 97}, sql.Row{13, 10, 16, 21}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{5, 6, 6, 76}, sql.Row{69, 61, 11, 25}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{70, 63, 85, 23}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}},
  1063  	},
  1064  	{
  1065  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 50 AND 59) OR (v1>=23 AND v3>=87 AND v2<>46));`,
  1066  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{63, 56, 8, 78}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{29, 23, 28, 90}, sql.Row{41, 31, 47, 91}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{59, 54, 57, 83}, sql.Row{57, 50, 86, 6}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}},
  1067  	},
  1068  	{
  1069  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<53) OR (v1<=3));`,
  1070  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{45, 35, 32, 36}},
  1071  	},
  1072  	{
  1073  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=16 AND v2 BETWEEN 66 AND 94) OR (v1>70 AND v2<=3)) AND (v1<>91) OR (v1=17 AND v2>=7));`,
  1074  		Expected: []sql.Row{sql.Row{97, 95, 89, 66}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{96, 94, 92, 38}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{49, 38, 88, 68}, sql.Row{79, 74, 78, 26}, sql.Row{43, 33, 70, 50}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{70, 63, 85, 23}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{61, 55, 81, 80}},
  1075  	},
  1076  	{
  1077  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<29 AND v3>=33 AND v2=43) OR (v1<59));`,
  1078  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
  1079  	},
  1080  	{
  1081  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>19 AND v2>84 AND v3>94) OR (v1>=42 AND v3=41));`,
  1082  		Expected: []sql.Row{},
  1083  	},
  1084  	{
  1085  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=8 AND v2<=97 AND v3>=77) OR (v1<>4)) OR (v1<=41));`,
  1086  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1087  	},
  1088  	{
  1089  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>33) OR (v1<=28)) OR (v1<>68));`,
  1090  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1091  	},
  1092  	{
  1093  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<>15 AND v2>=22 AND v3<=51) OR (v1<>40 AND v2>26 AND v3<95));`,
  1094  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1095  	},
  1096  	{
  1097  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>6) OR (v1<=67 AND v2<>67 AND v3>=88));`,
  1098  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1099  	},
  1100  	{
  1101  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<=0) OR (v1<=53)) OR (v1<=38));`,
  1102  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{45, 35, 32, 36}},
  1103  	},
  1104  	{
  1105  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1=60 AND v3 BETWEEN 2 AND 13 AND v2 BETWEEN 10 AND 69) OR (v1 BETWEEN 1 AND 49)) OR (v1=8 AND v2<26));`,
  1106  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{45, 35, 32, 36}},
  1107  	},
  1108  	{
  1109  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 14 AND 20 AND v2<>70) OR (v1>78 AND v2 BETWEEN 31 AND 52 AND v3>16)) OR (v1 BETWEEN 77 AND 78));`,
  1110  		Expected: []sql.Row{sql.Row{22, 15, 2, 69}, sql.Row{100, 98, 42, 22}, sql.Row{99, 98, 31, 21}, sql.Row{24, 20, 29, 93}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}},
  1111  	},
  1112  	{
  1113  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<80 AND v2 BETWEEN 41 AND 74) OR (v1>=36 AND v2=32));`,
  1114  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{54, 46, 58, 8}, sql.Row{65, 56, 66, 33}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{16, 12, 44, 84}, sql.Row{60, 55, 45, 46}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{72, 66, 46, 46}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}},
  1115  	},
  1116  	{
  1117  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=24 AND v2=62) OR (v1<=24 AND v3<>22 AND v2 BETWEEN 12 AND 25)) OR (v1 BETWEEN 48 AND 49 AND v3>=90)) AND (v1<15 AND v2<>55 AND v3=51);`,
  1118  		Expected: []sql.Row{},
  1119  	},
  1120  	{
  1121  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<66 AND v2>=11 AND v3<90) OR (v1<>90)) OR (v1<=7 AND v2=52));`,
  1122  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1123  	},
  1124  	{
  1125  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 6 AND 74 AND v2=52) OR (v1>44 AND v3>=15 AND v2 BETWEEN 17 AND 94)) OR (v1>84));`,
  1126  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
  1127  	},
  1128  	{
  1129  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=38) OR (v1=13)) OR (v1=25 AND v2<=32 AND v3 BETWEEN 12 AND 92));`,
  1130  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{18, 13, 47, 30}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
  1131  	},
  1132  	{
  1133  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<=84) OR (v1=41)) OR (v1<83 AND v2=13 AND v3=58));`,
  1134  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{45, 35, 32, 36}},
  1135  	},
  1136  	{
  1137  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<36 AND v2<=79 AND v3>47) OR (v1 BETWEEN 24 AND 89 AND v2<29));`,
  1138  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{12, 9, 71, 82}, sql.Row{84, 82, 11, 6}, sql.Row{27, 23, 13, 53}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{22, 15, 2, 69}, sql.Row{62, 56, 0, 97}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{42, 32, 40, 76}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}},
  1139  	},
  1140  	{
  1141  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 3 AND 19 AND v2<=57 AND v3>61) OR (v1<=58 AND v2>=36 AND v3=31)) AND (v1>94);`,
  1142  		Expected: []sql.Row{},
  1143  	},
  1144  	{
  1145  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1<78 AND v2 BETWEEN 55 AND 64 AND v3>=0) OR (v1<74));`,
  1146  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
  1147  	},
  1148  	{
  1149  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<>1 AND v2=88 AND v3<33) OR (v1<=38)) OR (v1>74 AND v3<>55 AND v2>=9));`,
  1150  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1151  	},
  1152  	{
  1153  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1 BETWEEN 15 AND 96 AND v2<>73) OR (v1>=16));`,
  1154  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1155  	},
  1156  	{
  1157  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=72 AND v2<>19 AND v3 BETWEEN 9 AND 12) OR (v1<=77 AND v2=30 AND v3<=10));`,
  1158  		Expected: []sql.Row{},
  1159  	},
  1160  	{
  1161  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>28 AND v2>=73 AND v3=79) AND (v1<=70 AND v2 BETWEEN 5 AND 36) OR (v1<=31)) OR (v1<36)) OR (v1=47 AND v2 BETWEEN 0 AND 92 AND v3<=43));`,
  1162  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{15, 10, 47, 36}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{20, 14, 38, 24}, sql.Row{28, 23, 28, 68}, sql.Row{45, 35, 32, 36}},
  1163  	},
  1164  	{
  1165  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>24) AND (v1>68 AND v2 BETWEEN 1 AND 79 AND v3 BETWEEN 23 AND 44) OR (v1>78));`,
  1166  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{96, 94, 92, 38}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{86, 84, 40, 8}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
  1167  	},
  1168  	{
  1169  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1=47 AND v2=7) OR (v1>=7 AND v2<>87)) OR (v1<>6 AND v2<=84));`,
  1170  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1171  	},
  1172  	{
  1173  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>=49 AND v2>53 AND v3<>12) OR (v1=95 AND v2<1 AND v3<>89)) OR (v1=62 AND v3>=37 AND v2<=22)) OR (v1>30 AND v2>=66));`,
  1174  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{97, 95, 89, 66}, sql.Row{47, 36, 84, 75}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{49, 38, 88, 68}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{43, 33, 70, 50}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
  1175  	},
  1176  	{
  1177  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1=24 AND v2<81) OR (v1<=22 AND v2>34 AND v3<55)) OR (v1=45 AND v2>=94 AND v3>17));`,
  1178  		Expected: []sql.Row{sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{1, 2, 65, 9}, sql.Row{6, 6, 81, 33}, sql.Row{18, 13, 47, 30}, sql.Row{17, 12, 66, 40}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{15, 10, 47, 36}, sql.Row{8, 7, 37, 42}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{20, 14, 38, 24}},
  1179  	},
  1180  	{
  1181  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>38) OR (v1<51 AND v2>=28 AND v3=44)) OR (v1 BETWEEN 23 AND 61 AND v2 BETWEEN 54 AND 75 AND v3<>44)) OR (v1>72));`,
  1182  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{30, 23, 30, 44}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
  1183  	},
  1184  	{
  1185  		Query:    `SELECT * FROM comp_index_t1 WHERE ((((v1>40 AND v2 BETWEEN 26 AND 30) OR (v1<3 AND v2>=62 AND v3<=8)) OR (v1<>57)) OR (v1=16 AND v2>92 AND v3<=74));`,
  1186  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1187  	},
  1188  	{
  1189  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<=34 AND v2 BETWEEN 29 AND 35 AND v3>=64) OR (v1<>47)) AND (v1>=11) OR (v1<>46 AND v2 BETWEEN 4 AND 26));`,
  1190  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1191  	},
  1192  	{
  1193  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1 BETWEEN 41 AND 98 AND v2>54) OR (v1<29)) OR (v1<32));`,
  1194  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{64, 56, 58, 4}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{76, 70, 58, 33}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{15, 10, 47, 36}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{92, 88, 88, 42}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{20, 14, 38, 24}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{28, 23, 28, 68}, sql.Row{61, 55, 81, 80}, sql.Row{91, 87, 57, 62}},
  1195  	},
  1196  	{
  1197  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=79 AND v3 BETWEEN 9 AND 95) OR (v1 BETWEEN 50 AND 50 AND v2 BETWEEN 16 AND 38 AND v3<>94));`,
  1198  		Expected: []sql.Row{sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{96, 94, 92, 38}, sql.Row{89, 86, 63, 79}, sql.Row{100, 98, 42, 22}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{91, 87, 57, 62}},
  1199  	},
  1200  	{
  1201  		Query:    `SELECT * FROM comp_index_t1 WHERE (((((v1<>79) OR (v1 BETWEEN 9 AND 11 AND v2<48 AND v3<=73)) OR (v1<=46)) OR (v1 BETWEEN 66 AND 67)) OR (v1<=86 AND v2<4));`,
  1202  		Expected: []sql.Row{sql.Row{14, 10, 32, 46}, sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{2, 3, 38, 37}, sql.Row{11, 9, 39, 20}, sql.Row{12, 9, 71, 82}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{3, 3, 99, 99}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{7, 7, 33, 51}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{1, 2, 65, 9}, sql.Row{22, 15, 2, 69}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{6, 6, 81, 33}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{13, 10, 16, 21}, sql.Row{16, 12, 44, 84}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{4, 5, 17, 42}, sql.Row{18, 13, 47, 30}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{17, 12, 66, 40}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{19, 13, 56, 41}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{15, 10, 47, 36}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{9, 8, 9, 21}, sql.Row{8, 7, 37, 42}, sql.Row{10, 8, 37, 90}, sql.Row{5, 6, 6, 76}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{0, 0, 3, 16}, sql.Row{21, 14, 91, 1}, sql.Row{23, 16, 40, 36}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{20, 14, 38, 24}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1203  	},
  1204  	{
  1205  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1>=2 AND v2 BETWEEN 32 AND 59 AND v3 BETWEEN 50 AND 52) OR (v1<26)) OR (v1<>2 AND v2>11)) AND (v1>32 AND v2<=92) AND (v1>45 AND v2<>5 AND v3<>49);`,
  1206  		Expected: []sql.Row{sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{94, 91, 15, 15}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{58, 54, 13, 78}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{73, 66, 73, 4}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{57, 50, 86, 6}, sql.Row{86, 84, 40, 8}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}},
  1207  	},
  1208  	{
  1209  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=19) AND (v1<=73) OR (v1=9 AND v2=5 AND v3<=5));`,
  1210  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{40, 31, 47, 21}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{54, 46, 58, 8}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{25, 21, 9, 89}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{26, 21, 42, 76}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{24, 20, 29, 93}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{45, 35, 32, 36}},
  1211  	},
  1212  	{
  1213  		Query:    `SELECT * FROM comp_index_t1 WHERE (((v1<62) AND (v1<=57 AND v2>51 AND v3 BETWEEN 29 AND 30) OR (v1>=28 AND v2<=62 AND v3<>76)) OR (v1>=94));`,
  1214  		Expected: []sql.Row{sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{38, 29, 27, 48}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{62, 56, 0, 97}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{60, 55, 45, 46}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{93, 90, 30, 67}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{59, 54, 57, 83}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1215  	},
  1216  	{
  1217  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>21) OR (v1>=86 AND v2>2 AND v3>=67));`,
  1218  		Expected: []sql.Row{sql.Row{32, 25, 49, 88}, sql.Row{44, 34, 27, 58}, sql.Row{64, 56, 58, 4}, sql.Row{88, 85, 53, 50}, sql.Row{97, 95, 89, 66}, sql.Row{40, 31, 47, 21}, sql.Row{84, 82, 11, 6}, sql.Row{94, 91, 15, 15}, sql.Row{95, 93, 7, 26}, sql.Row{27, 23, 13, 53}, sql.Row{47, 36, 84, 75}, sql.Row{63, 56, 8, 78}, sql.Row{68, 60, 8, 70}, sql.Row{71, 65, 17, 9}, sql.Row{80, 75, 91, 35}, sql.Row{38, 29, 27, 48}, sql.Row{51, 41, 77, 26}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{54, 46, 58, 8}, sql.Row{81, 76, 40, 52}, sql.Row{34, 27, 35, 12}, sql.Row{62, 56, 0, 97}, sql.Row{65, 56, 66, 33}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{46, 36, 4, 36}, sql.Row{49, 38, 88, 68}, sql.Row{60, 55, 45, 46}, sql.Row{89, 86, 63, 79}, sql.Row{29, 23, 28, 90}, sql.Row{36, 29, 7, 38}, sql.Row{53, 45, 1, 57}, sql.Row{79, 74, 78, 26}, sql.Row{50, 41, 17, 68}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{31, 24, 20, 8}, sql.Row{37, 29, 21, 74}, sql.Row{41, 31, 47, 91}, sql.Row{43, 33, 70, 50}, sql.Row{55, 49, 26, 11}, sql.Row{72, 66, 46, 46}, sql.Row{77, 71, 39, 15}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{33, 26, 15, 28}, sql.Row{52, 42, 80, 85}, sql.Row{58, 54, 13, 78}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{30, 23, 30, 44}, sql.Row{35, 28, 39, 84}, sql.Row{69, 61, 11, 25}, sql.Row{73, 66, 73, 4}, sql.Row{39, 29, 77, 46}, sql.Row{42, 32, 40, 76}, sql.Row{59, 54, 57, 83}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{57, 50, 86, 6}, sql.Row{75, 70, 8, 54}, sql.Row{86, 84, 40, 8}, sql.Row{28, 23, 28, 68}, sql.Row{48, 37, 27, 32}, sql.Row{56, 50, 49, 20}, sql.Row{61, 55, 81, 80}, sql.Row{83, 81, 32, 4}, sql.Row{91, 87, 57, 62}, sql.Row{45, 35, 32, 36}},
  1219  	},
  1220  	{
  1221  		Query:    `SELECT * FROM comp_index_t1 WHERE ((v1>=94) OR (v1>=57 AND v2<>53 AND v3>22));`,
  1222  		Expected: []sql.Row{sql.Row{97, 95, 89, 66}, sql.Row{95, 93, 7, 26}, sql.Row{68, 60, 8, 70}, sql.Row{80, 75, 91, 35}, sql.Row{78, 72, 65, 64}, sql.Row{96, 94, 92, 38}, sql.Row{81, 76, 40, 52}, sql.Row{67, 59, 77, 53}, sql.Row{74, 67, 55, 27}, sql.Row{82, 76, 44, 87}, sql.Row{89, 86, 63, 79}, sql.Row{79, 74, 78, 26}, sql.Row{76, 70, 58, 33}, sql.Row{100, 98, 42, 22}, sql.Row{72, 66, 46, 46}, sql.Row{99, 98, 31, 21}, sql.Row{98, 97, 63, 19}, sql.Row{66, 57, 7, 52}, sql.Row{92, 88, 88, 42}, sql.Row{93, 90, 30, 67}, sql.Row{69, 61, 11, 25}, sql.Row{70, 63, 85, 23}, sql.Row{85, 82, 46, 32}, sql.Row{90, 87, 22, 34}, sql.Row{87, 84, 93, 37}, sql.Row{75, 70, 8, 54}, sql.Row{91, 87, 57, 62}},
  1223  	},
  1224  	{
  1225  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<40 AND v2=9) OR (v1<11 AND v2=15 AND v3<>55 AND v4<>95));`,
  1226  		Expected: []sql.Row{},
  1227  	},
  1228  	{
  1229  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=82 AND v2=74 AND v3=98) OR (v1=27 AND v2 BETWEEN 16 AND 46 AND v3<>27)) OR (v1>=80 AND v2<>42 AND v3>=47));`,
  1230  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{87, 84, 56, 78, 18}, sql.Row{82, 82, 29, 66, 71}, sql.Row{86, 83, 41, 53, 57}, sql.Row{89, 86, 7, 57, 96}, sql.Row{97, 93, 56, 71, 53}},
  1231  	},
  1232  	{
  1233  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>=47 AND v2<=37 AND v3<90 AND v4=25) OR (v1<42 AND v2>=96 AND v3=38)) OR (v1>26)) OR (v1>=80));`,
  1234  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1235  	},
  1236  	{
  1237  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>33 AND v2>=16) OR (v1>=24));`,
  1238  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1239  	},
  1240  	{
  1241  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=51 AND v4 BETWEEN 36 AND 55 AND v2>62 AND v3<43) OR (v1 BETWEEN 5 AND 60 AND v2<1)) OR (v1=51 AND v2>=98 AND v3>=94));`,
  1242  		Expected: []sql.Row{sql.Row{20, 12, 0, 33, 62}, sql.Row{59, 51, 97, 39, 36}},
  1243  	},
  1244  	{
  1245  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=6 AND v4<95 AND v2<41 AND v3<=4) AND (v1>=81 AND v4>44 AND v2 BETWEEN 6 AND 11) OR (v1<=98));`,
  1246  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1247  	},
  1248  	{
  1249  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=12 AND v2<=78 AND v3 BETWEEN 28 AND 63 AND v4 BETWEEN 46 AND 95) OR (v1=87 AND v2<=44)) OR (v1<14 AND v2<>37 AND v3 BETWEEN 6 AND 32));`,
  1250  		Expected: []sql.Row{sql.Row{20, 12, 0, 33, 62}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{21, 12, 42, 15, 31}, sql.Row{10, 5, 32, 30, 48}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{19, 10, 36, 27, 5}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}},
  1251  	},
  1252  	{
  1253  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=80 AND v2=72 AND v3>19) OR (v1<>38 AND v2>=86 AND v3=7)) OR (v1<=52 AND v2=25 AND v3 BETWEEN 7 AND 32 AND v4<=31));`,
  1254  		Expected: []sql.Row{sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{60, 52, 72, 44, 2}, sql.Row{33, 29, 72, 97, 93}},
  1255  	},
  1256  	{
  1257  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=70) OR (v1>=38 AND v3 BETWEEN 25 AND 30));`,
  1258  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{93, 89, 1, 27, 50}, sql.Row{74, 70, 56, 21, 22}, sql.Row{73, 70, 40, 19, 5}, sql.Row{63, 55, 31, 29, 92}},
  1259  	},
  1260  	{
  1261  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=33) OR (v1<=31 AND v4<>35 AND v2=38));`,
  1262  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1263  	},
  1264  	{
  1265  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>14 AND v2<51 AND v3 BETWEEN 67 AND 78 AND v4=8) OR (v1>=44 AND v2<>35 AND v3<35 AND v4>=12)) OR (v1>=63 AND v2<=3));`,
  1266  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{58, 50, 97, 0, 79}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}},
  1267  	},
  1268  	{
  1269  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=6 AND v2<=25 AND v3>39) OR (v1 BETWEEN 17 AND 94 AND v2>96));`,
  1270  		Expected: []sql.Row{sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{29, 22, 98, 22, 21}, sql.Row{58, 50, 97, 0, 79}},
  1271  	},
  1272  	{
  1273  		Query:    `SELECT * FROM comp_index_t2 WHERE (((((v1>=91 AND v4<=47 AND v2>=43) OR (v1=75)) OR (v1<41 AND v4>=64 AND v2>83)) OR (v1 BETWEEN 72 AND 88 AND v2=48 AND v3<=10)) OR (v1<=44));`,
  1274  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1275  	},
  1276  	{
  1277  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=31) OR (v1<84 AND v2<=73 AND v3<>2 AND v4<=51));`,
  1278  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{56, 50, 39, 26, 37}, sql.Row{35, 33, 29, 69, 6}, sql.Row{65, 63, 50, 20, 43}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{85, 83, 37, 36, 16}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{2, 1, 43, 13, 36}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}},
  1279  	},
  1280  	{
  1281  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=20 AND v2<=29 AND v3<52 AND v4<>34) OR (v1<>46 AND v2<>98));`,
  1282  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1283  	},
  1284  	{
  1285  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<52 AND v3 BETWEEN 39 AND 57 AND v4 BETWEEN 13 AND 13 AND v2 BETWEEN 76 AND 99) OR (v1>44)) OR (v1<71 AND v4>7 AND v2<98)) OR (v1<>5 AND v2 BETWEEN 35 AND 40 AND v3<=10));`,
  1286  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1287  	},
  1288  	{
  1289  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=40) OR (v1=27)) OR (v1>90 AND v2>50 AND v3=66 AND v4<83));`,
  1290  		Expected: []sql.Row{},
  1291  	},
  1292  	{
  1293  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<=92 AND v4 BETWEEN 8 AND 90) AND (v1 BETWEEN 39 AND 42);`,
  1294  		Expected: []sql.Row{sql.Row{48, 41, 21, 82, 54}, sql.Row{46, 39, 45, 75, 55}, sql.Row{47, 41, 1, 85, 9}},
  1295  	},
  1296  	{
  1297  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 23 AND 85 AND v2<=51 AND v3<>68) OR (v1 BETWEEN 30 AND 58 AND v2<>75));`,
  1298  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1299  	},
  1300  	{
  1301  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=67 AND v2<=17 AND v3<>91 AND v4<82) OR (v1>28 AND v2 BETWEEN 17 AND 71 AND v3<12));`,
  1302  		Expected: []sql.Row{sql.Row{43, 37, 35, 6, 44}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{93, 89, 1, 27, 50}, sql.Row{84, 82, 70, 5, 47}, sql.Row{77, 73, 10, 2, 0}, sql.Row{75, 71, 3, 49, 55}},
  1303  	},
  1304  	{
  1305  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>77 AND v4>82 AND v2>=96) OR (v1 BETWEEN 41 AND 80 AND v2<>21 AND v3>60));`,
  1306  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{67, 64, 26, 77, 97}, sql.Row{55, 50, 36, 73, 58}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{80, 74, 35, 72, 97}},
  1307  	},
  1308  	{
  1309  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1=28 AND v4 BETWEEN 44 AND 50) AND (v1>=49);`,
  1310  		Expected: []sql.Row{},
  1311  	},
  1312  	{
  1313  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 81 AND 87 AND v3<>81 AND v4<30) AND (v1=17) OR (v1<27 AND v2<>8 AND v3>35)) OR (v1>28 AND v2<62));`,
  1314  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1315  	},
  1316  	{
  1317  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>65 AND v2=64) OR (v1=82 AND v3<>99)) OR (v1>=68 AND v2=3 AND v3 BETWEEN 1 AND 51 AND v4<=73));`,
  1318  		Expected: []sql.Row{sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{84, 82, 70, 5, 47}, sql.Row{75, 71, 3, 49, 55}},
  1319  	},
  1320  	{
  1321  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=27 AND v3>23) OR (v1<70 AND v2<>43));`,
  1322  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1323  	},
  1324  	{
  1325  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>34 AND v2>=89 AND v3>=14) OR (v1<=42 AND v3<1)) OR (v1<59 AND v2>=23 AND v3 BETWEEN 17 AND 37 AND v4 BETWEEN 21 AND 38));`,
  1326  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{52, 47, 94, 56, 21}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{45, 38, 71, 22, 37}},
  1327  	},
  1328  	{
  1329  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=52 AND v2>=55) OR (v1<73 AND v2<=1 AND v3>75 AND v4<=36)) OR (v1>=45 AND v2>=49 AND v3<=26 AND v4 BETWEEN 40 AND 83));`,
  1330  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{78, 73, 91, 56, 0}, sql.Row{91, 87, 66, 8, 22}, sql.Row{92, 88, 57, 12, 88}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{97, 93, 56, 71, 53}, sql.Row{58, 50, 97, 0, 79}, sql.Row{69, 64, 77, 41, 17}},
  1331  	},
  1332  	{
  1333  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>0 AND v2=94 AND v3<>0) OR (v1>=83 AND v2<69 AND v3<84));`,
  1334  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{52, 47, 94, 56, 21}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{97, 93, 56, 71, 53}},
  1335  	},
  1336  	{
  1337  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<83 AND v4>51) OR (v1<>30));`,
  1338  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1339  	},
  1340  	{
  1341  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<92) OR (v1 BETWEEN 6 AND 39 AND v2=47 AND v3>=63));`,
  1342  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1343  	},
  1344  	{
  1345  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=98) OR (v1<=2 AND v2<5));`,
  1346  		Expected: []sql.Row{},
  1347  	},
  1348  	{
  1349  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>29 AND v4=40 AND v2>=63) OR (v1<70 AND v2<70 AND v3<=20)) OR (v1 BETWEEN 7 AND 61 AND v2>=33 AND v3>78)) OR (v1>=4 AND v2<=22));`,
  1350  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{65, 63, 50, 20, 43}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{17, 9, 7, 74, 92}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{24, 17, 49, 14, 7}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{7, 4, 10, 53, 69}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1351  	},
  1352  	{
  1353  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=12) OR (v1=28));`,
  1354  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{20, 12, 0, 33, 62}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1355  	},
  1356  	{
  1357  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=94 AND v2>=13 AND v3<=46 AND v4<>36) AND (v1=84) OR (v1 BETWEEN 52 AND 98 AND v2<71 AND v3<>45));`,
  1358  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{76, 71, 48, 89, 99}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1359  	},
  1360  	{
  1361  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>64) OR (v1<>55 AND v2=85 AND v3<=88));`,
  1362  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1363  	},
  1364  	{
  1365  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 54 AND 87 AND v2<78 AND v3<33) OR (v1<>52)) OR (v1 BETWEEN 3 AND 61 AND v4<=49)) OR (v1>3 AND v2<73 AND v3>59));`,
  1366  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1367  	},
  1368  	{
  1369  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 2 AND 23) OR (v1 BETWEEN 7 AND 14 AND v2<=27 AND v3<=82)) OR (v1>61));`,
  1370  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1371  	},
  1372  	{
  1373  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=31 AND v2>44) OR (v1<44 AND v4<>6 AND v2<>10 AND v3<>14)) AND (v1=96 AND v3>25 AND v4<>32);`,
  1374  		Expected: []sql.Row{},
  1375  	},
  1376  	{
  1377  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=85 AND v2<12) AND (v1>=25);`,
  1378  		Expected: []sql.Row{sql.Row{88, 85, 2, 3, 88}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}},
  1379  	},
  1380  	{
  1381  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=0) OR (v1=31)) OR (v1<>73 AND v4>9 AND v2 BETWEEN 27 AND 69 AND v3=14));`,
  1382  		Expected: []sql.Row{sql.Row{0, 0, 33, 2, 67}, sql.Row{1, 0, 55, 14, 32}},
  1383  	},
  1384  	{
  1385  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=42 AND v2=41 AND v3 BETWEEN 29 AND 94 AND v4<71) OR (v1>=71 AND v2 BETWEEN 67 AND 87 AND v3>=9)) OR (v1<2 AND v2<=1 AND v3<36 AND v4>41));`,
  1386  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{81, 76, 74, 97, 18}, sql.Row{86, 83, 41, 53, 57}, sql.Row{100, 96, 73, 38, 38}},
  1387  	},
  1388  	{
  1389  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=3 AND v2<57 AND v3<>74 AND v4>=69) OR (v1<>66 AND v2=16)) OR (v1=44 AND v3=58));`,
  1390  		Expected: []sql.Row{sql.Row{5, 3, 31, 22, 81}, sql.Row{34, 32, 16, 97, 29}, sql.Row{4, 2, 27, 1, 75}},
  1391  	},
  1392  	{
  1393  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=22 AND v2<=41) OR (v1=61 AND v2>21)) OR (v1<>10)) OR (v1 BETWEEN 43 AND 44 AND v2>=35 AND v3<>87));`,
  1394  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1395  	},
  1396  	{
  1397  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=13 AND v3>20) OR (v1 BETWEEN 18 AND 26 AND v2>11 AND v3>22)) OR (v1<18 AND v2>=47 AND v3<11)) OR (v1>19));`,
  1398  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1399  	},
  1400  	{
  1401  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 42 AND 54 AND v2>20) OR (v1<>68 AND v3>32));`,
  1402  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{9, 5, 17, 52, 13}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1403  	},
  1404  	{
  1405  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 20 AND 93) AND (v1=66 AND v2<>21 AND v3 BETWEEN 43 AND 94);`,
  1406  		Expected: []sql.Row{},
  1407  	},
  1408  	{
  1409  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>83 AND v2<>16 AND v3=22) AND (v1=34) AND (v1=79 AND v2<=45 AND v3=49);`,
  1410  		Expected: []sql.Row{},
  1411  	},
  1412  	{
  1413  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=44 AND v2<=98) AND (v1>15) OR (v1<=45 AND v2=1 AND v3<>54));`,
  1414  		Expected: []sql.Row{sql.Row{47, 41, 1, 85, 9}},
  1415  	},
  1416  	{
  1417  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<38 AND v2>24) OR (v1<20 AND v3>=3 AND v4 BETWEEN 59 AND 81)) OR (v1<31 AND v4 BETWEEN 2 AND 16 AND v2=6 AND v3<=69));`,
  1418  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{33, 29, 72, 97, 93}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1419  	},
  1420  	{
  1421  		Query:    `SELECT * FROM comp_index_t2 WHERE (((((v1<43 AND v4<=22) OR (v1<=72 AND v2>=35 AND v3>=96)) OR (v1=63 AND v2=55 AND v3<>46)) OR (v1>=9 AND v2=52 AND v3=86 AND v4<=27)) OR (v1 BETWEEN 37 AND 62));`,
  1422  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}},
  1423  	},
  1424  	{
  1425  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=52) OR (v1>=59 AND v2<=30 AND v3=98 AND v4 BETWEEN 43 AND 74));`,
  1426  		Expected: []sql.Row{sql.Row{60, 52, 72, 44, 2}},
  1427  	},
  1428  	{
  1429  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=37 AND v3>=74 AND v4=54) OR (v1>=36 AND v3<=42 AND v4<=94)) AND (v1=59 AND v2<=56) OR (v1>=83 AND v2<=11));`,
  1430  		Expected: []sql.Row{sql.Row{88, 85, 2, 3, 88}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}},
  1431  	},
  1432  	{
  1433  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>39 AND v3<44 AND v4 BETWEEN 3 AND 31 AND v2>16) OR (v1>72 AND v2=73 AND v3<37 AND v4<=43)) OR (v1=9 AND v2<50));`,
  1434  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{24, 17, 49, 14, 7}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{69, 64, 77, 41, 17}},
  1435  	},
  1436  	{
  1437  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<31 AND v2<>14 AND v3 BETWEEN 0 AND 10 AND v4>=95) OR (v1<>91)) OR (v1<>35));`,
  1438  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1439  	},
  1440  	{
  1441  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>13) OR (v1<>3 AND v4<=42 AND v2 BETWEEN 89 AND 94));`,
  1442  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1443  	},
  1444  	{
  1445  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<29 AND v2<=19) AND (v1>=26) OR (v1>=87 AND v2<=12 AND v3=36 AND v4<20)) AND (v1<=24 AND v4>85 AND v2 BETWEEN 1 AND 64) OR (v1>27 AND v2>=8 AND v3<24));`,
  1446  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{83, 82, 31, 22, 99}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{39, 34, 87, 13, 51}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{37, 33, 86, 12, 22}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{58, 50, 97, 0, 79}, sql.Row{73, 70, 40, 19, 5}},
  1447  	},
  1448  	{
  1449  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<77 AND v2 BETWEEN 5 AND 22 AND v3<>91 AND v4<34) OR (v1=68 AND v2=50)) OR (v1<44 AND v2>84 AND v3<37 AND v4>=67));`,
  1450  		Expected: []sql.Row{sql.Row{40, 34, 89, 27, 90}, sql.Row{9, 5, 17, 52, 13}, sql.Row{79, 74, 22, 42, 16}, sql.Row{42, 36, 7, 40, 16}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}},
  1451  	},
  1452  	{
  1453  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<4 AND v2>=71) OR (v1<18 AND v2=57));`,
  1454  		Expected: []sql.Row{sql.Row{3, 1, 72, 29, 21}},
  1455  	},
  1456  	{
  1457  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>61 AND v2 BETWEEN 46 AND 51) OR (v1 BETWEEN 32 AND 75 AND v4<=32)) AND (v1>97) OR (v1<97));`,
  1458  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1459  	},
  1460  	{
  1461  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 4 AND 71 AND v2<=70) AND (v1<>47 AND v2 BETWEEN 19 AND 65) OR (v1=59 AND v2 BETWEEN 25 AND 58));`,
  1462  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{38, 34, 55, 37, 34}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}},
  1463  	},
  1464  	{
  1465  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<70 AND v2<=90) OR (v1<5 AND v2<>13 AND v3 BETWEEN 20 AND 96 AND v4>92)) OR (v1<>76)) OR (v1 BETWEEN 12 AND 88 AND v2 BETWEEN 53 AND 67 AND v3>=39));`,
  1466  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1467  	},
  1468  	{
  1469  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 8 AND 38 AND v2<=31 AND v3 BETWEEN 30 AND 46 AND v4>=28) OR (v1<=22 AND v4<>40 AND v2>76 AND v3 BETWEEN 38 AND 42)) OR (v1<=52 AND v2<93 AND v3>=83)) OR (v1>=33 AND v3>13 AND v4>34));`,
  1470  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{67, 64, 26, 77, 97}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{89, 86, 7, 57, 96}, sql.Row{46, 39, 45, 75, 55}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1471  	},
  1472  	{
  1473  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 13 AND 40 AND v2>=0) OR (v1<>3 AND v2>47 AND v3<44 AND v4>49)) OR (v1=23));`,
  1474  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{40, 34, 89, 27, 90}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{92, 88, 57, 12, 88}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{39, 34, 87, 13, 51}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{58, 50, 97, 0, 79}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}},
  1475  	},
  1476  	{
  1477  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>35 AND v2<>26) OR (v1<=30 AND v2 BETWEEN 6 AND 61 AND v3<=95 AND v4>5)) AND (v1<>97) OR (v1>31));`,
  1478  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1479  	},
  1480  	{
  1481  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1=43 AND v2>=64) OR (v1>6 AND v3=92 AND v4>=15)) OR (v1<=55 AND v3=6 AND v4<=77 AND v2<=3)) OR (v1=96 AND v3<=80 AND v4<=13));`,
  1482  		Expected: []sql.Row{sql.Row{50, 43, 66, 85, 66}},
  1483  	},
  1484  	{
  1485  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>8 AND v3 BETWEEN 14 AND 75 AND v4=28) AND (v1>=95 AND v2<>72 AND v3=22) OR (v1=5));`,
  1486  		Expected: []sql.Row{sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}},
  1487  	},
  1488  	{
  1489  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=95 AND v2<1 AND v3 BETWEEN 49 AND 61 AND v4=51) OR (v1>29 AND v2>=9 AND v3>=63 AND v4<=88));`,
  1490  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{48, 41, 21, 82, 54}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{82, 82, 29, 66, 71}, sql.Row{55, 50, 36, 73, 58}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}},
  1491  	},
  1492  	{
  1493  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>30 AND v2 BETWEEN 20 AND 64) AND (v1<=29) AND (v1>=25 AND v2<>0);`,
  1494  		Expected: []sql.Row{},
  1495  	},
  1496  	{
  1497  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=89 AND v2<=1 AND v3<=7 AND v4>=4) AND (v1<=87) OR (v1 BETWEEN 10 AND 46 AND v2 BETWEEN 18 AND 76));`,
  1498  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{38, 34, 55, 37, 34}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}},
  1499  	},
  1500  	{
  1501  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=44 AND v2>=45 AND v3>=34 AND v4>1) OR (v1=33));`,
  1502  		Expected: []sql.Row{sql.Row{35, 33, 29, 69, 6}, sql.Row{36, 33, 53, 56, 88}, sql.Row{37, 33, 86, 12, 22}},
  1503  	},
  1504  	{
  1505  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<>12 AND v2<=6) OR (v1>99 AND v2<>51 AND v3=38)) OR (v1>60)) OR (v1 BETWEEN 69 AND 77 AND v2>=49 AND v3>=43));`,
  1506  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{47, 41, 1, 85, 9}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1507  	},
  1508  	{
  1509  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 49 AND 53 AND v4 BETWEEN 22 AND 96) OR (v1 BETWEEN 7 AND 79)) AND (v1<=45 AND v2<=11) OR (v1 BETWEEN 16 AND 65 AND v2<53 AND v3<>15 AND v4>22));`,
  1510  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{67, 64, 26, 77, 97}, sql.Row{17, 9, 7, 74, 92}, sql.Row{31, 24, 26, 69, 25}, sql.Row{55, 50, 36, 73, 58}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{51, 45, 9, 76, 9}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}},
  1511  	},
  1512  	{
  1513  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<11) OR (v1<=38 AND v2>=93 AND v3<=34 AND v4>7));`,
  1514  		Expected: []sql.Row{sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1515  	},
  1516  	{
  1517  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=97 AND v3<>2) OR (v1=49 AND v2 BETWEEN 29 AND 30 AND v3<>97));`,
  1518  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1519  	},
  1520  	{
  1521  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=64) OR (v1>21 AND v2 BETWEEN 0 AND 58)) OR (v1<15 AND v4 BETWEEN 63 AND 76 AND v2>84));`,
  1522  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1523  	},
  1524  	{
  1525  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 24 AND 98 AND v2>0 AND v3>=87) OR (v1 BETWEEN 2 AND 3 AND v2 BETWEEN 15 AND 78));`,
  1526  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{5, 3, 31, 22, 81}, sql.Row{34, 32, 16, 97, 29}, sql.Row{64, 57, 25, 97, 65}, sql.Row{33, 29, 72, 97, 93}, sql.Row{71, 67, 39, 87, 15}, sql.Row{32, 24, 45, 96, 0}, sql.Row{4, 2, 27, 1, 75}},
  1527  	},
  1528  	{
  1529  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<>37) OR (v1<=94 AND v2 BETWEEN 53 AND 65 AND v3>=9)) OR (v1<10 AND v3<>26 AND v4<91)) OR (v1<>21 AND v2<>24 AND v3<46));`,
  1530  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1531  	},
  1532  	{
  1533  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>21 AND v2>27 AND v3>=97 AND v4 BETWEEN 25 AND 67) OR (v1>=66 AND v2<=56)) OR (v1=37));`,
  1534  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{76, 71, 48, 89, 99}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1535  	},
  1536  	{
  1537  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=43 AND v2<48 AND v3<16 AND v4<=75) OR (v1<71));`,
  1538  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1539  	},
  1540  	{
  1541  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>91 AND v2=91 AND v3>=15) OR (v1 BETWEEN 16 AND 30)) OR (v1<>27 AND v4=62));`,
  1542  		Expected: []sql.Row{sql.Row{20, 12, 0, 33, 62}, sql.Row{28, 22, 21, 28, 78}, sql.Row{78, 73, 91, 56, 0}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{33, 29, 72, 97, 93}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}},
  1543  	},
  1544  	{
  1545  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=54 AND v3>26 AND v4>30 AND v2 BETWEEN 3 AND 8) OR (v1>8 AND v2<=43 AND v3<>97));`,
  1546  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{55, 50, 36, 73, 58}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1547  	},
  1548  	{
  1549  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=38 AND v2<>11 AND v3>=26) OR (v1 BETWEEN 37 AND 90 AND v4<85 AND v2<0)) OR (v1<>23));`,
  1550  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1551  	},
  1552  	{
  1553  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<20 AND v2<>84 AND v3<25 AND v4>=93) OR (v1<13));`,
  1554  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{20, 12, 0, 33, 62}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1555  	},
  1556  	{
  1557  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=81 AND v2 BETWEEN 55 AND 77 AND v3=64) OR (v1=20 AND v2=21));`,
  1558  		Expected: []sql.Row{},
  1559  	},
  1560  	{
  1561  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>30 AND v2 BETWEEN 58 AND 72 AND v3<=35) OR (v1 BETWEEN 28 AND 28 AND v2>=76)) OR (v1=74 AND v2<26));`,
  1562  		Expected: []sql.Row{sql.Row{91, 87, 66, 8, 22}, sql.Row{79, 74, 22, 42, 16}, sql.Row{84, 82, 70, 5, 47}, sql.Row{45, 38, 71, 22, 37}},
  1563  	},
  1564  	{
  1565  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>5 AND v2>8) OR (v1>78 AND v2<=39 AND v3>=41 AND v4<=35)) AND (v1<=11 AND v2<35 AND v3<=10 AND v4<76) OR (v1>=22)) OR (v1=1 AND v4<>29 AND v2 BETWEEN 64 AND 81 AND v3>46));`,
  1566  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1567  	},
  1568  	{
  1569  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=49) OR (v1<43 AND v2>=34));`,
  1570  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{32, 24, 45, 96, 0}},
  1571  	},
  1572  	{
  1573  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>=72) OR (v1<>17)) OR (v1=47 AND v2<>1 AND v3 BETWEEN 75 AND 78 AND v4 BETWEEN 10 AND 44)) OR (v1>=64 AND v2>=74 AND v3=10 AND v4 BETWEEN 11 AND 93));`,
  1574  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1575  	},
  1576  	{
  1577  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<2 AND v2<>94) OR (v1<>76 AND v2=27 AND v3<=31 AND v4<38));`,
  1578  		Expected: []sql.Row{sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}},
  1579  	},
  1580  	{
  1581  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<>11 AND v2>47 AND v3>=67 AND v4=29) OR (v1>=59 AND v3 BETWEEN 4 AND 29 AND v4>=65 AND v2<>96)) OR (v1<=62)) OR (v1<61 AND v2<>28 AND v3<>8 AND v4<>30));`,
  1582  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{83, 82, 31, 22, 99}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1583  	},
  1584  	{
  1585  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 36 AND 72) OR (v1<>48 AND v4>91 AND v2<5 AND v3>=38)) OR (v1<>17 AND v3=50));`,
  1586  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  1587  	},
  1588  	{
  1589  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<86) OR (v1<=5 AND v2<25 AND v3<>24)) OR (v1<32 AND v3 BETWEEN 51 AND 54 AND v4<=70));`,
  1590  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1591  	},
  1592  	{
  1593  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=6) OR (v1 BETWEEN 24 AND 89)) OR (v1<87 AND v2=35 AND v3=19)) AND (v1>94 AND v2=33 AND v3>28) OR (v1 BETWEEN 36 AND 40));`,
  1594  		Expected: []sql.Row{sql.Row{43, 37, 35, 6, 44}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{45, 38, 71, 22, 37}},
  1595  	},
  1596  	{
  1597  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=24 AND v2=61 AND v3<49 AND v4<82) OR (v1<4 AND v2>51 AND v3=9));`,
  1598  		Expected: []sql.Row{},
  1599  	},
  1600  	{
  1601  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 0 AND 87 AND v2>=44 AND v3<>68 AND v4=50) OR (v1<1 AND v4<66 AND v2<11 AND v3<>44));`,
  1602  		Expected: []sql.Row{},
  1603  	},
  1604  	{
  1605  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<17 AND v2<54) AND (v1>=70 AND v2 BETWEEN 53 AND 53 AND v3>10 AND v4=17);`,
  1606  		Expected: []sql.Row{},
  1607  	},
  1608  	{
  1609  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1=21 AND v2>25 AND v3>=7) OR (v1 BETWEEN 23 AND 88 AND v2<=26 AND v3>=87 AND v4 BETWEEN 42 AND 95)) OR (v1<4 AND v2>=66 AND v3<=24 AND v4=10)) OR (v1>69));`,
  1610  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{73, 70, 40, 19, 5}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1611  	},
  1612  	{
  1613  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 0 AND 39) OR (v1<18 AND v4>=90));`,
  1614  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1615  	},
  1616  	{
  1617  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<99 AND v2>1 AND v3<=56) OR (v1>36 AND v2=53 AND v3>17)) OR (v1<>71)) AND (v1 BETWEEN 2 AND 86 AND v2<>78 AND v3<>29 AND v4<>63);`,
  1618  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1619  	},
  1620  	{
  1621  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=5) OR (v1=53));`,
  1622  		Expected: []sql.Row{sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{8, 4, 27, 77, 5}, sql.Row{5, 3, 31, 22, 81}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{7, 4, 10, 53, 69}, sql.Row{61, 53, 6, 53, 89}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1623  	},
  1624  	{
  1625  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<>12 AND v2 BETWEEN 27 AND 46 AND v3 BETWEEN 19 AND 27 AND v4>=50) OR (v1 BETWEEN 17 AND 88)) OR (v1<=36 AND v2<=37 AND v3<64)) OR (v1<>82 AND v2>84 AND v3>=90)) AND (v1>34 AND v3>4);`,
  1626  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{91, 87, 66, 8, 22}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1627  	},
  1628  	{
  1629  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=82) OR (v1<=95 AND v2<>23 AND v3<18 AND v4<>50));`,
  1630  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{24, 17, 49, 14, 7}, sql.Row{39, 34, 87, 13, 51}, sql.Row{70, 66, 97, 6, 39}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{58, 50, 97, 0, 79}, sql.Row{4, 2, 27, 1, 75}},
  1631  	},
  1632  	{
  1633  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=51) AND (v1=55 AND v2>=59 AND v3>=49) OR (v1>5 AND v2<34));`,
  1634  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}},
  1635  	},
  1636  	{
  1637  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>4 AND v2<=21 AND v3>=15) OR (v1=93 AND v2>=1 AND v3<>63)) OR (v1 BETWEEN 24 AND 86 AND v3<=5));`,
  1638  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{28, 22, 21, 28, 78}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{17, 9, 7, 74, 92}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{58, 50, 97, 0, 79}, sql.Row{18, 9, 19, 38, 35}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}},
  1639  	},
  1640  	{
  1641  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<63 AND v2<>32 AND v3>=14) OR (v1=18 AND v3 BETWEEN 4 AND 42 AND v4>10)) OR (v1<23 AND v2>=21));`,
  1642  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1643  	},
  1644  	{
  1645  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>34 AND v3 BETWEEN 27 AND 48 AND v4<=11 AND v2>42) AND (v1<>47 AND v2<48 AND v3<=47 AND v4<>12) OR (v1<=36 AND v2<>17));`,
  1646  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1647  	},
  1648  	{
  1649  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=34 AND v2<=80 AND v3<=27) AND (v1 BETWEEN 0 AND 33) OR (v1<=56 AND v2=50 AND v3 BETWEEN 0 AND 5 AND v4<>31));`,
  1650  		Expected: []sql.Row{},
  1651  	},
  1652  	{
  1653  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=93 AND v2<>5) OR (v1>=81 AND v4=9 AND v2>33 AND v3<99));`,
  1654  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1655  	},
  1656  	{
  1657  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=37 AND v2=4 AND v3=3) AND (v1=12 AND v2>9 AND v3<89 AND v4<>12) OR (v1=1 AND v2=43 AND v3<=2));`,
  1658  		Expected: []sql.Row{},
  1659  	},
  1660  	{
  1661  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=82) OR (v1<=4 AND v2>=51)) OR (v1=58 AND v4<86));`,
  1662  		Expected: []sql.Row{sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{84, 82, 70, 5, 47}},
  1663  	},
  1664  	{
  1665  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>=42 AND v4<85 AND v2<8 AND v3<3) OR (v1>=78 AND v2<>28 AND v3<52)) OR (v1<8 AND v2<>76 AND v3 BETWEEN 36 AND 70)) OR (v1=70));`,
  1666  		Expected: []sql.Row{sql.Row{90, 87, 23, 16, 63}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{93, 89, 1, 27, 50}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{7, 4, 10, 53, 69}, sql.Row{73, 70, 40, 19, 5}, sql.Row{6, 4, 6, 67, 80}},
  1667  	},
  1668  	{
  1669  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>69) OR (v1>=43));`,
  1670  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1671  	},
  1672  	{
  1673  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 39 AND 76 AND v4>16 AND v2<>15 AND v3<>35) AND (v1<>50 AND v2>21 AND v3 BETWEEN 27 AND 90 AND v4>18) OR (v1<25 AND v4=58));`,
  1674  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{52, 47, 94, 56, 21}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{67, 64, 26, 77, 97}, sql.Row{59, 51, 97, 39, 36}, sql.Row{46, 39, 45, 75, 55}, sql.Row{50, 43, 66, 85, 66}, sql.Row{63, 55, 31, 29, 92}, sql.Row{80, 74, 35, 72, 97}},
  1675  	},
  1676  	{
  1677  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=62) OR (v1 BETWEEN 24 AND 36 AND v2>=94 AND v3 BETWEEN 10 AND 55 AND v4>=89));`,
  1678  		Expected: []sql.Row{},
  1679  	},
  1680  	{
  1681  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=31) OR (v1<=95 AND v2<=26 AND v3 BETWEEN 40 AND 72)) OR (v1<51 AND v2=23));`,
  1682  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{31, 24, 26, 69, 25}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{7, 4, 10, 53, 69}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}, sql.Row{6, 4, 6, 67, 80}},
  1683  	},
  1684  	{
  1685  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=3) OR (v1>40)) AND (v1>66 AND v2>33);`,
  1686  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{78, 73, 91, 56, 0}, sql.Row{91, 87, 66, 8, 22}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{80, 74, 35, 72, 97}},
  1687  	},
  1688  	{
  1689  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=69 AND v2=61 AND v3=87 AND v4 BETWEEN 63 AND 87) OR (v1 BETWEEN 48 AND 62)) OR (v1<>81 AND v2<=67 AND v3<>43));`,
  1690  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1691  	},
  1692  	{
  1693  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=19) AND (v1<=20 AND v2>=2) OR (v1 BETWEEN 12 AND 53 AND v4>=1 AND v2<43 AND v3<59));`,
  1694  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}},
  1695  	},
  1696  	{
  1697  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=42 AND v2<=65) AND (v1<=21) OR (v1<=14 AND v2<>1 AND v3<62));`,
  1698  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{20, 12, 0, 33, 62}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}},
  1699  	},
  1700  	{
  1701  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>5) OR (v1<96 AND v2>=14)) OR (v1<>96)) AND (v1<>51 AND v3>41);`,
  1702  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{9, 5, 17, 52, 13}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{86, 83, 41, 53, 57}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{13, 7, 21, 75, 70}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1703  	},
  1704  	{
  1705  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>97 AND v3<>77 AND v4=30 AND v2<>45) OR (v1=36 AND v2<77 AND v3>94)) OR (v1=26));`,
  1706  		Expected: []sql.Row{},
  1707  	},
  1708  	{
  1709  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 34 AND 37 AND v3>23 AND v4>31) OR (v1 BETWEEN 43 AND 81 AND v3>=54 AND v4>=72));`,
  1710  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{40, 34, 89, 27, 90}, sql.Row{76, 71, 48, 89, 99}, sql.Row{68, 64, 41, 74, 85}, sql.Row{67, 64, 26, 77, 97}, sql.Row{38, 34, 55, 37, 34}, sql.Row{80, 74, 35, 72, 97}},
  1711  	},
  1712  	{
  1713  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=17 AND v2<>19) OR (v1>45));`,
  1714  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1715  	},
  1716  	{
  1717  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=57) OR (v1>=1 AND v2<=5 AND v3>=10 AND v4<5)) OR (v1>55));`,
  1718  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1719  	},
  1720  	{
  1721  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=23 AND v2<=48) OR (v1>41 AND v2>=46 AND v3 BETWEEN 11 AND 29)) AND (v1<>11) OR (v1=70 AND v3<54 AND v4<=47 AND v2<>62));`,
  1722  		Expected: []sql.Row{sql.Row{65, 63, 50, 20, 43}, sql.Row{62, 53, 48, 19, 36}, sql.Row{92, 88, 57, 12, 88}, sql.Row{74, 70, 56, 21, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{73, 70, 40, 19, 5}},
  1723  	},
  1724  	{
  1725  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>73) OR (v1>5 AND v2>=7 AND v3>=43 AND v4<=53)) OR (v1<34 AND v2<95 AND v3 BETWEEN 9 AND 81 AND v4<>8)) AND (v1<=68 AND v4>48 AND v2>11 AND v3 BETWEEN 17 AND 89) OR (v1=41 AND v2 BETWEEN 56 AND 93));`,
  1726  		Expected: []sql.Row{sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{15, 8, 54, 46, 87}, sql.Row{36, 33, 53, 56, 88}, sql.Row{5, 3, 31, 22, 81}, sql.Row{13, 7, 21, 75, 70}, sql.Row{26, 20, 30, 34, 71}},
  1727  	},
  1728  	{
  1729  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>3 AND v3>=34) OR (v1<>31 AND v2<16 AND v3<8));`,
  1730  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{86, 83, 41, 53, 57}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1731  	},
  1732  	{
  1733  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 88 AND 97) OR (v1>67 AND v4<=27 AND v2<5 AND v3>40)) OR (v1 BETWEEN 5 AND 83 AND v2>=34 AND v3=59));`,
  1734  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{93, 89, 1, 27, 50}, sql.Row{94, 89, 91, 7, 45}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}},
  1735  	},
  1736  	{
  1737  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>96 AND v2<=2 AND v3=17 AND v4<79) OR (v1=67 AND v2=30 AND v3=38 AND v4=53));`,
  1738  		Expected: []sql.Row{},
  1739  	},
  1740  	{
  1741  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>45 AND v2>76) OR (v1=30 AND v2=53));`,
  1742  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{52, 47, 94, 56, 21}, sql.Row{72, 69, 81, 70, 37}, sql.Row{78, 73, 91, 56, 0}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{57, 50, 79, 10, 12}, sql.Row{37, 33, 86, 12, 22}, sql.Row{58, 50, 97, 0, 79}, sql.Row{69, 64, 77, 41, 17}},
  1743  	},
  1744  	{
  1745  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 3 AND 34 AND v2>39) OR (v1>1 AND v2>=92 AND v3=99)) OR (v1>=36 AND v2<>65 AND v3=69));`,
  1746  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{30, 23, 43, 13, 11}, sql.Row{33, 29, 72, 97, 93}, sql.Row{32, 24, 45, 96, 0}},
  1747  	},
  1748  	{
  1749  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=54 AND v2=38 AND v3>=64 AND v4>36) OR (v1<=48)) OR (v1<37 AND v2=13 AND v3<20));`,
  1750  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1751  	},
  1752  	{
  1753  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>70) OR (v1<>2 AND v2>79 AND v3<>6 AND v4<>42));`,
  1754  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1755  	},
  1756  	{
  1757  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>46 AND v2>93 AND v3>19) AND (v1<51 AND v2=39) OR (v1<61)) AND (v1<>22);`,
  1758  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1759  	},
  1760  	{
  1761  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=53 AND v2>0 AND v3=95 AND v4<=2) OR (v1<41 AND v4<10 AND v2 BETWEEN 11 AND 35)) OR (v1=11 AND v2<20 AND v3=51 AND v4<>30));`,
  1762  		Expected: []sql.Row{sql.Row{35, 33, 29, 69, 6}, sql.Row{8, 4, 27, 77, 5}, sql.Row{27, 21, 21, 32, 8}},
  1763  	},
  1764  	{
  1765  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=32 AND v2>6 AND v3=55) OR (v1=87 AND v2<=80)) OR (v1=88 AND v2<=87 AND v3>=45));`,
  1766  		Expected: []sql.Row{sql.Row{90, 87, 23, 16, 63}, sql.Row{91, 87, 66, 8, 22}},
  1767  	},
  1768  	{
  1769  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>8) OR (v1 BETWEEN 16 AND 25 AND v2<>79 AND v3>=55 AND v4<=5));`,
  1770  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1771  	},
  1772  	{
  1773  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=45 AND v2>55 AND v3<90) OR (v1>26 AND v2>=2 AND v3<>85 AND v4<=74));`,
  1774  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  1775  	},
  1776  	{
  1777  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=59) OR (v1<>85 AND v4<6 AND v2 BETWEEN 14 AND 82));`,
  1778  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{66, 64, 23, 33, 5}, sql.Row{8, 4, 27, 77, 5}, sql.Row{60, 52, 72, 44, 2}, sql.Row{19, 10, 36, 27, 5}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}},
  1779  	},
  1780  	{
  1781  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=94 AND v2>32 AND v3>61) OR (v1>51 AND v4>84 AND v2>=46)) OR (v1=39));`,
  1782  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{76, 71, 48, 89, 99}, sql.Row{92, 88, 57, 12, 88}, sql.Row{46, 39, 45, 75, 55}},
  1783  	},
  1784  	{
  1785  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=89) OR (v1<=28 AND v2=13));`,
  1786  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{93, 89, 1, 27, 50}, sql.Row{94, 89, 91, 7, 45}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}},
  1787  	},
  1788  	{
  1789  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=5 AND v2<65 AND v3<64 AND v4=81) OR (v1<=75)) AND (v1=87);`,
  1790  		Expected: []sql.Row{},
  1791  	},
  1792  	{
  1793  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=31 AND v4>30 AND v2<>38) OR (v1<>35)) OR (v1<=8 AND v2<43 AND v3<=50 AND v4<=33));`,
  1794  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1795  	},
  1796  	{
  1797  		Query:    `SELECT * FROM comp_index_t2 WHERE (((((v1>65 AND v2=89 AND v3>12) OR (v1 BETWEEN 37 AND 75 AND v2=42 AND v3<=14)) OR (v1>=87 AND v2=85)) OR (v1<>48 AND v4 BETWEEN 32 AND 33 AND v2>21 AND v3<=25)) OR (v1 BETWEEN 51 AND 88 AND v2<>67));`,
  1798  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{91, 87, 66, 8, 22}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{84, 82, 70, 5, 47}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1799  	},
  1800  	{
  1801  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>82) OR (v1<1 AND v3>=22)) AND (v1=4) OR (v1>27 AND v2 BETWEEN 7 AND 79 AND v3 BETWEEN 9 AND 29 AND v4<85));`,
  1802  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{56, 50, 39, 26, 37}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{45, 38, 71, 22, 37}, sql.Row{73, 70, 40, 19, 5}},
  1803  	},
  1804  	{
  1805  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=41 AND v2<13 AND v3 BETWEEN 62 AND 87) AND (v1<=67 AND v2>68 AND v3=56 AND v4>28);`,
  1806  		Expected: []sql.Row{},
  1807  	},
  1808  	{
  1809  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 23 AND 34 AND v2 BETWEEN 4 AND 75 AND v3<91) OR (v1>=31));`,
  1810  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1811  	},
  1812  	{
  1813  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<59) OR (v1 BETWEEN 6 AND 86 AND v4<97)) OR (v1<>90 AND v2=43 AND v3=29));`,
  1814  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1815  	},
  1816  	{
  1817  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=1 AND v2<34) OR (v1<78));`,
  1818  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1819  	},
  1820  	{
  1821  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=10 AND v2<>64 AND v3>25 AND v4<29) OR (v1>39));`,
  1822  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1823  	},
  1824  	{
  1825  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>35 AND v2>=14 AND v3<65 AND v4<>9) OR (v1<>14 AND v3<51 AND v4<32)) OR (v1>=21 AND v3<>25 AND v4<>16));`,
  1826  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}},
  1827  	},
  1828  	{
  1829  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>12 AND v2<0) OR (v1=36 AND v3<37));`,
  1830  		Expected: []sql.Row{},
  1831  	},
  1832  	{
  1833  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1=83 AND v3>=72 AND v4<=74) AND (v1>61 AND v2 BETWEEN 32 AND 44);`,
  1834  		Expected: []sql.Row{},
  1835  	},
  1836  	{
  1837  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1=78 AND v2>28 AND v3<=47) AND (v1<35 AND v2=69 AND v3>16);`,
  1838  		Expected: []sql.Row{},
  1839  	},
  1840  	{
  1841  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 31 AND 49 AND v2=20 AND v3 BETWEEN 8 AND 46) AND (v1<>57 AND v2<5);`,
  1842  		Expected: []sql.Row{},
  1843  	},
  1844  	{
  1845  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=39 AND v2<>3) OR (v1=97 AND v2<>37));`,
  1846  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1847  	},
  1848  	{
  1849  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=19 AND v4<>62 AND v2<>19 AND v3<>29) OR (v1 BETWEEN 37 AND 75 AND v4<23 AND v2 BETWEEN 6 AND 43));`,
  1850  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1851  	},
  1852  	{
  1853  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<8 AND v2<=33 AND v3 BETWEEN 54 AND 85) OR (v1=46));`,
  1854  		Expected: []sql.Row{sql.Row{8, 4, 27, 77, 5}, sql.Row{12, 7, 7, 66, 62}, sql.Row{13, 7, 21, 75, 70}, sql.Row{6, 4, 6, 67, 80}},
  1855  	},
  1856  	{
  1857  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=69 AND v2<8) AND (v1>=34 AND v2>=99 AND v3>96 AND v4 BETWEEN 36 AND 99) OR (v1=0 AND v2>=71));`,
  1858  		Expected: []sql.Row{},
  1859  	},
  1860  	{
  1861  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 20 AND 54 AND v2<>31 AND v3 BETWEEN 15 AND 21) OR (v1<=46 AND v3>76)) OR (v1 BETWEEN 31 AND 71));`,
  1862  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  1863  	},
  1864  	{
  1865  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>37 AND v2<>5 AND v3=8 AND v4 BETWEEN 26 AND 50) OR (v1>=53)) AND (v1 BETWEEN 5 AND 80);`,
  1866  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{74, 70, 56, 21, 22}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1867  	},
  1868  	{
  1869  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=25) OR (v1<=87));`,
  1870  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1871  	},
  1872  	{
  1873  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=99 AND v2>=85) AND (v1<=83 AND v2=99) OR (v1<=6 AND v2 BETWEEN 36 AND 68 AND v3>62 AND v4=79));`,
  1874  		Expected: []sql.Row{},
  1875  	},
  1876  	{
  1877  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 30 AND 32 AND v2<68 AND v3<24) AND (v1>=32);`,
  1878  		Expected: []sql.Row{},
  1879  	},
  1880  	{
  1881  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>62 AND v2>0) OR (v1<>80 AND v2>55 AND v3=10 AND v4=91));`,
  1882  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1883  	},
  1884  	{
  1885  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=7 AND v2 BETWEEN 55 AND 81) OR (v1<>56 AND v2<=76 AND v3<>36)) AND (v1<56 AND v2<>69 AND v3=25);`,
  1886  		Expected: []sql.Row{},
  1887  	},
  1888  	{
  1889  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>18) OR (v1>=42 AND v2<=65 AND v3=87 AND v4=80));`,
  1890  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1891  	},
  1892  	{
  1893  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=27) OR (v1<23 AND v2>=41));`,
  1894  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{20, 12, 0, 33, 62}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1895  	},
  1896  	{
  1897  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>71 AND v4>0) OR (v1<48 AND v2=89 AND v3>=46 AND v4<=32)) OR (v1<62 AND v2>=33 AND v3>58)) OR (v1>=31 AND v3<>71));`,
  1898  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1899  	},
  1900  	{
  1901  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 9 AND 40 AND v3<=43 AND v4=62 AND v2>=43) OR (v1=61 AND v2>12 AND v3 BETWEEN 0 AND 13 AND v4>=8));`,
  1902  		Expected: []sql.Row{},
  1903  	},
  1904  	{
  1905  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<58) OR (v1 BETWEEN 17 AND 20 AND v2<>99 AND v3<=76)) OR (v1 BETWEEN 48 AND 87)) OR (v1<39 AND v2 BETWEEN 48 AND 94 AND v3<>0));`,
  1906  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1907  	},
  1908  	{
  1909  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=33) OR (v1 BETWEEN 7 AND 41 AND v2<82 AND v3<53 AND v4<>3));`,
  1910  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}},
  1911  	},
  1912  	{
  1913  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=9 AND v4=22 AND v2>=95) OR (v1>96));`,
  1914  		Expected: []sql.Row{},
  1915  	},
  1916  	{
  1917  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=56) OR (v1>=31 AND v4<38 AND v2>20)) OR (v1=91 AND v2<48));`,
  1918  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1919  	},
  1920  	{
  1921  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=75 AND v4<=30) OR (v1>=41 AND v2 BETWEEN 16 AND 25 AND v3>=99));`,
  1922  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{78, 73, 91, 56, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{66, 64, 23, 33, 5}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{16, 8, 99, 43, 1}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{69, 64, 77, 41, 17}},
  1923  	},
  1924  	{
  1925  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 2 AND 64) OR (v1>=23));`,
  1926  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1927  	},
  1928  	{
  1929  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=26 AND v2<1 AND v3=82 AND v4<=42) OR (v1 BETWEEN 42 AND 73));`,
  1930  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{53, 48, 3, 11, 18}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  1931  	},
  1932  	{
  1933  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=23 AND v2<=10) AND (v1>=75 AND v4 BETWEEN 24 AND 68) AND (v1>44 AND v2>8 AND v3<=16);`,
  1934  		Expected: []sql.Row{},
  1935  	},
  1936  	{
  1937  		Query:    `SELECT * FROM comp_index_t2 WHERE (((((v1>6 AND v2>61 AND v3=0 AND v4>=76) OR (v1<23)) OR (v1<>46 AND v2=29 AND v3>4)) OR (v1>=59)) OR (v1=87 AND v2<=98 AND v3>=47));`,
  1938  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1939  	},
  1940  	{
  1941  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=59 AND v2 BETWEEN 15 AND 53 AND v3<>17 AND v4>=10) OR (v1 BETWEEN 37 AND 95 AND v2<=32 AND v3>=81));`,
  1942  		Expected: []sql.Row{sql.Row{48, 41, 21, 82, 54}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}},
  1943  	},
  1944  	{
  1945  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 6 AND 92 AND v2=75 AND v3>79) OR (v1>=10)) OR (v1<=35 AND v2<=42)) AND (v1<>65);`,
  1946  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1947  	},
  1948  	{
  1949  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>84 AND v4<=53 AND v2=77 AND v3>=40) OR (v1>78 AND v2<>1 AND v3=98 AND v4>=76));`,
  1950  		Expected: []sql.Row{},
  1951  	},
  1952  	{
  1953  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>79 AND v2<=85) OR (v1<>13)) OR (v1 BETWEEN 4 AND 67));`,
  1954  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1955  	},
  1956  	{
  1957  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>34) OR (v1<35 AND v2>=93)) OR (v1>8));`,
  1958  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1959  	},
  1960  	{
  1961  		Query:    `SELECT * FROM comp_index_t2 WHERE (((((v1<65) OR (v1<>44)) OR (v1<=39 AND v3>=14)) OR (v1<=33 AND v2<>11)) OR (v1=75 AND v2=0 AND v3<28));`,
  1962  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1963  	},
  1964  	{
  1965  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>50 AND v2>=46) AND (v1<>17 AND v2=45 AND v3<=79) OR (v1=10 AND v2>=35)) AND (v1=44 AND v2=38);`,
  1966  		Expected: []sql.Row{},
  1967  	},
  1968  	{
  1969  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<34) OR (v1<=62 AND v4<>18 AND v2 BETWEEN 1 AND 41)) OR (v1>=65 AND v2>=93 AND v3 BETWEEN 34 AND 41));`,
  1970  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1971  	},
  1972  	{
  1973  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>8) OR (v1>20 AND v4>=99));`,
  1974  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  1975  	},
  1976  	{
  1977  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>57) OR (v1<87 AND v2<>91 AND v3 BETWEEN 47 AND 98));`,
  1978  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{46, 39, 45, 75, 55}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  1979  	},
  1980  	{
  1981  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=57) OR (v1=88 AND v2 BETWEEN 72 AND 93));`,
  1982  		Expected: []sql.Row{sql.Row{64, 57, 25, 97, 65}},
  1983  	},
  1984  	{
  1985  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>10 AND v2=20 AND v3<=21 AND v4<>88) OR (v1<28 AND v2 BETWEEN 38 AND 59 AND v3<>98 AND v4>=26));`,
  1986  		Expected: []sql.Row{sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{1, 0, 55, 14, 32}},
  1987  	},
  1988  	{
  1989  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>5 AND v3<>53 AND v4>=49) OR (v1<18 AND v2<94));`,
  1990  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{46, 39, 45, 75, 55}, sql.Row{25, 17, 75, 86, 18}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1991  	},
  1992  	{
  1993  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<52 AND v2 BETWEEN 33 AND 75 AND v3=32) OR (v1<=98 AND v2<=41 AND v3<>87 AND v4<>83));`,
  1994  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  1995  	},
  1996  	{
  1997  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>28 AND v4>57 AND v2<62 AND v3 BETWEEN 14 AND 41) AND (v1<>72 AND v2>=13 AND v3>29 AND v4>38) OR (v1<=22 AND v2>58));`,
  1998  		Expected: []sql.Row{sql.Row{11, 5, 76, 70, 46}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{25, 17, 75, 86, 18}},
  1999  	},
  2000  	{
  2001  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=13 AND v2<=52 AND v3=28 AND v4>88) OR (v1<>5 AND v2<=42));`,
  2002  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2003  	},
  2004  	{
  2005  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>35 AND v4<>20 AND v2<81 AND v3=27) OR (v1>13 AND v3=27));`,
  2006  		Expected: []sql.Row{sql.Row{40, 34, 89, 27, 90}, sql.Row{93, 89, 1, 27, 50}},
  2007  	},
  2008  	{
  2009  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=26) OR (v1<59 AND v2 BETWEEN 2 AND 30 AND v3>=69));`,
  2010  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2011  	},
  2012  	{
  2013  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<11) OR (v1<>9 AND v2 BETWEEN 51 AND 62 AND v3=98));`,
  2014  		Expected: []sql.Row{sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2015  	},
  2016  	{
  2017  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=92 AND v2>25) OR (v1=91 AND v2=21 AND v3<=18 AND v4<>15)) OR (v1=79 AND v2>67 AND v3<>48 AND v4<42));`,
  2018  		Expected: []sql.Row{},
  2019  	},
  2020  	{
  2021  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=86 AND v2<5 AND v3<36 AND v4<81) OR (v1>=52 AND v2>24 AND v3<5)) OR (v1 BETWEEN 5 AND 80 AND v3<>80));`,
  2022  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2023  	},
  2024  	{
  2025  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>67) OR (v1>69 AND v2>11 AND v3=13 AND v4=20));`,
  2026  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{73, 70, 40, 19, 5}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2027  	},
  2028  	{
  2029  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>31) OR (v1 BETWEEN 27 AND 87 AND v2=71 AND v3=38 AND v4=1));`,
  2030  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2031  	},
  2032  	{
  2033  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>2 AND v4=0 AND v2 BETWEEN 6 AND 23 AND v3 BETWEEN 46 AND 52) OR (v1<=63 AND v2>=71 AND v3=28)) AND (v1<=52);`,
  2034  		Expected: []sql.Row{},
  2035  	},
  2036  	{
  2037  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 10 AND 90) AND (v1=86 AND v4>=4) AND (v1 BETWEEN 6 AND 58 AND v2=85);`,
  2038  		Expected: []sql.Row{},
  2039  	},
  2040  	{
  2041  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=46 AND v4>41 AND v2<>12) OR (v1>17 AND v2>=34 AND v3<>68 AND v4<=13)) OR (v1>=98 AND v4 BETWEEN 3 AND 62 AND v2=39));`,
  2042  		Expected: []sql.Row{sql.Row{78, 73, 91, 56, 0}, sql.Row{57, 50, 79, 10, 12}, sql.Row{44, 37, 41, 36, 10}, sql.Row{30, 23, 43, 13, 11}, sql.Row{60, 52, 72, 44, 2}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}},
  2043  	},
  2044  	{
  2045  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=12 AND v2<>4 AND v3 BETWEEN 18 AND 42) OR (v1>=73)) OR (v1<60 AND v2=93 AND v3>=79));`,
  2046  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{10, 5, 32, 30, 48}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{18, 9, 19, 38, 35}, sql.Row{80, 74, 35, 72, 97}},
  2047  	},
  2048  	{
  2049  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=55 AND v2>50) OR (v1<>51 AND v2>=37));`,
  2050  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{30, 23, 43, 13, 11}, sql.Row{60, 52, 72, 44, 2}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{69, 64, 77, 41, 17}},
  2051  	},
  2052  	{
  2053  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 66 AND 76 AND v2>=84 AND v3>1 AND v4 BETWEEN 71 AND 95) AND (v1>36 AND v2<>41) OR (v1<44 AND v2<=50 AND v3=36 AND v4<=42));`,
  2054  		Expected: []sql.Row{sql.Row{44, 37, 41, 36, 10}},
  2055  	},
  2056  	{
  2057  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=21 AND v2=44 AND v3>=68) OR (v1>=38 AND v2>=15));`,
  2058  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{46, 39, 45, 75, 55}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{80, 74, 35, 72, 97}},
  2059  	},
  2060  	{
  2061  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<>37 AND v2>67 AND v3>52) AND (v1<48 AND v2<>73 AND v3=25 AND v4=22);`,
  2062  		Expected: []sql.Row{},
  2063  	},
  2064  	{
  2065  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 57 AND 62 AND v2>=99) OR (v1>31));`,
  2066  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2067  	},
  2068  	{
  2069  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>22 AND v3<>49) OR (v1>=41 AND v2<=74 AND v3<=46));`,
  2070  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2071  	},
  2072  	{
  2073  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=82 AND v4<=67 AND v2=40) OR (v1>63)) OR (v1<=16));`,
  2074  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2075  	},
  2076  	{
  2077  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=39 AND v2<>82 AND v3>=33 AND v4>=84) OR (v1=57 AND v2<25 AND v3<>55 AND v4<=82)) OR (v1>10 AND v2>28 AND v3>=65)) OR (v1<=13 AND v2=66));`,
  2078  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{82, 82, 29, 66, 71}, sql.Row{17, 9, 7, 74, 92}, sql.Row{15, 8, 54, 46, 87}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{46, 39, 45, 75, 55}, sql.Row{25, 17, 75, 86, 18}, sql.Row{97, 93, 56, 71, 53}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{32, 24, 45, 96, 0}, sql.Row{80, 74, 35, 72, 97}},
  2079  	},
  2080  	{
  2081  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=60 AND v2<=25 AND v3<>9) OR (v1 BETWEEN 19 AND 92 AND v2>=33 AND v3<=40 AND v4=53));`,
  2082  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{28, 22, 21, 28, 78}, sql.Row{9, 5, 17, 52, 13}, sql.Row{17, 9, 7, 74, 92}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{51, 45, 9, 76, 9}, sql.Row{18, 9, 19, 38, 35}, sql.Row{61, 53, 6, 53, 89}, sql.Row{6, 4, 6, 67, 80}},
  2083  	},
  2084  	{
  2085  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=21 AND v2<=27 AND v3>=86 AND v4>99) OR (v1<76 AND v2<>97));`,
  2086  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2087  	},
  2088  	{
  2089  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 4 AND 8 AND v3>=12) OR (v1>=12 AND v2>=0 AND v3=18));`,
  2090  		Expected: []sql.Row{sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{12, 7, 7, 66, 62}, sql.Row{13, 7, 21, 75, 70}, sql.Row{7, 4, 10, 53, 69}, sql.Row{6, 4, 6, 67, 80}},
  2091  	},
  2092  	{
  2093  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>65 AND v2<=52 AND v3>37) OR (v1>11)) OR (v1<=54 AND v2 BETWEEN 30 AND 85 AND v3 BETWEEN 14 AND 27 AND v4>=35)) OR (v1>44 AND v2<>76 AND v3>=52));`,
  2094  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2095  	},
  2096  	{
  2097  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=54) OR (v1<17 AND v2=34 AND v3>=59));`,
  2098  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2099  	},
  2100  	{
  2101  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>9 AND v4<>61 AND v2=98 AND v3<1) OR (v1<2 AND v2 BETWEEN 3 AND 70));`,
  2102  		Expected: []sql.Row{sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{1, 0, 55, 14, 32}},
  2103  	},
  2104  	{
  2105  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=6 AND v2>93) OR (v1 BETWEEN 38 AND 46));`,
  2106  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{46, 39, 45, 75, 55}, sql.Row{47, 41, 1, 85, 9}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}},
  2107  	},
  2108  	{
  2109  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 16 AND 72) OR (v1=20)) OR (v1>61 AND v2<>48 AND v3<>83 AND v4=46)) OR (v1=5 AND v2=59));`,
  2110  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  2111  	},
  2112  	{
  2113  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>41 AND v2>74 AND v3>37 AND v4<38) OR (v1=58 AND v2>=1)) OR (v1<=4 AND v2>0 AND v3 BETWEEN 39 AND 72 AND v4>=29));`,
  2114  		Expected: []sql.Row{sql.Row{52, 47, 94, 56, 21}, sql.Row{72, 69, 81, 70, 37}, sql.Row{78, 73, 91, 56, 0}, sql.Row{59, 51, 97, 39, 36}, sql.Row{7, 4, 10, 53, 69}, sql.Row{69, 64, 77, 41, 17}, sql.Row{6, 4, 6, 67, 80}},
  2115  	},
  2116  	{
  2117  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>53 AND v4<99 AND v2<>31) OR (v1<>5 AND v2>70 AND v3>=71));`,
  2118  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2119  	},
  2120  	{
  2121  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>1 AND v4=93) OR (v1<10 AND v2 BETWEEN 40 AND 74 AND v3>=27));`,
  2122  		Expected: []sql.Row{sql.Row{15, 8, 54, 46, 87}, sql.Row{3, 1, 72, 29, 21}, sql.Row{33, 29, 72, 97, 93}},
  2123  	},
  2124  	{
  2125  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=92 AND v2>=64 AND v3=39 AND v4 BETWEEN 16 AND 53) OR (v1<54 AND v2 BETWEEN 8 AND 17 AND v3=21 AND v4=86));`,
  2126  		Expected: []sql.Row{},
  2127  	},
  2128  	{
  2129  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 16 AND 31 AND v4 BETWEEN 18 AND 96) OR (v1=40 AND v2<=35 AND v3>=51 AND v4>=83));`,
  2130  		Expected: []sql.Row{sql.Row{28, 22, 21, 28, 78}, sql.Row{31, 24, 26, 69, 25}, sql.Row{29, 22, 98, 22, 21}, sql.Row{25, 17, 75, 86, 18}, sql.Row{33, 29, 72, 97, 93}, sql.Row{26, 20, 30, 34, 71}},
  2131  	},
  2132  	{
  2133  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 68 AND 78 AND v2>96 AND v3<58 AND v4<14) OR (v1=71)) AND (v1>15 AND v2>=19) OR (v1>36));`,
  2134  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2135  	},
  2136  	{
  2137  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 33 AND 71 AND v2<=61 AND v3<=32 AND v4 BETWEEN 18 AND 73) AND (v1<3) AND (v1<=59 AND v2=47 AND v3<49 AND v4>36);`,
  2138  		Expected: []sql.Row{},
  2139  	},
  2140  	{
  2141  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<77 AND v2=43 AND v3<92 AND v4=13) OR (v1=38 AND v2<=46)) OR (v1 BETWEEN 10 AND 79 AND v2>=11 AND v3 BETWEEN 14 AND 14));`,
  2142  		Expected: []sql.Row{sql.Row{24, 17, 49, 14, 7}},
  2143  	},
  2144  	{
  2145  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=47 AND v4=13) AND (v1<=27 AND v3<54 AND v4 BETWEEN 27 AND 40) OR (v1>=40 AND v4=98 AND v2=25 AND v3>66));`,
  2146  		Expected: []sql.Row{},
  2147  	},
  2148  	{
  2149  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<98 AND v3 BETWEEN 80 AND 82) OR (v1 BETWEEN 31 AND 38 AND v2=39));`,
  2150  		Expected: []sql.Row{sql.Row{48, 41, 21, 82, 54}},
  2151  	},
  2152  	{
  2153  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=75 AND v2 BETWEEN 45 AND 51 AND v3<15) OR (v1>=74 AND v2>=37 AND v3<76));`,
  2154  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{91, 87, 66, 8, 22}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{94, 89, 91, 7, 45}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}},
  2155  	},
  2156  	{
  2157  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=40) OR (v1<>32 AND v4<=37));`,
  2158  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2159  	},
  2160  	{
  2161  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>63 AND v3 BETWEEN 43 AND 50 AND v4<29 AND v2>=89) OR (v1>80));`,
  2162  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}},
  2163  	},
  2164  	{
  2165  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=81) OR (v1>=27 AND v2>=21 AND v3 BETWEEN 1 AND 63 AND v4>=92));`,
  2166  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{63, 55, 31, 29, 92}},
  2167  	},
  2168  	{
  2169  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>13) OR (v1>72 AND v2=2 AND v3<=40)) OR (v1>77 AND v2<21));`,
  2170  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2171  	},
  2172  	{
  2173  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>54 AND v2>23 AND v3 BETWEEN 28 AND 48 AND v4>=37) OR (v1>93 AND v2>=51 AND v3<9 AND v4<>49)) OR (v1>=71 AND v2<>33));`,
  2174  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{10, 5, 32, 30, 48}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2175  	},
  2176  	{
  2177  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 15 AND 69 AND v4=83 AND v2<=43) OR (v1<51 AND v2<24 AND v3<>27 AND v4<>50)) OR (v1<>37));`,
  2178  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2179  	},
  2180  	{
  2181  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 55 AND 66 AND v2<>81 AND v3=6 AND v4<=19) OR (v1<>91));`,
  2182  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2183  	},
  2184  	{
  2185  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=21 AND v2<50 AND v3>=39) OR (v1<=79 AND v4>62 AND v2=31));`,
  2186  		Expected: []sql.Row{sql.Row{5, 3, 31, 22, 81}, sql.Row{63, 55, 31, 29, 92}},
  2187  	},
  2188  	{
  2189  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>78) OR (v1>=9 AND v2<>84));`,
  2190  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2191  	},
  2192  	{
  2193  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>16 AND v3>=29) OR (v1>=47 AND v2<>63));`,
  2194  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2195  	},
  2196  	{
  2197  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=16 AND v2>=9 AND v3<>48) OR (v1>=76 AND v2<>86)) OR (v1<28 AND v2=1 AND v3<=23 AND v4 BETWEEN 13 AND 55));`,
  2198  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{81, 76, 74, 97, 18}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}},
  2199  	},
  2200  	{
  2201  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=35 AND v2>67) OR (v1<>55));`,
  2202  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2203  	},
  2204  	{
  2205  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<89 AND v2<5 AND v3 BETWEEN 53 AND 61) OR (v1<>72 AND v3<20));`,
  2206  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{24, 17, 49, 14, 7}, sql.Row{39, 34, 87, 13, 51}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{37, 33, 86, 12, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{77, 73, 10, 2, 0}, sql.Row{58, 50, 97, 0, 79}, sql.Row{73, 70, 40, 19, 5}, sql.Row{4, 2, 27, 1, 75}},
  2207  	},
  2208  	{
  2209  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=58 AND v2<=89 AND v3=78 AND v4<=58) OR (v1>39)) AND (v1<>25 AND v2>1 AND v3<18);`,
  2210  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{90, 87, 23, 16, 63}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{77, 73, 10, 2, 0}, sql.Row{58, 50, 97, 0, 79}},
  2211  	},
  2212  	{
  2213  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>94) OR (v1=33 AND v2 BETWEEN 53 AND 60 AND v3 BETWEEN 37 AND 73));`,
  2214  		Expected: []sql.Row{sql.Row{36, 33, 53, 56, 88}, sql.Row{100, 96, 73, 38, 38}},
  2215  	},
  2216  	{
  2217  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=40 AND v2<>8 AND v3<=69) OR (v1<=72)) OR (v1 BETWEEN 87 AND 89 AND v2 BETWEEN 52 AND 58));`,
  2218  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2219  	},
  2220  	{
  2221  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<9 AND v2=97 AND v3<>54 AND v4>71) OR (v1>48 AND v2 BETWEEN 7 AND 23 AND v3<>95 AND v4>86)) OR (v1 BETWEEN 36 AND 90));`,
  2222  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2223  	},
  2224  	{
  2225  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=38 AND v2<70) OR (v1>79));`,
  2226  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2227  	},
  2228  	{
  2229  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<47 AND v2 BETWEEN 22 AND 85) AND (v1=73) OR (v1<42));`,
  2230  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2231  	},
  2232  	{
  2233  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<29) AND (v1<41 AND v2>52 AND v3<>55) OR (v1 BETWEEN 16 AND 28 AND v2>=9 AND v3=43 AND v4<6));`,
  2234  		Expected: []sql.Row{sql.Row{11, 5, 76, 70, 46}, sql.Row{15, 8, 54, 46, 87}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{25, 17, 75, 86, 18}},
  2235  	},
  2236  	{
  2237  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<56 AND v2<=52) OR (v1>=30 AND v2<73 AND v3>40 AND v4>=13)) AND (v1<30 AND v4<>25 AND v2<>82 AND v3 BETWEEN 80 AND 88);`,
  2238  		Expected: []sql.Row{},
  2239  	},
  2240  	{
  2241  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 9 AND 53 AND v2 BETWEEN 26 AND 56) OR (v1 BETWEEN 29 AND 72 AND v2<18 AND v3=73 AND v4<=12));`,
  2242  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{56, 50, 39, 26, 37}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{21, 12, 42, 15, 31}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{38, 34, 55, 37, 34}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}},
  2243  	},
  2244  	{
  2245  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>96 AND v2<27) OR (v1<82)) AND (v1>=80 AND v2 BETWEEN 14 AND 53);`,
  2246  		Expected: []sql.Row{},
  2247  	},
  2248  	{
  2249  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>86) OR (v1>=48 AND v4>9));`,
  2250  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2251  	},
  2252  	{
  2253  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=41 AND v2=79 AND v3<16 AND v4>=2) OR (v1<16 AND v4>59));`,
  2254  		Expected: []sql.Row{sql.Row{20, 12, 0, 33, 62}, sql.Row{23, 15, 42, 17, 60}, sql.Row{17, 9, 7, 74, 92}, sql.Row{0, 0, 33, 2, 67}, sql.Row{15, 8, 54, 46, 87}, sql.Row{5, 3, 31, 22, 81}, sql.Row{12, 7, 7, 66, 62}, sql.Row{13, 7, 21, 75, 70}, sql.Row{7, 4, 10, 53, 69}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2255  	},
  2256  	{
  2257  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=69 AND v2 BETWEEN 38 AND 45) AND (v1<>35 AND v2<28 AND v3>14);`,
  2258  		Expected: []sql.Row{},
  2259  	},
  2260  	{
  2261  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=93 AND v2<=10 AND v3 BETWEEN 21 AND 83) AND (v1<>5 AND v2>59 AND v3<>17) OR (v1<69 AND v3<>65 AND v4>=51 AND v2<=48)) OR (v1 BETWEEN 37 AND 57 AND v2 BETWEEN 44 AND 57 AND v3<40 AND v4=98));`,
  2262  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{67, 64, 26, 77, 97}, sql.Row{17, 9, 7, 74, 92}, sql.Row{0, 0, 33, 2, 67}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{12, 7, 7, 66, 62}, sql.Row{13, 7, 21, 75, 70}, sql.Row{46, 39, 45, 75, 55}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2263  	},
  2264  	{
  2265  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<46) OR (v1<>60));`,
  2266  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2267  	},
  2268  	{
  2269  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<97 AND v2<=47 AND v3=91) OR (v1=74 AND v4>72 AND v2<>44 AND v3 BETWEEN 4 AND 51));`,
  2270  		Expected: []sql.Row{},
  2271  	},
  2272  	{
  2273  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 26 AND 60 AND v2>53 AND v3<=9 AND v4<8) OR (v1>0 AND v2<=69));`,
  2274  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2275  	},
  2276  	{
  2277  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=33 AND v2<2 AND v3<>63) OR (v1 BETWEEN 20 AND 95 AND v2<>7 AND v3 BETWEEN 95 AND 96 AND v4 BETWEEN 34 AND 41)) OR (v1 BETWEEN 27 AND 44 AND v4<>28 AND v2<=43 AND v3<=64));`,
  2278  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{43, 37, 35, 6, 44}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}},
  2279  	},
  2280  	{
  2281  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 13 AND 36 AND v2>40) OR (v1<>28 AND v2<29)) OR (v1 BETWEEN 36 AND 89 AND v2>=92 AND v3>39 AND v4<16)) OR (v1<=1));`,
  2282  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{39, 34, 87, 13, 51}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2283  	},
  2284  	{
  2285  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=68 AND v2=49) OR (v1<=35 AND v2>=59 AND v3>=88 AND v4 BETWEEN 1 AND 62));`,
  2286  		Expected: []sql.Row{},
  2287  	},
  2288  	{
  2289  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>33) OR (v1<23 AND v4<=23 AND v2>=41));`,
  2290  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{24, 17, 49, 14, 7}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{25, 17, 75, 86, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2291  	},
  2292  	{
  2293  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=78 AND v2=26 AND v3 BETWEEN 70 AND 89) OR (v1 BETWEEN 12 AND 78 AND v2>41 AND v3 BETWEEN 2 AND 11 AND v4 BETWEEN 12 AND 97)) OR (v1>16 AND v2=85 AND v3<56 AND v4<19));`,
  2294  		Expected: []sql.Row{sql.Row{70, 66, 97, 6, 39}, sql.Row{57, 50, 79, 10, 12}},
  2295  	},
  2296  	{
  2297  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=51 AND v2=3 AND v3>48 AND v4>=49) OR (v1>25 AND v3=37));`,
  2298  		Expected: []sql.Row{sql.Row{38, 34, 55, 37, 34}, sql.Row{75, 71, 3, 49, 55}},
  2299  	},
  2300  	{
  2301  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<4 AND v2<>1 AND v3<=34) OR (v1>=63)) OR (v1<58 AND v2=33)) AND (v1<=55) OR (v1 BETWEEN 1 AND 80 AND v2<=51));`,
  2302  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2303  	},
  2304  	{
  2305  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 33 AND 82 AND v2<26) OR (v1>=98 AND v4>30 AND v2 BETWEEN 47 AND 67 AND v3 BETWEEN 9 AND 54)) OR (v1>=5)) AND (v1<>85 AND v4<>31);`,
  2306  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{9, 5, 17, 52, 13}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2307  	},
  2308  	{
  2309  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=82 AND v3<>55 AND v4>26) OR (v1=35)) OR (v1 BETWEEN 18 AND 70 AND v2>=17));`,
  2310  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{84, 82, 70, 5, 47}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}},
  2311  	},
  2312  	{
  2313  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>45 AND v2<=55 AND v3>=2 AND v4<46) OR (v1>=0 AND v2<>6));`,
  2314  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}},
  2315  	},
  2316  	{
  2317  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=85 AND v2>=46 AND v3=87 AND v4>3) OR (v1=52));`,
  2318  		Expected: []sql.Row{sql.Row{60, 52, 72, 44, 2}},
  2319  	},
  2320  	{
  2321  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<90 AND v4=77) OR (v1<>32 AND v2<=17 AND v3=68)) OR (v1<41));`,
  2322  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2323  	},
  2324  	{
  2325  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=2) AND (v1>=13 AND v2<=23 AND v3<=23) OR (v1 BETWEEN 18 AND 57));`,
  2326  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}},
  2327  	},
  2328  	{
  2329  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 32 AND 72 AND v2<>89 AND v3>=39) OR (v1>50 AND v4>80));`,
  2330  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{67, 64, 26, 77, 97}, sql.Row{92, 88, 57, 12, 88}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{89, 86, 7, 57, 96}, sql.Row{42, 36, 7, 40, 16}, sql.Row{46, 39, 45, 75, 55}, sql.Row{34, 32, 16, 97, 29}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2331  	},
  2332  	{
  2333  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<44) OR (v1<>37 AND v2<=12 AND v3>65 AND v4<47)) OR (v1<>76));`,
  2334  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2335  	},
  2336  	{
  2337  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 29 AND 37) OR (v1<>54 AND v2<=65 AND v3<=1 AND v4<>10)) OR (v1<>55 AND v2 BETWEEN 49 AND 56 AND v3>=25 AND v4<=8));`,
  2338  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{40, 34, 89, 27, 90}, sql.Row{35, 33, 29, 69, 6}, sql.Row{43, 37, 35, 6, 44}, sql.Row{95, 90, 25, 0, 17}, sql.Row{36, 33, 53, 56, 88}, sql.Row{39, 34, 87, 13, 51}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{33, 29, 72, 97, 93}, sql.Row{4, 2, 27, 1, 75}},
  2339  	},
  2340  	{
  2341  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=80 AND v2<95 AND v3>6) OR (v1 BETWEEN 7 AND 14 AND v2 BETWEEN 27 AND 49 AND v3>57 AND v4 BETWEEN 28 AND 60));`,
  2342  		Expected: []sql.Row{},
  2343  	},
  2344  	{
  2345  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>10 AND v2<43 AND v3<>15) OR (v1<=71 AND v4<>22));`,
  2346  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2347  	},
  2348  	{
  2349  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 18 AND 36 AND v4<>87 AND v2>=13) OR (v1>=63 AND v3<=89)) AND (v1<76 AND v4<49 AND v2<=96);`,
  2350  		Expected: []sql.Row{sql.Row{35, 33, 29, 69, 6}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{78, 73, 91, 56, 0}, sql.Row{66, 64, 23, 33, 5}, sql.Row{31, 24, 26, 69, 25}, sql.Row{79, 74, 22, 42, 16}, sql.Row{38, 34, 55, 37, 34}, sql.Row{74, 70, 56, 21, 22}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{69, 64, 77, 41, 17}},
  2351  	},
  2352  	{
  2353  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<93 AND v2<>16) OR (v1>=23 AND v4>=19)) OR (v1<48 AND v2<=45 AND v3<>46 AND v4>76)) AND (v1=22 AND v3=41) OR (v1<=17 AND v2>=41));`,
  2354  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{25, 17, 75, 86, 18}},
  2355  	},
  2356  	{
  2357  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>17 AND v4>50 AND v2 BETWEEN 11 AND 23 AND v3=23) OR (v1<73));`,
  2358  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2359  	},
  2360  	{
  2361  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 5 AND 41 AND v3<78 AND v4<41) OR (v1>84 AND v2<>43));`,
  2362  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{35, 33, 29, 69, 6}, sql.Row{90, 87, 23, 16, 63}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{16, 8, 99, 43, 1}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{44, 37, 41, 36, 10}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{18, 9, 19, 38, 35}},
  2363  	},
  2364  	{
  2365  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=24 AND v2 BETWEEN 43 AND 84) OR (v1>=90 AND v2>1 AND v3<>70)) OR (v1>=66 AND v2<95));`,
  2366  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2367  	},
  2368  	{
  2369  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=18 AND v2<=70) OR (v1>55 AND v2>52 AND v3<>70)) OR (v1=58)) AND (v1<>22 AND v4>76) OR (v1>14 AND v2<32 AND v3>97));`,
  2370  		Expected: []sql.Row{sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{15, 8, 54, 46, 87}, sql.Row{5, 3, 31, 22, 81}, sql.Row{6, 4, 6, 67, 80}},
  2371  	},
  2372  	{
  2373  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=9 AND v2>69) AND (v1 BETWEEN 39 AND 73);`,
  2374  		Expected: []sql.Row{sql.Row{52, 47, 94, 56, 21}, sql.Row{72, 69, 81, 70, 37}, sql.Row{78, 73, 91, 56, 0}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{57, 50, 79, 10, 12}, sql.Row{60, 52, 72, 44, 2}, sql.Row{58, 50, 97, 0, 79}, sql.Row{69, 64, 77, 41, 17}},
  2375  	},
  2376  	{
  2377  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<87 AND v2 BETWEEN 2 AND 34 AND v3=87 AND v4>=76) OR (v1<>77 AND v2<=44 AND v3>34));`,
  2378  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{98, 94, 43, 71, 43}, sql.Row{48, 41, 21, 82, 54}, sql.Row{35, 33, 29, 69, 6}, sql.Row{68, 64, 41, 74, 85}, sql.Row{82, 82, 29, 66, 71}, sql.Row{9, 5, 17, 52, 13}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{17, 9, 7, 74, 92}, sql.Row{86, 83, 41, 53, 57}, sql.Row{31, 24, 26, 69, 25}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{34, 32, 16, 97, 29}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  2379  	},
  2380  	{
  2381  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=9 AND v4>=68 AND v2>21) OR (v1=5 AND v2<69 AND v3<=15 AND v4>=61));`,
  2382  		Expected: []sql.Row{},
  2383  	},
  2384  	{
  2385  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=22) OR (v1>55));`,
  2386  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2387  	},
  2388  	{
  2389  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 47 AND 57 AND v2>=83) OR (v1=91 AND v2>34));`,
  2390  		Expected: []sql.Row{sql.Row{52, 47, 94, 56, 21}, sql.Row{59, 51, 97, 39, 36}, sql.Row{58, 50, 97, 0, 79}},
  2391  	},
  2392  	{
  2393  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 23 AND 25) AND (v1<98 AND v2>=20 AND v3>37);`,
  2394  		Expected: []sql.Row{sql.Row{31, 24, 26, 69, 25}, sql.Row{32, 24, 45, 96, 0}},
  2395  	},
  2396  	{
  2397  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=6) OR (v1>61 AND v2<=34)) OR (v1>10 AND v2<>50 AND v3<>62 AND v4<=84));`,
  2398  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  2399  	},
  2400  	{
  2401  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>74) OR (v1<>86 AND v2<=91)) AND (v1>=8);`,
  2402  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2403  	},
  2404  	{
  2405  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>25 AND v2 BETWEEN 23 AND 54) OR (v1<>40 AND v3>90)) OR (v1<>7 AND v4<=78));`,
  2406  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}},
  2407  	},
  2408  	{
  2409  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=25) OR (v1>40 AND v2 BETWEEN 26 AND 40 AND v3<76));`,
  2410  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{54, 50, 26, 23, 71}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{85, 83, 37, 36, 16}, sql.Row{55, 50, 36, 73, 58}, sql.Row{73, 70, 40, 19, 5}, sql.Row{63, 55, 31, 29, 92}, sql.Row{80, 74, 35, 72, 97}},
  2411  	},
  2412  	{
  2413  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=13 AND v2<85) OR (v1=23 AND v2<>68 AND v3=33));`,
  2414  		Expected: []sql.Row{},
  2415  	},
  2416  	{
  2417  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<42 AND v2>95 AND v3>17 AND v4<>97) OR (v1>=13 AND v2<>10 AND v3 BETWEEN 73 AND 85 AND v4=48)) OR (v1>55 AND v2=85 AND v3>30));`,
  2418  		Expected: []sql.Row{sql.Row{16, 8, 99, 43, 1}, sql.Row{29, 22, 98, 22, 21}},
  2419  	},
  2420  	{
  2421  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 5 AND 32) OR (v1>7)) OR (v1=34));`,
  2422  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2423  	},
  2424  	{
  2425  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=34 AND v2<>61 AND v3<>3) AND (v1 BETWEEN 69 AND 93) AND (v1=36 AND v2>14);`,
  2426  		Expected: []sql.Row{},
  2427  	},
  2428  	{
  2429  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>75) OR (v1<>74 AND v3 BETWEEN 29 AND 73));`,
  2430  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2431  	},
  2432  	{
  2433  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<>91 AND v3=27 AND v4=22 AND v2<>68) AND (v1<=88);`,
  2434  		Expected: []sql.Row{},
  2435  	},
  2436  	{
  2437  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<>18 AND v2<>90 AND v3>95) OR (v1>=44)) OR (v1<4 AND v3<=26 AND v4<>67 AND v2>=37)) OR (v1<36 AND v2<=15 AND v3 BETWEEN 25 AND 36 AND v4<=14));`,
  2438  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2439  	},
  2440  	{
  2441  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 44 AND 87 AND v2<52 AND v3<52 AND v4<1) OR (v1<30 AND v4 BETWEEN 8 AND 97 AND v2<=24));`,
  2442  		Expected: []sql.Row{sql.Row{20, 12, 0, 33, 62}, sql.Row{28, 22, 21, 28, 78}, sql.Row{9, 5, 17, 52, 13}, sql.Row{17, 9, 7, 74, 92}, sql.Row{12, 7, 7, 66, 62}, sql.Row{13, 7, 21, 75, 70}, sql.Row{27, 21, 21, 32, 8}, sql.Row{7, 4, 10, 53, 69}, sql.Row{77, 73, 10, 2, 0}, sql.Row{18, 9, 19, 38, 35}, sql.Row{6, 4, 6, 67, 80}},
  2443  	},
  2444  	{
  2445  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>48 AND v2<=83) OR (v1>28 AND v2 BETWEEN 9 AND 87 AND v3<>73)) OR (v1>=53 AND v2>=91 AND v3 BETWEEN 33 AND 97));`,
  2446  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2447  	},
  2448  	{
  2449  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>8 AND v2 BETWEEN 34 AND 48) OR (v1<>54));`,
  2450  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2451  	},
  2452  	{
  2453  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=78 AND v2<74 AND v3<42 AND v4>=34) OR (v1<=29 AND v2<=27 AND v3>31 AND v4 BETWEEN 35 AND 41));`,
  2454  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{5, 3, 31, 22, 81}, sql.Row{38, 34, 55, 37, 34}, sql.Row{45, 38, 71, 22, 37}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}},
  2455  	},
  2456  	{
  2457  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 9 AND 35 AND v4<=69 AND v2 BETWEEN 34 AND 53 AND v3<>28) AND (v1 BETWEEN 12 AND 48);`,
  2458  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{24, 17, 49, 14, 7}, sql.Row{30, 23, 43, 13, 11}, sql.Row{32, 24, 45, 96, 0}},
  2459  	},
  2460  	{
  2461  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 13 AND 77 AND v2>75 AND v3<73 AND v4>=6) AND (v1<=58 AND v2=48 AND v3 BETWEEN 33 AND 73);`,
  2462  		Expected: []sql.Row{},
  2463  	},
  2464  	{
  2465  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>47 AND v3>47 AND v4 BETWEEN 51 AND 86 AND v2=26) OR (v1<82 AND v2<=17 AND v3<17 AND v4>=46));`,
  2466  		Expected: []sql.Row{},
  2467  	},
  2468  	{
  2469  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>87) OR (v1>82 AND v4>=22)) OR (v1>=52 AND v2<>47 AND v3=37)) OR (v1<=14 AND v2<57 AND v3<10));`,
  2470  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{90, 87, 23, 16, 63}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}, sql.Row{4, 2, 27, 1, 75}},
  2471  	},
  2472  	{
  2473  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=99 AND v3<=41) AND (v1<>38 AND v2<94 AND v3 BETWEEN 83 AND 95 AND v4>=86);`,
  2474  		Expected: []sql.Row{},
  2475  	},
  2476  	{
  2477  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>78) AND (v1>32 AND v2>11 AND v3>=78);`,
  2478  		Expected: []sql.Row{sql.Row{87, 84, 56, 78, 18}},
  2479  	},
  2480  	{
  2481  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<>3 AND v2=26 AND v3=22 AND v4<=76) AND (v1 BETWEEN 59 AND 92 AND v2 BETWEEN 36 AND 80);`,
  2482  		Expected: []sql.Row{},
  2483  	},
  2484  	{
  2485  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>10) OR (v1=12));`,
  2486  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2487  	},
  2488  	{
  2489  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>=12 AND v3>=45 AND v4<98) OR (v1<>51 AND v3=79 AND v4<=24)) OR (v1 BETWEEN 4 AND 59 AND v4<82)) OR (v1>=29 AND v2<>21));`,
  2490  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{6, 4, 6, 67, 80}},
  2491  	},
  2492  	{
  2493  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>10 AND v2<=75 AND v3>=70) OR (v1<89 AND v2<=32));`,
  2494  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{68, 64, 41, 74, 85}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{90, 87, 23, 16, 63}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{67, 64, 26, 77, 97}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{31, 24, 26, 69, 25}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{13, 7, 21, 75, 70}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2495  	},
  2496  	{
  2497  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=15) OR (v1=15)) OR (v1 BETWEEN 14 AND 25 AND v4>55 AND v2<53 AND v3=95));`,
  2498  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2499  	},
  2500  	{
  2501  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>48 AND v2 BETWEEN 4 AND 84 AND v3<=3 AND v4<>31) AND (v1 BETWEEN 2 AND 15 AND v3>75);`,
  2502  		Expected: []sql.Row{},
  2503  	},
  2504  	{
  2505  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<41 AND v4=9 AND v2>77 AND v3=41) OR (v1>62 AND v2>=48 AND v3=13 AND v4>61)) OR (v1 BETWEEN 33 AND 75)) OR (v1 BETWEEN 45 AND 65 AND v4 BETWEEN 4 AND 68));`,
  2506  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{67, 64, 26, 77, 97}, sql.Row{66, 64, 23, 33, 5}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2507  	},
  2508  	{
  2509  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>20) OR (v1>=71 AND v4 BETWEEN 12 AND 20 AND v2<=30 AND v3 BETWEEN 14 AND 44)) AND (v1>97 AND v2=91 AND v3>=5) OR (v1>7 AND v2<34 AND v3<55 AND v4 BETWEEN 88 AND 97)) AND (v1 BETWEEN 2 AND 16 AND v2<>23 AND v3=75 AND v4>99);`,
  2510  		Expected: []sql.Row{},
  2511  	},
  2512  	{
  2513  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=55 AND v2<13 AND v3<=96 AND v4>=49) OR (v1 BETWEEN 39 AND 98 AND v2=77 AND v3>85));`,
  2514  		Expected: []sql.Row{},
  2515  	},
  2516  	{
  2517  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=74 AND v2<>13 AND v3<67 AND v4 BETWEEN 1 AND 70) OR (v1 BETWEEN 30 AND 50 AND v2<27 AND v3>=35));`,
  2518  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{48, 41, 21, 82, 54}, sql.Row{79, 74, 22, 42, 16}, sql.Row{42, 36, 7, 40, 16}, sql.Row{34, 32, 16, 97, 29}, sql.Row{47, 41, 1, 85, 9}, sql.Row{51, 45, 9, 76, 9}},
  2519  	},
  2520  	{
  2521  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1=76) OR (v1>22 AND v3<49 AND v4=2)) OR (v1=85 AND v4>79)) OR (v1=10 AND v2=47 AND v3 BETWEEN 6 AND 21 AND v4>97));`,
  2522  		Expected: []sql.Row{sql.Row{81, 76, 74, 97, 18}, sql.Row{88, 85, 2, 3, 88}, sql.Row{60, 52, 72, 44, 2}},
  2523  	},
  2524  	{
  2525  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>38 AND v2>98) OR (v1<>29 AND v2=75)) OR (v1>58 AND v2<>49 AND v3 BETWEEN 25 AND 58));`,
  2526  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{78, 73, 91, 56, 0}, sql.Row{85, 83, 37, 36, 16}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{100, 96, 73, 38, 38}, sql.Row{25, 17, 75, 86, 18}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  2527  	},
  2528  	{
  2529  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>82 AND v4=74 AND v2=8 AND v3>=43) OR (v1=1 AND v2>=54 AND v3 BETWEEN 41 AND 91 AND v4>=0));`,
  2530  		Expected: []sql.Row{},
  2531  	},
  2532  	{
  2533  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=26 AND v2<=94 AND v3<=76) OR (v1<34 AND v2 BETWEEN 5 AND 20));`,
  2534  		Expected: []sql.Row{sql.Row{9, 5, 17, 52, 13}, sql.Row{17, 9, 7, 74, 92}, sql.Row{12, 7, 7, 66, 62}, sql.Row{34, 32, 16, 97, 29}, sql.Row{7, 4, 10, 53, 69}, sql.Row{18, 9, 19, 38, 35}, sql.Row{6, 4, 6, 67, 80}},
  2535  	},
  2536  	{
  2537  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>74 AND v2<=3 AND v3>51 AND v4<1) OR (v1>=92 AND v2<=2));`,
  2538  		Expected: []sql.Row{},
  2539  	},
  2540  	{
  2541  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=10 AND v2 BETWEEN 29 AND 83 AND v3<30 AND v4=54) OR (v1=68 AND v2=9 AND v3<=31)) AND (v1=87 AND v2>=91) OR (v1<=3 AND v2<>65 AND v3<8 AND v4<54)) OR (v1<7 AND v2>=4 AND v3<=47));`,
  2542  		Expected: []sql.Row{sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{5, 3, 31, 22, 81}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{4, 2, 27, 1, 75}},
  2543  	},
  2544  	{
  2545  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<35) OR (v1>=5 AND v2>=10 AND v3=65));`,
  2546  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2547  	},
  2548  	{
  2549  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>31 AND v2<=37 AND v3>56 AND v4 BETWEEN 10 AND 31) OR (v1>8)) AND (v1>=27 AND v2<>44);`,
  2550  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2551  	},
  2552  	{
  2553  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>52) OR (v1<21 AND v2<61 AND v3=13)) OR (v1=89 AND v3>33));`,
  2554  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2555  	},
  2556  	{
  2557  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<30 AND v4>11 AND v2<=11) OR (v1<>19 AND v2<>47 AND v3 BETWEEN 38 AND 77 AND v4>31)) OR (v1 BETWEEN 0 AND 27 AND v2 BETWEEN 33 AND 34)) OR (v1<32)) AND (v1<9 AND v3=54 AND v4<>31 AND v2<>95);`,
  2558  		Expected: []sql.Row{},
  2559  	},
  2560  	{
  2561  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=48) OR (v1 BETWEEN 2 AND 81));`,
  2562  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2563  	},
  2564  	{
  2565  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<>36) OR (v1<>70 AND v2 BETWEEN 23 AND 39)) OR (v1>51 AND v2>=57)) OR (v1<50 AND v2<=3 AND v3 BETWEEN 1 AND 74));`,
  2566  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2567  	},
  2568  	{
  2569  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1>30) OR (v1>98 AND v4>43 AND v2<>80)) OR (v1 BETWEEN 2 AND 23 AND v2>=34)) OR (v1>=42));`,
  2570  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2571  	},
  2572  	{
  2573  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<68 AND v2<81 AND v3<34 AND v4<>33) OR (v1<=78 AND v4 BETWEEN 34 AND 99 AND v2>=79 AND v3>=9)) OR (v1=27 AND v4 BETWEEN 20 AND 41 AND v2<98 AND v3>=15));`,
  2574  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{21, 12, 42, 15, 31}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{24, 17, 49, 14, 7}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{53, 48, 3, 11, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}},
  2575  	},
  2576  	{
  2577  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<23 AND v2<=45 AND v3<0) OR (v1>=31)) OR (v1>=50));`,
  2578  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2579  	},
  2580  	{
  2581  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<16) OR (v1>=19 AND v2<25 AND v3>77));`,
  2582  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{20, 12, 0, 33, 62}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{34, 32, 16, 97, 29}, sql.Row{47, 41, 1, 85, 9}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2583  	},
  2584  	{
  2585  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<29 AND v2 BETWEEN 81 AND 92) OR (v1>20 AND v2>=53 AND v3 BETWEEN 20 AND 68));`,
  2586  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{52, 47, 94, 56, 21}, sql.Row{78, 73, 91, 56, 0}, sql.Row{36, 33, 53, 56, 88}, sql.Row{59, 51, 97, 39, 36}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{74, 70, 56, 21, 22}, sql.Row{100, 96, 73, 38, 38}, sql.Row{60, 52, 72, 44, 2}, sql.Row{45, 38, 71, 22, 37}, sql.Row{69, 64, 77, 41, 17}},
  2587  	},
  2588  	{
  2589  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 25 AND 59 AND v2=1 AND v3<93 AND v4<=16) OR (v1<40 AND v2 BETWEEN 14 AND 37 AND v3>62 AND v4<58)) OR (v1<>17 AND v2<>36)) OR (v1 BETWEEN 7 AND 99 AND v2<>6 AND v3=43 AND v4<89));`,
  2590  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2591  	},
  2592  	{
  2593  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1=46) AND (v1>=93 AND v3<>51 AND v4=93 AND v2=8);`,
  2594  		Expected: []sql.Row{},
  2595  	},
  2596  	{
  2597  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<=5 AND v2>=14 AND v3<=2) OR (v1<53 AND v4=99 AND v2=72)) OR (v1<>49 AND v2<>39 AND v3>=70 AND v4<>24)) OR (v1<79));`,
  2598  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2599  	},
  2600  	{
  2601  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1<99 AND v2<=42) OR (v1=47 AND v4 BETWEEN 33 AND 63 AND v2>=10 AND v3<=57)) OR (v1>44)) OR (v1<>87 AND v2>42 AND v3<69));`,
  2602  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2603  	},
  2604  	{
  2605  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=29 AND v2 BETWEEN 50 AND 86 AND v3<=6 AND v4 BETWEEN 8 AND 48) OR (v1>86 AND v2 BETWEEN 62 AND 70 AND v3=33));`,
  2606  		Expected: []sql.Row{},
  2607  	},
  2608  	{
  2609  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=15) OR (v1>=59 AND v2<18)) OR (v1 BETWEEN 23 AND 31 AND v3>50 AND v4 BETWEEN 15 AND 54));`,
  2610  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2611  	},
  2612  	{
  2613  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=50 AND v2<=84 AND v3 BETWEEN 22 AND 26) OR (v1<=18 AND v2<49 AND v3>19 AND v4 BETWEEN 61 AND 75)) AND (v1>48 AND v2>=56 AND v3=6) OR (v1<=88 AND v2>=76 AND v3<40 AND v4<=18));`,
  2614  		Expected: []sql.Row{sql.Row{57, 50, 79, 10, 12}},
  2615  	},
  2616  	{
  2617  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=27) OR (v1>=11 AND v2<97 AND v3<97 AND v4<44));`,
  2618  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{22, 12, 46, 43, 23}, sql.Row{56, 50, 39, 26, 37}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{66, 64, 23, 33, 5}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{79, 74, 22, 42, 16}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{69, 64, 77, 41, 17}},
  2619  	},
  2620  	{
  2621  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=89 AND v2<=93) OR (v1<=54));`,
  2622  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2623  	},
  2624  	{
  2625  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=74 AND v2<=31) OR (v1<11)) OR (v1 BETWEEN 26 AND 38));`,
  2626  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{40, 34, 89, 27, 90}, sql.Row{35, 33, 29, 69, 6}, sql.Row{43, 37, 35, 6, 44}, sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{79, 74, 22, 42, 16}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{18, 9, 19, 38, 35}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2627  	},
  2628  	{
  2629  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=10 AND v2<12 AND v3=54 AND v4>89) OR (v1=99 AND v4=37));`,
  2630  		Expected: []sql.Row{},
  2631  	},
  2632  	{
  2633  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=50 AND v2<50) OR (v1<19)) OR (v1=51));`,
  2634  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{51, 45, 9, 76, 9}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2635  	},
  2636  	{
  2637  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=62 AND v2<89) AND (v1<90 AND v2>=19) OR (v1<=1 AND v2>49));`,
  2638  		Expected: []sql.Row{sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}},
  2639  	},
  2640  	{
  2641  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<=61 AND v2<=64) AND (v1>=0);`,
  2642  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{51, 45, 9, 76, 9}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2643  	},
  2644  	{
  2645  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 5 AND 69) OR (v1<52 AND v4<14 AND v2>=25 AND v3=63));`,
  2646  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}},
  2647  	},
  2648  	{
  2649  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=21 AND v2<>0 AND v3<49) OR (v1<=70 AND v2>16 AND v3<=89 AND v4>=27)) OR (v1>=14));`,
  2650  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}},
  2651  	},
  2652  	{
  2653  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>14) OR (v1>=82));`,
  2654  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2655  	},
  2656  	{
  2657  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=19 AND v3<72 AND v4=23) OR (v1<=36 AND v2>99));`,
  2658  		Expected: []sql.Row{},
  2659  	},
  2660  	{
  2661  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>43) OR (v1>=41 AND v4=32 AND v2<=66)) AND (v1>43 AND v2 BETWEEN 83 AND 97);`,
  2662  		Expected: []sql.Row{sql.Row{52, 47, 94, 56, 21}, sql.Row{78, 73, 91, 56, 0}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{58, 50, 97, 0, 79}},
  2663  	},
  2664  	{
  2665  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=8 AND v4>=44) AND (v1=84 AND v2=41 AND v3 BETWEEN 5 AND 81) OR (v1<>31 AND v2<=96 AND v3<=20 AND v4<=14));`,
  2666  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{96, 91, 23, 2, 9}, sql.Row{24, 17, 49, 14, 7}, sql.Row{57, 50, 79, 10, 12}, sql.Row{30, 23, 43, 13, 11}, sql.Row{77, 73, 10, 2, 0}, sql.Row{73, 70, 40, 19, 5}},
  2667  	},
  2668  	{
  2669  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 52 AND 55) OR (v1>1 AND v2>36 AND v3<=47)) OR (v1 BETWEEN 0 AND 38 AND v2<=49 AND v3>=8));`,
  2670  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{65, 63, 50, 20, 43}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{91, 87, 66, 8, 22}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{60, 52, 72, 44, 2}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{58, 50, 97, 0, 79}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{6, 4, 6, 67, 80}},
  2671  	},
  2672  	{
  2673  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=11 AND v2>=41 AND v3=9) AND (v1<>41 AND v3<>69 AND v4<24) OR (v1>48 AND v4<79));`,
  2674  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{56, 50, 39, 26, 37}, sql.Row{81, 76, 74, 97, 18}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{94, 89, 91, 7, 45}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}},
  2675  	},
  2676  	{
  2677  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1=23 AND v4>=52 AND v2>=61) AND (v1<>85 AND v3>2 AND v4<15);`,
  2678  		Expected: []sql.Row{},
  2679  	},
  2680  	{
  2681  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1 BETWEEN 32 AND 51 AND v4 BETWEEN 5 AND 14 AND v2=46 AND v3>=31) OR (v1>=32 AND v2<=26 AND v3>52 AND v4>55));`,
  2682  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{67, 64, 26, 77, 97}, sql.Row{89, 86, 7, 57, 96}, sql.Row{64, 57, 25, 97, 65}, sql.Row{61, 53, 6, 53, 89}},
  2683  	},
  2684  	{
  2685  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=16 AND v2<59 AND v3<=43) OR (v1=17 AND v2<=4 AND v3>71));`,
  2686  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{56, 50, 39, 26, 37}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{93, 89, 1, 27, 50}, sql.Row{24, 17, 49, 14, 7}, sql.Row{79, 74, 22, 42, 16}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{77, 73, 10, 2, 0}, sql.Row{73, 70, 40, 19, 5}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}},
  2687  	},
  2688  	{
  2689  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1=42 AND v4=47) OR (v1>=28)) AND (v1<>10) OR (v1 BETWEEN 20 AND 60 AND v2>96 AND v3<>28)) OR (v1=99 AND v2<=62 AND v3=30 AND v4 BETWEEN 92 AND 93));`,
  2690  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2691  	},
  2692  	{
  2693  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=50 AND v3=4 AND v4=53 AND v2>=80) OR (v1<54 AND v4<=76 AND v2>48)) OR (v1>=38 AND v4<76 AND v2=56));`,
  2694  		Expected: []sql.Row{sql.Row{52, 47, 94, 56, 21}, sql.Row{87, 84, 56, 78, 18}, sql.Row{11, 5, 76, 70, 46}, sql.Row{24, 17, 49, 14, 7}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{60, 52, 72, 44, 2}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{50, 43, 66, 85, 66}},
  2695  	},
  2696  	{
  2697  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=79 AND v2>24) OR (v1<76 AND v3<=59 AND v4<=36 AND v2=39));`,
  2698  		Expected: []sql.Row{},
  2699  	},
  2700  	{
  2701  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<=15 AND v2 BETWEEN 21 AND 76 AND v3=23) OR (v1 BETWEEN 2 AND 55));`,
  2702  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2703  	},
  2704  	{
  2705  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=85 AND v2>37 AND v3<=57 AND v4 BETWEEN 12 AND 49) AND (v1>10) OR (v1>56)) OR (v1>=57));`,
  2706  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{74, 70, 56, 21, 22}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2707  	},
  2708  	{
  2709  		Query:    `SELECT * FROM comp_index_t2 WHERE (((((v1<>89 AND v2>=75) OR (v1<=5)) OR (v1=5 AND v2<19 AND v3>=1)) OR (v1>=18 AND v2>=17 AND v3 BETWEEN 78 AND 83)) OR (v1>=11 AND v3<=9 AND v4>39));`,
  2710  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{52, 47, 94, 56, 21}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{78, 73, 91, 56, 0}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{57, 50, 79, 10, 12}, sql.Row{1, 0, 55, 14, 32}, sql.Row{84, 82, 70, 5, 47}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{7, 4, 10, 53, 69}, sql.Row{58, 50, 97, 0, 79}, sql.Row{69, 64, 77, 41, 17}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2711  	},
  2712  	{
  2713  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1 BETWEEN 36 AND 48 AND v4<97 AND v2>=99 AND v3=3) OR (v1<>84 AND v2=46 AND v3=4)) OR (v1>73 AND v2 BETWEEN 34 AND 39 AND v3 BETWEEN 34 AND 71 AND v4>=15)) OR (v1<>82));`,
  2714  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2715  	},
  2716  	{
  2717  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1<=50 AND v3>=51 AND v4<>69) AND (v1>1 AND v3<24);`,
  2718  		Expected: []sql.Row{},
  2719  	},
  2720  	{
  2721  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>10 AND v2=72 AND v3<31) OR (v1<67 AND v3 BETWEEN 13 AND 70 AND v4>66 AND v2>39)) OR (v1<82)) AND (v1>=66);`,
  2722  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{72, 69, 81, 70, 37}, sql.Row{78, 73, 91, 56, 0}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{74, 70, 56, 21, 22}, sql.Row{77, 73, 10, 2, 0}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2723  	},
  2724  	{
  2725  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=84 AND v2<85 AND v3 BETWEEN 75 AND 86 AND v4<=34) OR (v1>=37 AND v2<59 AND v3 BETWEEN 2 AND 26 AND v4>6));`,
  2726  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{92, 88, 57, 12, 88}, sql.Row{74, 70, 56, 21, 22}, sql.Row{53, 48, 3, 11, 18}},
  2727  	},
  2728  	{
  2729  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>10 AND v2=42) OR (v1>=85 AND v2<>6 AND v3=34 AND v4<=45));`,
  2730  		Expected: []sql.Row{sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}},
  2731  	},
  2732  	{
  2733  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=24 AND v2<>33 AND v3=77 AND v4<>63) OR (v1<>22 AND v2<=58 AND v3>71 AND v4>=87)) OR (v1<=85 AND v2>18 AND v3<=40));`,
  2734  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{40, 34, 89, 27, 90}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{83, 82, 31, 22, 99}, sql.Row{21, 12, 42, 15, 31}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{24, 17, 49, 14, 7}, sql.Row{14, 7, 76, 26, 47}, sql.Row{5, 3, 31, 22, 81}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{44, 37, 41, 36, 10}, sql.Row{84, 82, 70, 5, 47}, sql.Row{37, 33, 86, 12, 22}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{19, 10, 36, 27, 5}, sql.Row{45, 38, 71, 22, 37}, sql.Row{58, 50, 97, 0, 79}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{26, 20, 30, 34, 71}, sql.Row{63, 55, 31, 29, 92}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}},
  2735  	},
  2736  	{
  2737  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<72 AND v2>=67) OR (v1<>88 AND v2<>23 AND v3=23));`,
  2738  		Expected: []sql.Row{sql.Row{40, 34, 89, 27, 90}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{72, 69, 81, 70, 37}, sql.Row{11, 5, 76, 70, 46}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{3, 1, 72, 29, 21}, sql.Row{29, 22, 98, 22, 21}, sql.Row{57, 50, 79, 10, 12}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{60, 52, 72, 44, 2}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{58, 50, 97, 0, 79}, sql.Row{69, 64, 77, 41, 17}},
  2739  	},
  2740  	{
  2741  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=11 AND v2>=99) OR (v1<18 AND v2>=34 AND v3<53)) OR (v1>68));`,
  2742  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{86, 83, 41, 53, 57}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{73, 70, 40, 19, 5}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2743  	},
  2744  	{
  2745  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<=40 AND v2<0) OR (v1>=35 AND v2<=95 AND v3<>61)) OR (v1>49));`,
  2746  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2747  	},
  2748  	{
  2749  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1=85 AND v2<81 AND v3 BETWEEN 14 AND 61 AND v4<>99) OR (v1 BETWEEN 31 AND 86 AND v4<>43)) OR (v1 BETWEEN 15 AND 67)) AND (v1 BETWEEN 37 AND 55);`,
  2750  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{43, 37, 35, 6, 44}, sql.Row{62, 53, 48, 19, 36}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{57, 50, 79, 10, 12}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}},
  2751  	},
  2752  	{
  2753  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>=52 AND v4>=86) OR (v1>=86 AND v3=79 AND v4=9 AND v2 BETWEEN 2 AND 6)) OR (v1>98 AND v2<=44 AND v3<>53));`,
  2754  		Expected: []sql.Row{sql.Row{76, 71, 48, 89, 99}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{67, 64, 26, 77, 97}, sql.Row{92, 88, 57, 12, 88}, sql.Row{89, 86, 7, 57, 96}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{80, 74, 35, 72, 97}},
  2755  	},
  2756  	{
  2757  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>5 AND v4 BETWEEN 14 AND 43 AND v2>=62) OR (v1>=91 AND v2>=28 AND v3>=83 AND v4<>91));`,
  2758  		Expected: []sql.Row{sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{72, 69, 81, 70, 37}, sql.Row{91, 87, 66, 8, 22}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{29, 22, 98, 22, 21}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{45, 38, 71, 22, 37}, sql.Row{69, 64, 77, 41, 17}},
  2759  	},
  2760  	{
  2761  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1<>87) OR (v1>91 AND v2>23 AND v3<74));`,
  2762  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2763  	},
  2764  	{
  2765  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1 BETWEEN 1 AND 19 AND v2 BETWEEN 22 AND 48) AND (v1 BETWEEN 6 AND 47 AND v2>=25 AND v3<27);`,
  2766  		Expected: []sql.Row{sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}},
  2767  	},
  2768  	{
  2769  		Query:    `SELECT * FROM comp_index_t2 WHERE ((((v1=76 AND v2>35 AND v3<=59 AND v4>25) OR (v1 BETWEEN 35 AND 82 AND v2 BETWEEN 8 AND 37 AND v3>18 AND v4<=70)) OR (v1<=95 AND v3=70 AND v4=11)) OR (v1 BETWEEN 15 AND 23 AND v2<>24 AND v3<=50 AND v4<>84));`,
  2770  		Expected: []sql.Row{sql.Row{48, 41, 21, 82, 54}, sql.Row{28, 22, 21, 28, 78}, sql.Row{23, 15, 42, 17, 60}, sql.Row{66, 64, 23, 33, 5}, sql.Row{24, 17, 49, 14, 7}, sql.Row{55, 50, 36, 73, 58}, sql.Row{79, 74, 22, 42, 16}, sql.Row{29, 22, 98, 22, 21}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{64, 57, 25, 97, 65}, sql.Row{51, 45, 9, 76, 9}, sql.Row{26, 20, 30, 34, 71}},
  2771  	},
  2772  	{
  2773  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>42 AND v2=44 AND v3<>73) OR (v1>24 AND v2>49 AND v3>=7));`,
  2774  		Expected: []sql.Row{sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{81, 76, 74, 97, 18}, sql.Row{52, 47, 94, 56, 21}, sql.Row{65, 63, 50, 20, 43}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{78, 73, 91, 56, 0}, sql.Row{91, 87, 66, 8, 22}, sql.Row{92, 88, 57, 12, 88}, sql.Row{36, 33, 53, 56, 88}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{100, 96, 73, 38, 38}, sql.Row{37, 33, 86, 12, 22}, sql.Row{60, 52, 72, 44, 2}, sql.Row{97, 93, 56, 71, 53}, sql.Row{45, 38, 71, 22, 37}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{69, 64, 77, 41, 17}},
  2775  	},
  2776  	{
  2777  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=79 AND v3<89 AND v4>=3) OR (v1<63 AND v2<66));`,
  2778  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{22, 12, 46, 43, 23}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{54, 50, 26, 23, 71}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{12, 7, 7, 66, 62}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{34, 32, 16, 97, 29}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{51, 45, 9, 76, 9}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2779  	},
  2780  	{
  2781  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>66) OR (v1=33)) OR (v1<>39 AND v2>53 AND v3<73 AND v4<75));`,
  2782  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{93, 89, 1, 27, 50}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2783  	},
  2784  	{
  2785  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1=15) OR (v1>36 AND v3=13 AND v4<=98 AND v2 BETWEEN 70 AND 85));`,
  2786  		Expected: []sql.Row{sql.Row{23, 15, 42, 17, 60}},
  2787  	},
  2788  	{
  2789  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 23 AND 45 AND v4<30) OR (v1>=36 AND v2<>6 AND v3 BETWEEN 30 AND 53)) OR (v1 BETWEEN 41 AND 95));`,
  2790  		Expected: []sql.Row{sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{31, 24, 26, 69, 25}, sql.Row{55, 50, 36, 73, 58}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{32, 24, 45, 96, 0}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2791  	},
  2792  	{
  2793  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>6 AND v4<>9 AND v2<>77 AND v3>=81) OR (v1<>21 AND v2>=17 AND v3<=3));`,
  2794  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{48, 41, 21, 82, 54}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{0, 0, 33, 2, 67}, sql.Row{34, 32, 16, 97, 29}, sql.Row{25, 17, 75, 86, 18}, sql.Row{64, 57, 25, 97, 65}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{32, 24, 45, 96, 0}, sql.Row{4, 2, 27, 1, 75}},
  2795  	},
  2796  	{
  2797  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1 BETWEEN 94 AND 99 AND v2>4 AND v3<94 AND v4<=59) OR (v1=19 AND v2 BETWEEN 47 AND 54)) AND (v1>=83) OR (v1 BETWEEN 50 AND 97 AND v2<12 AND v3>23));`,
  2798  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{93, 89, 1, 27, 50}, sql.Row{89, 86, 7, 57, 96}, sql.Row{100, 96, 73, 38, 38}, sql.Row{61, 53, 6, 53, 89}, sql.Row{75, 71, 3, 49, 55}},
  2799  	},
  2800  	{
  2801  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>19 AND v2>46 AND v3=26 AND v4>=47) OR (v1>18 AND v2<=79 AND v3=45 AND v4<=7)) OR (v1 BETWEEN 2 AND 21 AND v2>32));`,
  2802  		Expected: []sql.Row{sql.Row{22, 12, 46, 43, 23}, sql.Row{23, 15, 42, 17, 60}, sql.Row{21, 12, 42, 15, 31}, sql.Row{11, 5, 76, 70, 46}, sql.Row{15, 8, 54, 46, 87}, sql.Row{24, 17, 49, 14, 7}, sql.Row{14, 7, 76, 26, 47}, sql.Row{16, 8, 99, 43, 1}, sql.Row{25, 17, 75, 86, 18}, sql.Row{19, 10, 36, 27, 5}},
  2803  	},
  2804  	{
  2805  		Query:    `SELECT * FROM comp_index_t2 WHERE (v1>=5) AND (v1=50 AND v2<=50);`,
  2806  		Expected: []sql.Row{sql.Row{56, 50, 39, 26, 37}, sql.Row{54, 50, 26, 23, 71}, sql.Row{55, 50, 36, 73, 58}},
  2807  	},
  2808  	{
  2809  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>=82 AND v2 BETWEEN 34 AND 50 AND v3<26 AND v4 BETWEEN 48 AND 76) OR (v1<=6));`,
  2810  		Expected: []sql.Row{sql.Row{9, 5, 17, 52, 13}, sql.Row{11, 5, 76, 70, 46}, sql.Row{10, 5, 32, 30, 48}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{8, 4, 27, 77, 5}, sql.Row{5, 3, 31, 22, 81}, sql.Row{3, 1, 72, 29, 21}, sql.Row{1, 0, 55, 14, 32}, sql.Row{7, 4, 10, 53, 69}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2811  	},
  2812  	{
  2813  		Query:    `SELECT * FROM comp_index_t2 WHERE ((v1>29) OR (v1<>94 AND v2>=56 AND v3=14));`,
  2814  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{93, 89, 1, 27, 50}, sql.Row{36, 33, 53, 56, 88}, sql.Row{55, 50, 36, 73, 58}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}},
  2815  	},
  2816  	{
  2817  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1>8 AND v2<97 AND v3=51 AND v4<=26) OR (v1>87)) OR (v1<10 AND v2<=45 AND v3>=73));`,
  2818  		Expected: []sql.Row{sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{96, 91, 23, 2, 9}, sql.Row{95, 90, 25, 0, 17}, sql.Row{92, 88, 57, 12, 88}, sql.Row{17, 9, 7, 74, 92}, sql.Row{93, 89, 1, 27, 50}, sql.Row{8, 4, 27, 77, 5}, sql.Row{94, 89, 91, 7, 45}, sql.Row{13, 7, 21, 75, 70}, sql.Row{100, 96, 73, 38, 38}, sql.Row{97, 93, 56, 71, 53}},
  2819  	},
  2820  	{
  2821  		Query:    `SELECT * FROM comp_index_t2 WHERE (((v1<>15 AND v2>1) OR (v1<46)) OR (v1>47 AND v2>=9 AND v3 BETWEEN 39 AND 87 AND v4>=10));`,
  2822  		Expected: []sql.Row{sql.Row{41, 35, 6, 86, 74}, sql.Row{49, 43, 23, 15, 0}, sql.Row{98, 94, 43, 71, 43}, sql.Row{99, 94, 79, 53, 73}, sql.Row{22, 12, 46, 43, 23}, sql.Row{40, 34, 89, 27, 90}, sql.Row{48, 41, 21, 82, 54}, sql.Row{56, 50, 39, 26, 37}, sql.Row{76, 71, 48, 89, 99}, sql.Row{81, 76, 74, 97, 18}, sql.Row{20, 12, 0, 33, 62}, sql.Row{35, 33, 29, 69, 6}, sql.Row{52, 47, 94, 56, 21}, sql.Row{54, 50, 26, 23, 71}, sql.Row{65, 63, 50, 20, 43}, sql.Row{68, 64, 41, 74, 85}, sql.Row{72, 69, 81, 70, 37}, sql.Row{87, 84, 56, 78, 18}, sql.Row{28, 22, 21, 28, 78}, sql.Row{43, 37, 35, 6, 44}, sql.Row{90, 87, 23, 16, 63}, sql.Row{23, 15, 42, 17, 60}, sql.Row{62, 53, 48, 19, 36}, sql.Row{78, 73, 91, 56, 0}, sql.Row{82, 82, 29, 66, 71}, sql.Row{83, 82, 31, 22, 99}, sql.Row{88, 85, 2, 3, 88}, sql.Row{9, 5, 17, 52, 13}, sql.Row{21, 12, 42, 15, 31}, sql.Row{96, 91, 23, 2, 9}, sql.Row{91, 87, 66, 8, 22}, sql.Row{95, 90, 25, 0, 17}, sql.Row{67, 64, 26, 77, 97}, sql.Row{85, 83, 37, 36, 16}, sql.Row{92, 88, 57, 12, 88}, sql.Row{11, 5, 76, 70, 46}, sql.Row{17, 9, 7, 74, 92}, sql.Row{10, 5, 32, 30, 48}, sql.Row{66, 64, 23, 33, 5}, sql.Row{86, 83, 41, 53, 57}, sql.Row{0, 0, 33, 2, 67}, sql.Row{2, 1, 43, 13, 36}, sql.Row{15, 8, 54, 46, 87}, sql.Row{31, 24, 26, 69, 25}, sql.Row{24, 17, 49, 14, 7}, sql.Row{36, 33, 53, 56, 88}, sql.Row{8, 4, 27, 77, 5}, sql.Row{14, 7, 76, 26, 47}, sql.Row{55, 50, 36, 73, 58}, sql.Row{5, 3, 31, 22, 81}, sql.Row{16, 8, 99, 43, 1}, sql.Row{39, 34, 87, 13, 51}, sql.Row{59, 51, 97, 39, 36}, sql.Row{70, 66, 97, 6, 39}, sql.Row{79, 74, 22, 42, 16}, sql.Row{89, 86, 7, 57, 96}, sql.Row{94, 89, 91, 7, 45}, sql.Row{3, 1, 72, 29, 21}, sql.Row{12, 7, 7, 66, 62}, sql.Row{29, 22, 98, 22, 21}, sql.Row{38, 34, 55, 37, 34}, sql.Row{42, 36, 7, 40, 16}, sql.Row{57, 50, 79, 10, 12}, sql.Row{74, 70, 56, 21, 22}, sql.Row{1, 0, 55, 14, 32}, sql.Row{13, 7, 21, 75, 70}, sql.Row{44, 37, 41, 36, 10}, sql.Row{46, 39, 45, 75, 55}, sql.Row{53, 48, 3, 11, 18}, sql.Row{84, 82, 70, 5, 47}, sql.Row{100, 96, 73, 38, 38}, sql.Row{34, 32, 16, 97, 29}, sql.Row{37, 33, 86, 12, 22}, sql.Row{25, 17, 75, 86, 18}, sql.Row{27, 21, 21, 32, 8}, sql.Row{30, 23, 43, 13, 11}, sql.Row{47, 41, 1, 85, 9}, sql.Row{60, 52, 72, 44, 2}, sql.Row{64, 57, 25, 97, 65}, sql.Row{7, 4, 10, 53, 69}, sql.Row{19, 10, 36, 27, 5}, sql.Row{97, 93, 56, 71, 53}, sql.Row{77, 73, 10, 2, 0}, sql.Row{45, 38, 71, 22, 37}, sql.Row{51, 45, 9, 76, 9}, sql.Row{33, 29, 72, 97, 93}, sql.Row{50, 43, 66, 85, 66}, sql.Row{58, 50, 97, 0, 79}, sql.Row{71, 67, 39, 87, 15}, sql.Row{73, 70, 40, 19, 5}, sql.Row{18, 9, 19, 38, 35}, sql.Row{32, 24, 45, 96, 0}, sql.Row{26, 20, 30, 34, 71}, sql.Row{61, 53, 6, 53, 89}, sql.Row{63, 55, 31, 29, 92}, sql.Row{69, 64, 77, 41, 17}, sql.Row{75, 71, 3, 49, 55}, sql.Row{80, 74, 35, 72, 97}, sql.Row{4, 2, 27, 1, 75}, sql.Row{6, 4, 6, 67, 80}},
  2823  	},
  2824  	{
  2825  		Query: `select * from comp_index_t3 where v2 = 'a'`,
  2826  		Expected: []sql.Row{
  2827  			{int64(0), []uint8("a"), []uint8("a")},
  2828  		},
  2829  	},
  2830  	{
  2831  		Query: `select * from comp_index_t3 where v2 like 'a%'`,
  2832  		Expected: []sql.Row{
  2833  			{int64(0), []uint8("a"), []uint8("a")},
  2834  			{int64(1), []uint8("ab"), []uint8("ab")},
  2835  			{int64(2), []uint8("abc"), []uint8("abc")},
  2836  			{int64(3), []uint8("abcde"), []uint8("abcde")},
  2837  		},
  2838  	},
  2839  }
  2840  
  2841  var IndexPrefixQueries = []ScriptTest{
  2842  	{
  2843  		Name: "int prefix",
  2844  		SetUpScript: []string{
  2845  			"create table t (i int)",
  2846  		},
  2847  		Assertions: []ScriptTestAssertion{
  2848  			{
  2849  				Query:       "alter table t add primary key (i(10))",
  2850  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2851  			},
  2852  			{
  2853  				Query:       "alter table t add index (i(10))",
  2854  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2855  			},
  2856  			{
  2857  				Query:       "create table c_tbl (i int, primary key (i(10)))",
  2858  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2859  			},
  2860  			{
  2861  				Query:       "create table c_tbl (i int primary key, j int, index (j(10)))",
  2862  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2863  			},
  2864  		},
  2865  	},
  2866  	{
  2867  		Name: "float prefix",
  2868  		SetUpScript: []string{
  2869  			"create table t (f float)",
  2870  		},
  2871  		Assertions: []ScriptTestAssertion{
  2872  			{
  2873  				Query:       "alter table t add primary key (f(10))",
  2874  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2875  			},
  2876  			{
  2877  				Query:       "alter table t add index (f(10))",
  2878  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2879  			},
  2880  			{
  2881  				Query:       "create table c_tbl (f float, primary key (f(10)))",
  2882  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2883  			},
  2884  			{
  2885  				Query:       "create table c_tbl (i int primary key, f float, index (f(10)))",
  2886  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2887  			},
  2888  		},
  2889  	},
  2890  	{
  2891  		Name: "string index prefix errors",
  2892  		SetUpScript: []string{
  2893  			"create table v_tbl (v varchar(10))",
  2894  			"create table c_tbl (c char(10))",
  2895  		},
  2896  		Assertions: []ScriptTestAssertion{
  2897  			{
  2898  				Query:       "alter table v_tbl add primary key (v(0))",
  2899  				ExpectedErr: sql.ErrKeyZero,
  2900  			},
  2901  			{
  2902  				Query:       "alter table v_tbl add primary key (v(11))",
  2903  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2904  			},
  2905  			{
  2906  				Query:       "alter table v_tbl add index (v(0))",
  2907  				ExpectedErr: sql.ErrKeyZero,
  2908  			},
  2909  			{
  2910  				Query:       "alter table v_tbl add index (v(11))",
  2911  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2912  			},
  2913  			{
  2914  				Query:       "alter table c_tbl add primary key (c(11))",
  2915  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2916  			},
  2917  			{
  2918  				Query:       "alter table c_tbl add index (c(11))",
  2919  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2920  			},
  2921  			{
  2922  				Query:       "create table t (v varchar(10), primary key(v(0)))",
  2923  				ExpectedErr: sql.ErrKeyZero,
  2924  			},
  2925  			{
  2926  				Query:       "create table t (v varchar(10), primary key(v(11)))",
  2927  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2928  			},
  2929  			{
  2930  				Query:       "create table t (v varchar(10), index(v(11)))",
  2931  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2932  			},
  2933  			{
  2934  				Query:       "create table t (c char(10), primary key(c(11)))",
  2935  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2936  			},
  2937  			{
  2938  				Query:       "create table t (c char(10), index(c(11)))",
  2939  				ExpectedErr: sql.ErrInvalidIndexPrefix,
  2940  			},
  2941  		},
  2942  	},
  2943  	{
  2944  		Name: "varchar primary key prefix",
  2945  		SetUpScript: []string{
  2946  			"create table t (v varchar(100))",
  2947  		},
  2948  		Assertions: []ScriptTestAssertion{
  2949  			{
  2950  				Query:       "alter table t add primary key (v(10))",
  2951  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  2952  			},
  2953  			{
  2954  				Query:       "create table v_tbl (v varchar(100), primary key (v(10)))",
  2955  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  2956  			},
  2957  		},
  2958  	},
  2959  	{
  2960  		Name: "varchar keyed secondary index prefix",
  2961  		SetUpScript: []string{
  2962  			"create table t (i int primary key, v varchar(10))",
  2963  			// Insert a value before we create the index, so that it
  2964  			// has to process existing data when building the index
  2965  			"insert into t values (-1, 'zzz');",
  2966  		},
  2967  		Assertions: []ScriptTestAssertion{
  2968  			{
  2969  				Query:    "alter table t add unique index (v(1))",
  2970  				Expected: []sql.Row{{types.NewOkResult(0)}},
  2971  			},
  2972  			{
  2973  				Query:    "show create table t",
  2974  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `v` varchar(10),\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `v` (`v`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  2975  			},
  2976  			{
  2977  				Query:       "insert into t values (0, 'aa'), (1, 'ab')",
  2978  				ExpectedErr: sql.ErrUniqueKeyViolation,
  2979  			},
  2980  			{
  2981  				Query:    "insert into t values (0, 'aa'), (1, 'bb'), (2, 'cc')",
  2982  				Expected: []sql.Row{{types.NewOkResult(3)}},
  2983  			},
  2984  			{
  2985  				Query:    "select * from t where v = 'a'",
  2986  				Expected: []sql.Row{},
  2987  			},
  2988  			{
  2989  				Query: "select * from t where v = 'aa'",
  2990  				Expected: []sql.Row{
  2991  					{0, "aa"},
  2992  				},
  2993  			},
  2994  			{
  2995  				Query:    "create table v_tbl (i int primary key, v varchar(100), index (v(10)))",
  2996  				Expected: []sql.Row{{types.NewOkResult(0)}},
  2997  			},
  2998  			{
  2999  				Query:    "show create table v_tbl",
  3000  				Expected: []sql.Row{{"v_tbl", "CREATE TABLE `v_tbl` (\n  `i` int NOT NULL,\n  `v` varchar(100),\n  PRIMARY KEY (`i`),\n  KEY `v` (`v`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3001  			},
  3002  		},
  3003  	},
  3004  	{
  3005  		Name: "varchar keyless secondary index prefix",
  3006  		SetUpScript: []string{
  3007  			"create table t (v varchar(10))",
  3008  		},
  3009  		Assertions: []ScriptTestAssertion{
  3010  			{
  3011  				Query:    "alter table t add unique index (v(1))",
  3012  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3013  			},
  3014  			{
  3015  				Query:    "show create table t",
  3016  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `v` varchar(10),\n  UNIQUE KEY `v` (`v`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3017  			},
  3018  			{
  3019  				Query:       "insert into t values ('aa'), ('ab')",
  3020  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3021  			},
  3022  			{
  3023  				Query:    "create table v_tbl (v varchar(100), index (v(10)))",
  3024  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3025  			},
  3026  			{
  3027  				Query:    "show create table v_tbl",
  3028  				Expected: []sql.Row{{"v_tbl", "CREATE TABLE `v_tbl` (\n  `v` varchar(100),\n  KEY `v` (`v`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3029  			},
  3030  		},
  3031  	},
  3032  	{
  3033  		Name: "char primary key prefix",
  3034  		SetUpScript: []string{
  3035  			"create table t (c char(100))",
  3036  		},
  3037  		Assertions: []ScriptTestAssertion{
  3038  			{
  3039  				Query:       "alter table t add primary key (c(10))",
  3040  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3041  			},
  3042  			{
  3043  				Query:       "create table c_tbl (c char(100), primary key (c(10)))",
  3044  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3045  			},
  3046  		},
  3047  	},
  3048  	{
  3049  		Name: "char keyed secondary index prefix",
  3050  		SetUpScript: []string{
  3051  			"create table t (i int primary key, c char(10))",
  3052  		},
  3053  		Assertions: []ScriptTestAssertion{
  3054  			{
  3055  				Query:    "alter table t add unique index (c(1))",
  3056  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3057  			},
  3058  			{
  3059  				Query:    "show create table t",
  3060  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `c` char(10),\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `c` (`c`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3061  			},
  3062  			{
  3063  				Query:       "insert into t values (0, 'aa'), (1, 'ab')",
  3064  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3065  			},
  3066  			{
  3067  				Query:    "create table c_tbl (i int primary key, c varchar(100), index (c(10)))",
  3068  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3069  			},
  3070  			{
  3071  				Query:    "show create table c_tbl",
  3072  				Expected: []sql.Row{{"c_tbl", "CREATE TABLE `c_tbl` (\n  `i` int NOT NULL,\n  `c` varchar(100),\n  PRIMARY KEY (`i`),\n  KEY `c` (`c`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3073  			},
  3074  		},
  3075  	},
  3076  	{
  3077  		Name: "char keyless secondary index prefix",
  3078  		SetUpScript: []string{
  3079  			"create table t (c char(10))",
  3080  		},
  3081  		Assertions: []ScriptTestAssertion{
  3082  			{
  3083  				Query:    "alter table t add unique index (c(1))",
  3084  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3085  			},
  3086  			{
  3087  				Query:    "show create table t",
  3088  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `c` char(10),\n  UNIQUE KEY `c` (`c`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3089  			},
  3090  			{
  3091  				Query:       "insert into t values ('aa'), ('ab')",
  3092  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3093  			},
  3094  			{
  3095  				Query:    "create table c_tbl (c char(100), index (c(10)))",
  3096  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3097  			},
  3098  			{
  3099  				Query:    "show create table c_tbl",
  3100  				Expected: []sql.Row{{"c_tbl", "CREATE TABLE `c_tbl` (\n  `c` char(100),\n  KEY `c` (`c`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3101  			},
  3102  		},
  3103  	},
  3104  	{
  3105  		Name: "varbinary primary key prefix",
  3106  		SetUpScript: []string{
  3107  			"create table t (v varbinary(100))",
  3108  		},
  3109  		Assertions: []ScriptTestAssertion{
  3110  			{
  3111  				Query:       "alter table t add primary key (v(10))",
  3112  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3113  			},
  3114  			{
  3115  				Query:       "create table v_tbl (v varbinary(100), primary key (v(10)))",
  3116  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3117  			},
  3118  		},
  3119  	},
  3120  	{
  3121  		Name: "varbinary keyed secondary index prefix",
  3122  		SetUpScript: []string{
  3123  			"create table t (i int primary key, v varbinary(10))",
  3124  		},
  3125  		Assertions: []ScriptTestAssertion{
  3126  			{
  3127  				Query:    "alter table t add unique index (v(1))",
  3128  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3129  			},
  3130  			{
  3131  				Query:    "show create table t",
  3132  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `v` varbinary(10),\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `v` (`v`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3133  			},
  3134  			{
  3135  				Query:       "insert into t values (0, 'aa'), (1, 'ab')",
  3136  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3137  			},
  3138  			{
  3139  				Query:    "create table v_tbl (i int primary key, v varbinary(100), index (v(10)))",
  3140  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3141  			},
  3142  			{
  3143  				Query:    "show create table v_tbl",
  3144  				Expected: []sql.Row{{"v_tbl", "CREATE TABLE `v_tbl` (\n  `i` int NOT NULL,\n  `v` varbinary(100),\n  PRIMARY KEY (`i`),\n  KEY `v` (`v`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3145  			},
  3146  		},
  3147  	},
  3148  	{
  3149  		Name: "varbinary keyless secondary index prefix",
  3150  		SetUpScript: []string{
  3151  			"create table t (v varbinary(10))",
  3152  		},
  3153  		Assertions: []ScriptTestAssertion{
  3154  			{
  3155  				Query:    "alter table t add unique index (v(1))",
  3156  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3157  			},
  3158  			{
  3159  				Query:    "show create table t",
  3160  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `v` varbinary(10),\n  UNIQUE KEY `v` (`v`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3161  			},
  3162  			{
  3163  				Query:       "insert into t values ('aa'), ('ab')",
  3164  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3165  			},
  3166  			{
  3167  				Query:    "create table v_tbl (v varbinary(100), index (v(10)))",
  3168  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3169  			},
  3170  			{
  3171  				Query:    "show create table v_tbl",
  3172  				Expected: []sql.Row{{"v_tbl", "CREATE TABLE `v_tbl` (\n  `v` varbinary(100),\n  KEY `v` (`v`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3173  			},
  3174  		},
  3175  	},
  3176  	{
  3177  		Name: "binary primary key prefix",
  3178  		SetUpScript: []string{
  3179  			"create table t (b binary(100))",
  3180  		},
  3181  		Assertions: []ScriptTestAssertion{
  3182  			{
  3183  				Query:       "alter table t add primary key (b(10))",
  3184  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3185  			},
  3186  			{
  3187  				Query:       "create table b_tbl (b binary(100), primary key (b(10)))",
  3188  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3189  			},
  3190  		},
  3191  	},
  3192  	{
  3193  		Name: "binary keyed secondary index prefix",
  3194  		SetUpScript: []string{
  3195  			"create table t (i int primary key, b binary(10))",
  3196  		},
  3197  		Assertions: []ScriptTestAssertion{
  3198  			{
  3199  				Query:    "alter table t add unique index (b(1))",
  3200  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3201  			},
  3202  			{
  3203  				Query:    "show create table t",
  3204  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `b` binary(10),\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `b` (`b`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3205  			},
  3206  			{
  3207  				Query:       "insert into t values (0, 'aa'), (1, 'ab')",
  3208  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3209  			},
  3210  			{
  3211  				Query:    "create table b_tbl (i int primary key, b binary(100), index (b(10)))",
  3212  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3213  			},
  3214  			{
  3215  				Query:    "show create table b_tbl",
  3216  				Expected: []sql.Row{{"b_tbl", "CREATE TABLE `b_tbl` (\n  `i` int NOT NULL,\n  `b` binary(100),\n  PRIMARY KEY (`i`),\n  KEY `b` (`b`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3217  			},
  3218  		},
  3219  	},
  3220  	{
  3221  		Name: "binary keyless secondary index prefix",
  3222  		SetUpScript: []string{
  3223  			"create table t (b binary(10))",
  3224  		},
  3225  		Assertions: []ScriptTestAssertion{
  3226  			{
  3227  				Query:    "alter table t add unique index (b(1))",
  3228  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3229  			},
  3230  			{
  3231  				Query:    "show create table t",
  3232  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `b` binary(10),\n  UNIQUE KEY `b` (`b`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3233  			},
  3234  			{
  3235  				Query:       "insert into t values ('aa'), ('ab')",
  3236  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3237  			},
  3238  			{
  3239  				Query:    "create table b_tbl (b binary(100), index (b(10)))",
  3240  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3241  			},
  3242  			{
  3243  				Query:    "show create table b_tbl",
  3244  				Expected: []sql.Row{{"b_tbl", "CREATE TABLE `b_tbl` (\n  `b` binary(100),\n  KEY `b` (`b`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3245  			},
  3246  		},
  3247  	},
  3248  	{
  3249  		Name: "blob primary key prefix",
  3250  		SetUpScript: []string{
  3251  			"create table t (b blob)",
  3252  		},
  3253  		Assertions: []ScriptTestAssertion{
  3254  			{
  3255  				Query:       "alter table t add primary key (b(10))",
  3256  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3257  			},
  3258  			{
  3259  				Query:       "create table b_tbl (b blob, primary key (b(10)))",
  3260  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3261  			},
  3262  		},
  3263  	},
  3264  	{
  3265  		Name: "blob keyed secondary index prefix",
  3266  		SetUpScript: []string{
  3267  			"create table t (i int primary key, b blob);",
  3268  			// Insert a BLOB value before we create the index, so that it
  3269  			// has to process existing data when building the index
  3270  			"insert into t values (999, 'abcdefg');",
  3271  		},
  3272  		Assertions: []ScriptTestAssertion{
  3273  			{
  3274  				Query:    "select i from t where b like 'abcd%';",
  3275  				Expected: []sql.Row{{999}},
  3276  			},
  3277  			{
  3278  				Query:    "alter table t add index (b(1))",
  3279  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3280  			},
  3281  			{
  3282  				Query:    "show create table t",
  3283  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `b` blob,\n  PRIMARY KEY (`i`),\n  KEY `b` (`b`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3284  			},
  3285  			{
  3286  				Query:    "insert into t values (998, X'4242');",
  3287  				Expected: []sql.Row{{types.NewOkResult(1)}},
  3288  			},
  3289  			{
  3290  				Query:    "alter table t drop index `b`;",
  3291  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3292  			},
  3293  			{
  3294  				Query:    "alter table t add unique index (b(1))",
  3295  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3296  			},
  3297  			{
  3298  				Query:    "show create table t",
  3299  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `b` blob,\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `b` (`b`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3300  			},
  3301  			{
  3302  				Query:       "insert into t values (0, 'aa'), (1, 'ab')",
  3303  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3304  			},
  3305  			{
  3306  				Query:    "create table b_tbl (i int primary key, b blob, index (b(10)))",
  3307  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3308  			},
  3309  			{
  3310  				Query:    "show create table b_tbl",
  3311  				Expected: []sql.Row{{"b_tbl", "CREATE TABLE `b_tbl` (\n  `i` int NOT NULL,\n  `b` blob,\n  PRIMARY KEY (`i`),\n  KEY `b` (`b`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3312  			},
  3313  		},
  3314  	},
  3315  	{
  3316  		Name: "blob keyless secondary index prefix",
  3317  		SetUpScript: []string{
  3318  			"create table t (b blob)",
  3319  		},
  3320  		Assertions: []ScriptTestAssertion{
  3321  			{
  3322  				Query:    "alter table t add unique index (b(1))",
  3323  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3324  			},
  3325  			{
  3326  				Query:    "show create table t",
  3327  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `b` blob,\n  UNIQUE KEY `b` (`b`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3328  			},
  3329  			{
  3330  				Query:       "insert into t values ('aa'), ('ab')",
  3331  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3332  			},
  3333  			{
  3334  				Query:    "create table b_tbl (b blob, index (b(10)))",
  3335  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3336  			},
  3337  			{
  3338  				Query:    "show create table b_tbl",
  3339  				Expected: []sql.Row{{"b_tbl", "CREATE TABLE `b_tbl` (\n  `b` blob,\n  KEY `b` (`b`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3340  			},
  3341  		},
  3342  	},
  3343  	{
  3344  		Name: "text primary key prefix",
  3345  		SetUpScript: []string{
  3346  			"create table t (t text)",
  3347  		},
  3348  		Assertions: []ScriptTestAssertion{
  3349  			{
  3350  				Query:       "alter table t add primary key (t(10))",
  3351  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3352  			},
  3353  			{
  3354  				Query:       "create table b_tbl (t text, primary key (t(10)))",
  3355  				ExpectedErr: sql.ErrUnsupportedIndexPrefix,
  3356  			},
  3357  		},
  3358  	},
  3359  	{
  3360  		Name: "text keyed secondary index prefix",
  3361  		SetUpScript: []string{
  3362  			"create table t (i int primary key, t text);",
  3363  			// Insert a TEXT value before we create the index, so that it
  3364  			// has to process existing data when building the index
  3365  			"insert into t values (999, 'xxx');",
  3366  		},
  3367  		Assertions: []ScriptTestAssertion{
  3368  			{
  3369  				Query:    "select i from t where t like 'x%';",
  3370  				Expected: []sql.Row{{999}},
  3371  			},
  3372  			{
  3373  				Query:    "alter table t add index (t(1));",
  3374  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3375  			},
  3376  			{
  3377  				Query:    "show create table t",
  3378  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `t` text,\n  PRIMARY KEY (`i`),\n  KEY `t` (`t`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3379  			},
  3380  			{
  3381  				Query:    "select i from t where t like 'x%';",
  3382  				Expected: []sql.Row{{999}},
  3383  			},
  3384  			{
  3385  				Query:    "insert into t values (998, 'yy');",
  3386  				Expected: []sql.Row{{types.NewOkResult(1)}},
  3387  			},
  3388  			{
  3389  				Query:    "alter table t drop index `t`;",
  3390  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3391  			},
  3392  			{
  3393  				Query:    "alter table t add unique index (t(1));",
  3394  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3395  			},
  3396  			{
  3397  				Query:    "show create table t",
  3398  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `t` text,\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `t` (`t`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3399  			},
  3400  			{
  3401  				Query:       "insert into t values (0, 'aa'), (1, 'ab')",
  3402  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3403  			},
  3404  			{
  3405  				Query:    "create table t_tbl (i int primary key, t text, index (t(10)))",
  3406  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3407  			},
  3408  			{
  3409  				Query:    "show create table t_tbl",
  3410  				Expected: []sql.Row{{"t_tbl", "CREATE TABLE `t_tbl` (\n  `i` int NOT NULL,\n  `t` text,\n  PRIMARY KEY (`i`),\n  KEY `t` (`t`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3411  			},
  3412  		},
  3413  	},
  3414  	{
  3415  		Name: "text keyless secondary index prefix",
  3416  		SetUpScript: []string{
  3417  			"create table t (t text)",
  3418  		},
  3419  		Assertions: []ScriptTestAssertion{
  3420  			{
  3421  				Query:    "alter table t add unique index (t(1))",
  3422  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3423  			},
  3424  			{
  3425  				Query:    "show create table t",
  3426  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `t` text,\n  UNIQUE KEY `t` (`t`(1))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3427  			},
  3428  			{
  3429  				Query:       "insert into t values ('aa'), ('ab')",
  3430  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3431  			},
  3432  			{
  3433  				Query:    "create table t_tbl (t text, index (t(10)))",
  3434  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3435  			},
  3436  			{
  3437  				Query:    "show create table t_tbl",
  3438  				Expected: []sql.Row{{"t_tbl", "CREATE TABLE `t_tbl` (\n  `t` text,\n  KEY `t` (`t`(10))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3439  			},
  3440  		},
  3441  	},
  3442  	{
  3443  		Name: "inline secondary indexes",
  3444  		SetUpScript: []string{
  3445  			"create table t (i int primary key, v1 varchar(10), v2 varchar(10), unique index (v1(3),v2(5)))",
  3446  		},
  3447  		Assertions: []ScriptTestAssertion{
  3448  			{
  3449  				Query:    "show create table t",
  3450  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `v1` varchar(10),\n  `v2` varchar(10),\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `v1v2` (`v1`(3),`v2`(5))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3451  			},
  3452  			{
  3453  				Query:    "insert into t values (0, 'a', 'a'), (1, 'ab','ab'), (2, 'abc', 'abc'), (3, 'abcde', 'abcde')",
  3454  				Expected: []sql.Row{{types.NewOkResult(4)}},
  3455  			},
  3456  			{
  3457  				Query:       "insert into t values (99, 'abc', 'abcde')",
  3458  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3459  			},
  3460  			{
  3461  				Query:       "insert into t values (99, 'abc123', 'abcde123')",
  3462  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3463  			},
  3464  			{
  3465  				Query: "select * from t where v1 = 'a'",
  3466  				Expected: []sql.Row{
  3467  					{0, "a", "a"},
  3468  				},
  3469  			},
  3470  			{
  3471  				Query: "select * from t where v1 = 'abc'",
  3472  				Expected: []sql.Row{
  3473  					{2, "abc", "abc"},
  3474  				},
  3475  			},
  3476  			{
  3477  				Query:    "select * from t where v1 = 'abcd'",
  3478  				Expected: []sql.Row{},
  3479  			},
  3480  			{
  3481  				Query: "select * from t where v1 > 'a' and v1 < 'abcde'",
  3482  				Expected: []sql.Row{
  3483  					{1, "ab", "ab"},
  3484  					{2, "abc", "abc"},
  3485  				},
  3486  			},
  3487  			{
  3488  				Query: "select * from t where v1 > 'a' and v2 < 'abcde'",
  3489  				Expected: []sql.Row{
  3490  					{1, "ab", "ab"},
  3491  					{2, "abc", "abc"},
  3492  				},
  3493  			},
  3494  			{
  3495  				Query: "update t set v1 = concat(v1, 'z') where v1 >= 'a'",
  3496  				Expected: []sql.Row{
  3497  					{types.OkResult{RowsAffected: 4, InsertID: 0, Info: plan.UpdateInfo{Matched: 4, Updated: 4}}},
  3498  				},
  3499  			},
  3500  			{
  3501  				Query: "select * from t",
  3502  				Expected: []sql.Row{
  3503  					{0, "az", "a"},
  3504  					{1, "abz", "ab"},
  3505  					{2, "abcz", "abc"},
  3506  					{3, "abcdez", "abcde"},
  3507  				},
  3508  			},
  3509  			{
  3510  				Query: "delete from t where v1 >= 'a'",
  3511  				Expected: []sql.Row{
  3512  					{types.OkResult{RowsAffected: 4}},
  3513  				},
  3514  			},
  3515  			{
  3516  				Query:    "select * from t",
  3517  				Expected: []sql.Row{},
  3518  			},
  3519  		},
  3520  	},
  3521  	{
  3522  		Name: "inline secondary indexes keyless",
  3523  		SetUpScript: []string{
  3524  			"create table t (v1 varchar(10), v2 varchar(10), unique index (v1(3),v2(5)))",
  3525  		},
  3526  		Assertions: []ScriptTestAssertion{
  3527  			{
  3528  				Query:    "show create table t",
  3529  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `v1` varchar(10),\n  `v2` varchar(10),\n  UNIQUE KEY `v1v2` (`v1`(3),`v2`(5))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3530  			},
  3531  			{
  3532  				Query:    "insert into t values ('a', 'a'), ('ab','ab'), ('abc', 'abc'), ('abcde', 'abcde')",
  3533  				Expected: []sql.Row{{types.NewOkResult(4)}},
  3534  			},
  3535  			{
  3536  				Query:       "insert into t values ('abc', 'abcde')",
  3537  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3538  			},
  3539  			{
  3540  				Query:       "insert into t values ('abc123', 'abcde123')",
  3541  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3542  			},
  3543  			{
  3544  				Query: "select * from t where v1 = 'a'",
  3545  				Expected: []sql.Row{
  3546  					{"a", "a"},
  3547  				},
  3548  			},
  3549  			{
  3550  				Query: "select * from t where v1 = 'abc'",
  3551  				Expected: []sql.Row{
  3552  					{"abc", "abc"},
  3553  				},
  3554  			},
  3555  			{
  3556  				Query:    "select * from t where v1 = 'abcd'",
  3557  				Expected: []sql.Row{},
  3558  			},
  3559  			{
  3560  				Query: "select * from t where v1 > 'a' and v1 < 'abcde'",
  3561  				Expected: []sql.Row{
  3562  					{"ab", "ab"},
  3563  					{"abc", "abc"},
  3564  				},
  3565  			},
  3566  			{
  3567  				Query: "select * from t where v1 > 'a' and v2 < 'abcde'",
  3568  				Expected: []sql.Row{
  3569  					{"ab", "ab"},
  3570  					{"abc", "abc"},
  3571  				},
  3572  			},
  3573  			{
  3574  				Query: "update t set v1 = concat(v1, 'z') where v1 >= 'a'",
  3575  				Expected: []sql.Row{
  3576  					{types.OkResult{RowsAffected: 4, InsertID: 0, Info: plan.UpdateInfo{Matched: 4, Updated: 4}}},
  3577  				},
  3578  			},
  3579  			{
  3580  				Query: "select * from t",
  3581  				Expected: []sql.Row{
  3582  					{"az", "a"},
  3583  					{"abz", "ab"},
  3584  					{"abcz", "abc"},
  3585  					{"abcdez", "abcde"},
  3586  				},
  3587  			},
  3588  			{
  3589  				Query: "delete from t where v1 >= 'a'",
  3590  				Expected: []sql.Row{
  3591  					{types.OkResult{RowsAffected: 4}},
  3592  				},
  3593  			},
  3594  			{
  3595  				Query:    "select * from t",
  3596  				Expected: []sql.Row{},
  3597  			},
  3598  		},
  3599  	},
  3600  	// TODO (james): collations do not work for in-memory tables; this test is in dolt_queries.go
  3601  	{
  3602  		Name: "inline secondary indexes with collation",
  3603  		SetUpScript: []string{
  3604  			"create table t (i int primary key, v1 varchar(10), v2 varchar(10), unique index (v1(3),v2(5))) collate utf8mb4_0900_ai_ci",
  3605  		},
  3606  		Assertions: []ScriptTestAssertion{
  3607  			{
  3608  				Query:    "show create table t",
  3609  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `v1` varchar(10),\n  `v2` varchar(10),\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `v1v2` (`v1`(3),`v2`(5))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci"}},
  3610  			},
  3611  			{
  3612  				Query:    "insert into t values (0, 'a', 'a'), (1, 'ab','ab'), (2, 'abc', 'abc'), (3, 'abcde', 'abcde')",
  3613  				Expected: []sql.Row{{types.NewOkResult(4)}},
  3614  			},
  3615  			{
  3616  				Skip:        true,
  3617  				Query:       "insert into t values (99, 'ABC', 'ABCDE')",
  3618  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3619  			},
  3620  			{
  3621  				Skip:        true,
  3622  				Query:       "insert into t values (99, 'ABC123', 'ABCDE123')",
  3623  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3624  			},
  3625  			{
  3626  				Skip:  true,
  3627  				Query: "select * from t where v1 = 'A'",
  3628  				Expected: []sql.Row{
  3629  					{0, "a", "a"},
  3630  				},
  3631  			},
  3632  			{
  3633  				Skip:  true,
  3634  				Query: "select * from t where v1 = 'ABC'",
  3635  				Expected: []sql.Row{
  3636  					{2, "abc", "abc"},
  3637  				},
  3638  			},
  3639  			{
  3640  				Query:    "select * from t where v1 = 'ABCD'",
  3641  				Expected: []sql.Row{},
  3642  			},
  3643  			{
  3644  				Skip:  true,
  3645  				Query: "select * from t where v1 > 'A' and v1 < 'ABCDE'",
  3646  				Expected: []sql.Row{
  3647  					{1, "ab", "ab"},
  3648  				},
  3649  			},
  3650  			{
  3651  				Query: "select * from t where v1 > 'A' and v2 < 'ABCDE'",
  3652  				Expected: []sql.Row{
  3653  					{1, "ab", "ab"},
  3654  					{2, "abc", "abc"},
  3655  				},
  3656  			},
  3657  			{
  3658  				Skip:  true,
  3659  				Query: "update t set v1 = concat(v1, 'Z') where v1 >= 'A'",
  3660  				Expected: []sql.Row{
  3661  					{types.OkResult{RowsAffected: 4, InsertID: 0, Info: plan.UpdateInfo{Matched: 4, Updated: 4}}},
  3662  				},
  3663  			},
  3664  			{
  3665  				Skip:  true,
  3666  				Query: "select * from t",
  3667  				Expected: []sql.Row{
  3668  					{0, "aZ", "a"},
  3669  					{1, "abZ", "ab"},
  3670  					{2, "abcZ", "abc"},
  3671  					{3, "abcdeZ", "abcde"},
  3672  				},
  3673  			},
  3674  			{
  3675  				Skip:  true,
  3676  				Query: "delete from t where v1 >= 'A'",
  3677  				Expected: []sql.Row{
  3678  					{types.OkResult{RowsAffected: 4}},
  3679  				},
  3680  			},
  3681  			{
  3682  				Skip:     true,
  3683  				Query:    "select * from t",
  3684  				Expected: []sql.Row{},
  3685  			},
  3686  		},
  3687  	},
  3688  	{
  3689  		Name: "referenced secondary indexes",
  3690  		SetUpScript: []string{
  3691  			"create table t (i int primary key, v1 text, v2 text, unique index (v1(3),v2(5)))",
  3692  		},
  3693  		Assertions: []ScriptTestAssertion{
  3694  			{
  3695  				Query:    "show create table t",
  3696  				Expected: []sql.Row{{"t", "CREATE TABLE `t` (\n  `i` int NOT NULL,\n  `v1` text,\n  `v2` text,\n  PRIMARY KEY (`i`),\n  UNIQUE KEY `v1v2` (`v1`(3),`v2`(5))\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"}},
  3697  			},
  3698  			{
  3699  				Query:    "insert into t values (0, 'a', 'a'), (1, 'ab','ab'), (2, 'abc', 'abc'), (3, 'abcde', 'abcde')",
  3700  				Expected: []sql.Row{{types.NewOkResult(4)}},
  3701  			},
  3702  			{
  3703  				Query:       "insert into t values (99, 'abc', 'abcde')",
  3704  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3705  			},
  3706  			{
  3707  				Query:       "insert into t values (99, 'abc123', 'abcde123')",
  3708  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3709  			},
  3710  			{
  3711  				Query: "select * from t where v1 = 'a'",
  3712  				Expected: []sql.Row{
  3713  					{0, "a", "a"},
  3714  				},
  3715  			},
  3716  			{
  3717  				Query: "select * from t where v1 = 'abc'",
  3718  				Expected: []sql.Row{
  3719  					{2, "abc", "abc"},
  3720  				},
  3721  			},
  3722  			{
  3723  				Query:    "select * from t where v1 = 'abcd'",
  3724  				Expected: []sql.Row{},
  3725  			},
  3726  			{
  3727  				Query: "select * from t where v1 > 'a' and v1 < 'abcde'",
  3728  				Expected: []sql.Row{
  3729  					{1, "ab", "ab"},
  3730  					{2, "abc", "abc"},
  3731  				},
  3732  			},
  3733  			{
  3734  				Query: "select * from t where v1 > 'a' and v2 < 'abcde'",
  3735  				Expected: []sql.Row{
  3736  					{1, "ab", "ab"},
  3737  					{2, "abc", "abc"},
  3738  				},
  3739  			},
  3740  			{
  3741  				Query: "update t set v1 = concat(v1, 'z') where v1 >= 'a'",
  3742  				Expected: []sql.Row{
  3743  					{types.OkResult{RowsAffected: 4, InsertID: 0, Info: plan.UpdateInfo{Matched: 4, Updated: 4}}},
  3744  				},
  3745  			},
  3746  			{
  3747  				Query: "select * from t",
  3748  				Expected: []sql.Row{
  3749  					{0, "az", "a"},
  3750  					{1, "abz", "ab"},
  3751  					{2, "abcz", "abc"},
  3752  					{3, "abcdez", "abcde"},
  3753  				},
  3754  			},
  3755  			{
  3756  				Query: "delete from t where v1 >= 'a'",
  3757  				Expected: []sql.Row{
  3758  					{types.OkResult{RowsAffected: 4}},
  3759  				},
  3760  			},
  3761  			{
  3762  				Query:    "select * from t",
  3763  				Expected: []sql.Row{},
  3764  			},
  3765  		},
  3766  	},
  3767  	{
  3768  		// https://github.com/dolthub/dolt/issues/7040
  3769  		Name: "unique indexes on TEXT/BLOB columns with no prefix length (MariaDB compatibility)",
  3770  		SetUpScript: []string{
  3771  			"create table t (pk int primary key, col1 text);",
  3772  			"create table j2 (pk int primary key, col1 varchar(100));",
  3773  			"insert into j2 values (1, '100'), (2, '  '), (3, '300');",
  3774  		},
  3775  		Assertions: []ScriptTestAssertion{
  3776  			{
  3777  				Query:    "select @@strict_mysql_compatibility;",
  3778  				Expected: []sql.Row{{0}},
  3779  			},
  3780  			{
  3781  				Query:    "alter table t add unique key k1(col1);",
  3782  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3783  			},
  3784  			{
  3785  				Query:    "insert into t values (4, ''), (5, ' '), (8, NULL), (-1, '  ');",
  3786  				Expected: []sql.Row{{types.NewOkResult(4)}},
  3787  			},
  3788  			{
  3789  				Query:    "insert into t values (1, 'oneasdfasdf');",
  3790  				Expected: []sql.Row{{types.NewOkResult(1)}},
  3791  			},
  3792  			{
  3793  				Query:       "insert into t values (2, 'oneasdfasdf');",
  3794  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3795  			},
  3796  			{
  3797  				// Asserts that a subquery can correctly use the content-hashed index in a join. The index is valid here,
  3798  				// because it is used to filter on the equality condition in the top level filter, the filter in the
  3799  				// subquery is not done using the index.
  3800  				Query:              "select pk from t where col1='oneasdfasdf' and exists (select pk from j2 where j2.col1 <= t.col1);",
  3801  				Expected:           []sql.Row{{1}},
  3802  				CheckIndexedAccess: true,
  3803  				ExpectedIndexes:    []string{"k1"},
  3804  			},
  3805  			{
  3806  				// Skipped until Dolt's implementation can return this error message with the raw
  3807  				// content value, and not the hashed value.
  3808  				Skip:           true,
  3809  				Query:          "insert into t values (2, 'oneasdfasdf');",
  3810  				ExpectedErrStr: "duplicate unique key given: [oneasdfasdf]",
  3811  			},
  3812  			{
  3813  				Query:              "select col1 from t where col1='oneasdfasdf';",
  3814  				Expected:           []sql.Row{{"oneasdfasdf"}},
  3815  				CheckIndexedAccess: true,
  3816  				ExpectedIndexes:    []string{"k1"},
  3817  			},
  3818  			{
  3819  				// Indexes with content-hashed fields are not eligible for use with range scans
  3820  				Query:           "select * from t where col1 >= 'one';",
  3821  				ExpectedIndexes: []string{},
  3822  				Expected:        []sql.Row{{1, "oneasdfasdf"}},
  3823  			},
  3824  			{
  3825  				// Indexes with a content-hashed BLOB/TEXT field cannot be used in range scans
  3826  				Query:           "select * from t where col1 >= ' ' order by pk;",
  3827  				ExpectedIndexes: []string{"primary"},
  3828  				Expected:        []sql.Row{{-1, "  "}, {1, "oneasdfasdf"}, {5, " "}},
  3829  			},
  3830  			{
  3831  				// Assert we can create the index without a prefix, inline in a table definition, too
  3832  				Query:    "create table t2 (pk int primary key, col1 BLOB, unique key k1(col1));",
  3833  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3834  			},
  3835  			{
  3836  				// Assert that we do NOT use the index for a join on a range condition
  3837  				Query:           "select distinct j2.pk from j2 join t on t.col1 >= 'one';",
  3838  				ExpectedIndexes: []string{},
  3839  				Expected:        []sql.Row{{1}, {2}, {3}},
  3840  				JoinTypes:       []plan.JoinType{plan.JoinTypeInner},
  3841  			},
  3842  			{
  3843  				// Assert that we DO use the index for a join on an exact match condition
  3844  				Query:           "select /*+ LOOKUP_JOIN(t,j2) */ distinct j2.pk from j2 join t on t.col1 = ' ';",
  3845  				ExpectedIndexes: []string{"k1"},
  3846  				Expected:        []sql.Row{{1}, {2}, {3}},
  3847  				JoinTypes:       []plan.JoinType{plan.JoinTypeLookup},
  3848  			},
  3849  
  3850  			{
  3851  				// Assert that we DO use the index for a lookup join on an exact match condition
  3852  				Query:           "select /*+ LOOKUP_JOIN(t,j2) */ distinct j2.pk from j2 join t on t.col1 = j2.col1;",
  3853  				ExpectedIndexes: []string{"k1"},
  3854  				Expected:        []sql.Row{{2}},
  3855  				JoinTypes:       []plan.JoinType{plan.JoinTypeLookup},
  3856  			},
  3857  			{
  3858  				// Assert that we do NOT use the index for a lookup join on a range condition
  3859  				Query:           "select /*+ LOOKUP_JOIN(t,j2) */ distinct j2.pk from j2 join t on t.col1 >= j2.col1;",
  3860  				ExpectedIndexes: []string{},
  3861  				Expected:        []sql.Row{{1}, {2}, {3}},
  3862  				JoinTypes:       []plan.JoinType{plan.JoinTypeInner},
  3863  			},
  3864  			{
  3865  				// Assert that merge join is not available, since the index is not ordered (equality condition)
  3866  				Query:           "select /*+ MERGE_JOIN(t,j2) */ distinct j2.pk from j2 join t on t.col1 = j2.col1;",
  3867  				ExpectedIndexes: []string{"k1"},
  3868  				Expected:        []sql.Row{{2}},
  3869  				JoinTypes:       []plan.JoinType{plan.JoinTypeLookup},
  3870  			},
  3871  			{
  3872  				// Assert that merge join is not available, since the index is not ordered (range condition)
  3873  				Query:           "select /*+ MERGE_JOIN(t,j2) */ distinct j2.pk from j2 join t on t.col1 >= j2.col1;",
  3874  				ExpectedIndexes: []string{},
  3875  				Expected:        []sql.Row{{1}, {2}, {3}},
  3876  				JoinTypes:       []plan.JoinType{plan.JoinTypeInner},
  3877  			},
  3878  			{
  3879  				// Assert that indexes with hash-encoded fields are not used for ordering
  3880  				Query:           "select t.col1 from t order by t.col1;",
  3881  				ExpectedIndexes: []string{},
  3882  				Expected:        []sql.Row{{nil}, {""}, {" "}, {"  "}, {"oneasdfasdf"}},
  3883  			},
  3884  			{
  3885  				// Assert that filters that transform the column value are not eligible to use the secondary index
  3886  				Query:           "select col1 from t where concat(t.col1, ' ') = '  ';",
  3887  				ExpectedIndexes: []string{},
  3888  				Expected:        []sql.Row{{" "}},
  3889  			},
  3890  			{
  3891  				// Assert that different types that have to be coerced don't cause issues
  3892  				Query:           "select col1 from t where t.col1 = POINT(42, 42);",
  3893  				ExpectedIndexes: []string{"k1"},
  3894  				Expected:        []sql.Row{},
  3895  			},
  3896  			{
  3897  				// Assert that index use is valid for not equals comparisons
  3898  				Query:           "select col1 from t where t.col1 != 'oneasdfasdf';",
  3899  				ExpectedIndexes: []string{"k1"},
  3900  				Expected:        []sql.Row{{""}, {" "}, {"  "}},
  3901  			},
  3902  			{
  3903  				// Assert that index use is valid for is not null filter expressions
  3904  				Query:           "select col1 from t where t.col1 is not null;",
  3905  				ExpectedIndexes: []string{"k1"},
  3906  				Expected:        []sql.Row{{""}, {" "}, {"  "}, {"oneasdfasdf"}},
  3907  			},
  3908  			{
  3909  				// Assert that index use is valid for null-safe comparisons
  3910  				Query:           "select col1 from t where t.col1 <=> 'oneasdfasdf';",
  3911  				ExpectedIndexes: []string{"k1"},
  3912  				Expected:        []sql.Row{{"oneasdfasdf"}},
  3913  			},
  3914  			{
  3915  				// Assert that index use is allowed for is null filter expressions
  3916  				Query:           "select col1 from t where t.col1 is NULL",
  3917  				ExpectedIndexes: []string{"k1"},
  3918  				Expected:        []sql.Row{{nil}},
  3919  			},
  3920  		},
  3921  	},
  3922  	{
  3923  		Name: "unique indexes on multiple TEXT/BLOB columns with partial prefix lengths (MariaDB compatibility)",
  3924  		SetUpScript: []string{
  3925  			"create table t (pk int primary key, col1 text, col2 text, constraint uk1 unique key(col1, col2(3)));",
  3926  			"insert into t value(1, 'one', 'one___'), (2, 'two', 'two___');",
  3927  		},
  3928  		Assertions: []ScriptTestAssertion{
  3929  			{
  3930  				Query:    "select @@strict_mysql_compatibility;",
  3931  				Expected: []sql.Row{{0}},
  3932  			},
  3933  			{
  3934  				Query:       "insert into t values (200, 'two', 'two___');",
  3935  				ExpectedErr: sql.ErrUniqueKeyViolation,
  3936  			},
  3937  			{
  3938  				Query:              "select col1, col2 from t where col1='one';",
  3939  				Expected:           []sql.Row{{"one", "one___"}},
  3940  				CheckIndexedAccess: true,
  3941  				ExpectedIndexes:    []string{"uk1"},
  3942  			},
  3943  			{
  3944  				// Indexes with content-hashed fields are not eligible for use with range scans
  3945  				Query:           "select * from t where col1 >= 'one';",
  3946  				ExpectedIndexes: []string{},
  3947  				Expected:        []sql.Row{{1, "one", "one___"}, {2, "two", "two___"}},
  3948  			},
  3949  			{
  3950  				// Indexes with content-hashed fields are not eligible for use with range scans
  3951  				Query:           "select * from t where col2 >= 'one';",
  3952  				ExpectedIndexes: []string{},
  3953  				Expected:        []sql.Row{{1, "one", "one___"}, {2, "two", "two___"}},
  3954  			},
  3955  			{
  3956  				// Indexes with a content-hashed BLOB/TEXT field cannot be used in range scans
  3957  				Query:           "select count(*) from t where col1 >= ' ';",
  3958  				ExpectedIndexes: []string{},
  3959  				Expected:        []sql.Row{{2}},
  3960  			},
  3961  			{
  3962  				// Indexes with a content-hashed BLOB/TEXT field cannot be used in range scans
  3963  				Query:           "select count(*) from t where col2 >= ' ';",
  3964  				ExpectedIndexes: []string{},
  3965  				Expected:        []sql.Row{{2}},
  3966  			},
  3967  			{
  3968  				// Indexes with a content-hashed BLOB/TEXT field cannot be used in ordered range scans
  3969  				Query:           "select * from t where col1 >= ' ' order by pk;",
  3970  				ExpectedIndexes: []string{"primary"},
  3971  				Expected:        []sql.Row{{1, "one", "one___"}, {2, "two", "two___"}},
  3972  			},
  3973  			{
  3974  				// Indexes with a content-hashed BLOB/TEXT field cannot be used in ordered range scans
  3975  				Query:           "select * from t where col2 >= ' ' order by pk;",
  3976  				ExpectedIndexes: []string{"primary"},
  3977  				Expected:        []sql.Row{{1, "one", "one___"}, {2, "two", "two___"}},
  3978  			},
  3979  		},
  3980  	},
  3981  	{
  3982  		Name: "case-insensitive collations are restricted for unique indexes on TEXT columns with no prefix length",
  3983  		Assertions: []ScriptTestAssertion{
  3984  			{
  3985  				// Assert we can create the index without a prefix, inline in a table definition, too
  3986  				Query:       "create table t1 (pk int primary key, col1 TEXT collate utf8mb3_general_ci, unique key k1(col1));",
  3987  				ExpectedErr: sql.ErrCollationNotSupportedOnUniqueTextIndex,
  3988  			},
  3989  			{
  3990  				// Assert we can create the index without a prefix, inline in a table definition, too
  3991  				Query:    "create table t2 (pk int primary key, col1 TEXT collate utf8mb3_general_ci);",
  3992  				Expected: []sql.Row{{types.NewOkResult(0)}},
  3993  			},
  3994  			{
  3995  				// Assert we can create the index without a prefix, inline in a table definition, too
  3996  				Query:       "alter table t2 add unique key k1(col1);",
  3997  				ExpectedErr: sql.ErrCollationNotSupportedOnUniqueTextIndex,
  3998  			},
  3999  		},
  4000  	},
  4001  	{
  4002  		// https://github.com/dolthub/dolt/issues/7040
  4003  		Name: "unique indexes on TEXT/BLOB columns with no prefix length (strict MySQL compatibility)",
  4004  		SetUpScript: []string{
  4005  			"create table t (pk int primary key, col1 text);",
  4006  		},
  4007  		Assertions: []ScriptTestAssertion{
  4008  			{
  4009  				Query:    "set @@strict_mysql_compatibility = true;",
  4010  				Expected: []sql.Row{{}},
  4011  			},
  4012  			{
  4013  				Query:    "select @@strict_mysql_compatibility;",
  4014  				Expected: []sql.Row{{1}},
  4015  			},
  4016  			{
  4017  				Query:          "alter table t add unique key k1(col1);",
  4018  				ExpectedErrStr: "blob/text column 'col1' used in key specification without a key length",
  4019  			},
  4020  			{
  4021  				Query:          "create table t2 (pk int primary key, col1 BLOB, unique key k1(col1));",
  4022  				ExpectedErrStr: "blob/text column 'col1' used in key specification without a key length",
  4023  			},
  4024  		},
  4025  	},
  4026  	{
  4027  		Name:        "test prefix limits",
  4028  		SetUpScript: []string{},
  4029  		Assertions: []ScriptTestAssertion{
  4030  			{
  4031  				Query:    "create table varchar_limit(c varchar(10000), index (c(768)))",
  4032  				Expected: []sql.Row{{types.NewOkResult(0)}},
  4033  			},
  4034  			{
  4035  				Query:    "create table text_limit(c text, index (c(768)))",
  4036  				Expected: []sql.Row{{types.NewOkResult(0)}},
  4037  			},
  4038  			{
  4039  				Query:    "create table varbinary_limit(c varbinary(10000), index (c(3072)))",
  4040  				Expected: []sql.Row{{types.NewOkResult(0)}},
  4041  			},
  4042  			{
  4043  				Query:    "create table blob_limit(c blob, index (c(3072)))",
  4044  				Expected: []sql.Row{{types.NewOkResult(0)}},
  4045  			},
  4046  			{
  4047  				Query:       "create table bad(c varchar(10000), index (c(769)))",
  4048  				ExpectedErr: sql.ErrKeyTooLong,
  4049  			},
  4050  			{
  4051  				Query:       "create table bad(c text, index (c(769)))",
  4052  				ExpectedErr: sql.ErrKeyTooLong,
  4053  			},
  4054  			{
  4055  				Query:       "create table bad(c varbinary(10000), index (c(3073)))",
  4056  				ExpectedErr: sql.ErrKeyTooLong,
  4057  			},
  4058  			{
  4059  				Query:       "create table bad(c blob, index (c(3073)))",
  4060  				ExpectedErr: sql.ErrKeyTooLong,
  4061  			},
  4062  		},
  4063  	},
  4064  }
  4065  
  4066  var IndexQueries = []ScriptTest{
  4067  	{
  4068  		Name: "unique key violation prevents insert",
  4069  		SetUpScript: []string{
  4070  			"create table users (id varchar(26) primary key, namespace varchar(50), name varchar(50));",
  4071  		},
  4072  		Assertions: []ScriptTestAssertion{
  4073  			{
  4074  				Query: "create unique index namespace__name on users (namespace, name)",
  4075  				Expected: []sql.Row{
  4076  					{types.OkResult{RowsAffected: 0}},
  4077  				},
  4078  			},
  4079  			{
  4080  				Query: "show create table users",
  4081  				Expected: []sql.Row{
  4082  					{"users", "CREATE TABLE `users` (\n  `id` varchar(26) NOT NULL,\n  `namespace` varchar(50),\n  `name` varchar(50),\n  PRIMARY KEY (`id`),\n  UNIQUE KEY `namespace__name` (`namespace`,`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_bin"},
  4083  				},
  4084  			},
  4085  			{
  4086  				Query: "insert into users values ('user1', 'namespace1', 'name1')",
  4087  				Expected: []sql.Row{
  4088  					{types.OkResult{RowsAffected: 1}},
  4089  				},
  4090  			},
  4091  			{
  4092  				Query:       "insert into users values ('user2', 'namespace1', 'name1')",
  4093  				ExpectedErr: sql.ErrUniqueKeyViolation,
  4094  			},
  4095  		},
  4096  	},
  4097  	{
  4098  		Name: "unique key duplicate key update",
  4099  		SetUpScript: []string{
  4100  			"CREATE TABLE auniquetable (pk int primary key, uk int unique key, i int);",
  4101  			"INSERT INTO auniquetable VALUES(0,0,0);",
  4102  			"INSERT INTO auniquetable (pk,uk) VALUES(1,0) on duplicate key update i = 99;",
  4103  		},
  4104  		Assertions: []ScriptTestAssertion{
  4105  			{
  4106  				Query: "SELECT pk, uk, i from auniquetable",
  4107  				Expected: []sql.Row{
  4108  					{0, 0, 99},
  4109  				},
  4110  			},
  4111  		},
  4112  	},
  4113  	{
  4114  		Name: "non-unique indexes on keyless tables",
  4115  		SetUpScript: []string{
  4116  			"create table t (i int, j int, index(i))",
  4117  			"insert into t values (0, 100), (0, 200), (1, 100), (1, 200), (2, 100), (2, 200)",
  4118  		},
  4119  		Assertions: []ScriptTestAssertion{
  4120  			{
  4121  				Query: "select i, j from t where i = 0 order by i, j",
  4122  				Expected: []sql.Row{
  4123  					{0, 100},
  4124  					{0, 200},
  4125  				},
  4126  			},
  4127  			{
  4128  				Query: "select i, j from t where i = 1 order by i, j",
  4129  				Expected: []sql.Row{
  4130  					{1, 100},
  4131  					{1, 200},
  4132  				},
  4133  			},
  4134  			{
  4135  				Query: "select i, j from t where i > 0 order by i, j",
  4136  				Expected: []sql.Row{
  4137  					{1, 100},
  4138  					{1, 200},
  4139  					{2, 100},
  4140  					{2, 200},
  4141  				},
  4142  			},
  4143  			{
  4144  				Query: "select i, j from t where i > 0 and i < 2 order by i, j",
  4145  				Expected: []sql.Row{
  4146  					{1, 100},
  4147  					{1, 200},
  4148  				},
  4149  			},
  4150  		},
  4151  	},
  4152  	{
  4153  		Name: "more non-unique indexes on keyless tables",
  4154  		SetUpScript: []string{
  4155  			"create table t (i int, j int, k int, index(i, j))",
  4156  			"insert into t values (0, 0, 123), (0, 1, 456), (1, 0, 123), (1, 1, 456), (2, 0, 123), (2, 1, 456)",
  4157  		},
  4158  		Assertions: []ScriptTestAssertion{
  4159  			{
  4160  				Query: "select i, j, k from t where i = 0 order by i, j, k",
  4161  				Expected: []sql.Row{
  4162  					{0, 0, 123},
  4163  					{0, 1, 456},
  4164  				},
  4165  			},
  4166  			{
  4167  				Query: "select i, j, k from t where i = 0 and j = 0 order by i, j, k",
  4168  				Expected: []sql.Row{
  4169  					{0, 0, 123},
  4170  				},
  4171  			},
  4172  			{
  4173  				Query: "select i, j, k from t where i = 1 and (j = 0 or j = 1) order by i, j, k",
  4174  				Expected: []sql.Row{
  4175  					{1, 0, 123},
  4176  					{1, 1, 456},
  4177  				},
  4178  			},
  4179  			{
  4180  				Query: "select i, j, k from t where i > 0 and j > 0 order by i, j, k",
  4181  				Expected: []sql.Row{
  4182  					{1, 1, 456},
  4183  					{2, 1, 456},
  4184  				},
  4185  			},
  4186  			{
  4187  				Query: "select i, j, k from t where i > 0 and i < 2 order by i, j, k",
  4188  				Expected: []sql.Row{
  4189  					{1, 0, 123},
  4190  					{1, 1, 456},
  4191  				},
  4192  			},
  4193  		},
  4194  	},
  4195  }