Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit c2077a9

Browse files
authored
[sample_logs] don't filter out empty string, only nulls (#1315)
Partially fixes 1 panel. I don't uncomment the test, as another fix is needed for it to fully work.
1 parent 3b9c22d commit c2077a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/parsers/elastic_query_dsl/pancake_json_rendering.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ func (p *pancakeJSONRenderer) potentiallyRemoveExtraBucket(layer *pancakeModelLa
159159
for i, row := range bucketRows {
160160
for _, col := range row.Cols {
161161
if strings.HasPrefix(col.ColName, bucketKeyName) {
162-
if col.Value == nil || col.Value == "" { // TODO: replace with schema
162+
if col.Value == nil {
163163
nullRowToDelete = i
164164
break ROW
165165
}

0 commit comments

Comments
 (0)