Skip to content

Commit

Permalink
Removed extra checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mference committed Jan 2, 2025
1 parent 8a5853a commit 7347111
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ case class Function(name: String, allParams: Seq[Expression]) extends Expression
val instantFunctionIdOpt = InstantFunctionId.withNameInsensitiveOption(name)
val filoFunctionIdOpt = FiloFunctionId.withNameInsensitiveOption(name)
val scalarFunctionIdOpt = ScalarFunctionId.withNameInsensitiveOption(name)
val miscellaneousFunctionId = MiscellaneousFunctionId.withNameInsensitiveOption(name);
if (vectorFn.isDefined) {
allParams.head match {
case num: ScalarExpression => val params = RangeParams(timeParams.start, timeParams.step, timeParams.end)
Expand Down Expand Up @@ -139,11 +138,7 @@ case class Function(name: String, allParams: Seq[Expression]) extends Expression
case FiloFunctionId.ChunkMetaAll => // Just get the raw chunk metadata
RawChunkMeta(rangeSelector, filters, column.getOrElse(""))
}
} else if(miscellaneousFunctionId.isDefined) { //
toSeriesPlanMisc(seriesParam, otherParams, timeParams) // need to update this logic
}
else toSeriesPlanMisc(seriesParam, otherParams, timeParams)
}
} else toSeriesPlanMisc(seriesParam, otherParams, timeParams)
}
}

Expand Down

0 comments on commit 7347111

Please sign in to comment.