From 1379cbbcd6f6fc56cd682c152a564c2d766075fa Mon Sep 17 00:00:00 2001 From: Yuce Tekol Date: Fri, 31 May 2019 17:35:50 +0300 Subject: [PATCH] remove unused code --- executor.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/executor.go b/executor.go index 9f0ee8dac..8b07f9c9c 100644 --- a/executor.go +++ b/executor.go @@ -785,9 +785,6 @@ func (e *executor) executeMaxShard(ctx context.Context, index string, c *pql.Cal // executeMaxRowShard returns the minimum row ID for a shard. func (e *executor) executeMaxRowShard(ctx context.Context, index string, c *pql.Call, shard uint64) (Pair, error) { - span, ctx := tracing.StartSpanFromContext(ctx, "Executor.executeMaxRowShard") - defer span.Finish() - fieldName, _ := c.Args["field"].(string) field := e.Holder.Field(index, fieldName) if field == nil {