@@ -155,18 +155,11 @@ func TestFullQueryPlanning(t *testing.T) {
155155Limit offset=0 limit=1000
156156└── TopK sort_by=builtin.timestamp ascending=false nulls_first=false k=1000
157157 └── Parallelize
158- <<<<<<< HEAD
159158 └── TopK sort_by=builtin.timestamp ascending=false nulls_first=false k=1000
160159 └── Compat src=metadata dst=metadata collision=label
161160 └── ScanSet num_targets=2 predicate[0]=GTE(builtin.timestamp, 2025-01-01T00:00:00Z) predicate[1]=LT(builtin.timestamp, 2025-01-01T01:00:00Z)
162161 ├── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=1 projections=()
163162 └── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=0 projections=()
164- =======
165- └── Compat src=metadata dst=metadata collision=label
166- └── ScanSet num_targets=2 predicate[0]=GTE(builtin.timestamp, 2025-01-01T00:00:00Z) predicate[1]=LT(builtin.timestamp, 2025-01-01T01:00:00Z)
167- ├── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=1 projections=()
168- └── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=0 projections=()
169- >>>>>>> twhitney/thor-unwrap
170163 ` ,
171164 },
172165 {
@@ -175,7 +168,6 @@ Limit offset=0 limit=1000
175168 expected : `
176169Limit offset=0 limit=1000
177170└── TopK sort_by=builtin.timestamp ascending=false nulls_first=false k=1000
178- <<<<<<< HEAD
179171 └── Parallelize
180172 └── TopK sort_by=builtin.timestamp ascending=false nulls_first=false k=1000
181173 └── Filter predicate[0]=EQ(ambiguous.label_foo, "bar")
@@ -184,38 +176,20 @@ Limit offset=0 limit=1000
184176 ├── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=1 projections=()
185177 └── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=0 projections=()
186178 ` ,
187- == == == =
188- └── Filter predicate [0 ]= EQ (ambiguous .label_foo , "bar" )
189- └── Parallelize
190- └── Compat src = metadata dst = metadata collision = label
191- └── ScanSet num_targets = 2 predicate [0 ]= GTE (builtin .timestamp , 2025 - 01 - 01 T00 :00 :00 Z ) predicate [1 ]= LT (builtin .timestamp , 2025 - 01 - 01 T01 :00 :00 Z ) predicate [2 ]= MATCH_STR (builtin .message , "baz" )
192- ├── @target type = ScanTypeDataObject location = objects / 00 / 0000000000. dataobj streams = 5 section_id = 1 projections = ()
193- └── @target type = ScanTypeDataObject location = objects / 00 / 0000000000. dataobj streams = 5 section_id = 0 projections = ()
194- `,
195- >>>>>>> twhitney/thor-unwrap
196179 },
197180 {
198181 comment : "drop columns" ,
199182 query : `{app="foo"} | drop service_name,__error__` ,
200183 expected : `
201184Limit offset=0 limit=1000
202185└── TopK sort_by=builtin.timestamp ascending=false nulls_first=false k=1000
203- <<<<<<< HEAD
204186 └── Parallelize
205187 └── TopK sort_by=builtin.timestamp ascending=false nulls_first=false k=1000
206188 └── Projection all=true drop=(ambiguous.service_name, ambiguous.__error__)
207189 └── Compat src=metadata dst=metadata collision=label
208190 └── ScanSet num_targets=2 predicate[0]=GTE(builtin.timestamp, 2025-01-01T00:00:00Z) predicate[1]=LT(builtin.timestamp, 2025-01-01T01:00:00Z)
209191 ├── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=1 projections=()
210192 └── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=0 projections=()
211- =======
212- └── Projection all=true drop=(ambiguous.service_name, ambiguous.__error__)
213- └── Parallelize
214- └── Compat src=metadata dst=metadata collision=label
215- └── ScanSet num_targets=2 predicate[0]=GTE(builtin.timestamp, 2025-01-01T00:00:00Z) predicate[1]=LT(builtin.timestamp, 2025-01-01T01:00:00Z)
216- ├── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=1 projections=()
217- └── @target type=ScanTypeDataObject location=objects/00/0000000000.dataobj streams=5 section_id=0 projections=()
218- >>>>>>> twhitney/thor-unwrap
219193 ` ,
220194 },
221195 }
0 commit comments