← Back to team overview

maria-developers team mailing list archive

Re: Extending storage engine API for random-row extraction for histogram collection (and others)


Hi Sergei!

> For the first iteration, after considering your input, I'd go with
> > "init function", "get random row", "end function", without imposing an
> > index, but somehow passing a (COND or similar) arg to the init
> > function.
> For the first iteration I'd go without a condition. You, probably
> shouldn't add an API that you won't use, and in the first iteration you
> won't use it, right? It can be added later when needed.

That's my dilemma, do we want to fiddle with the API frequently, as more
development work happens? If that's the case, I'll use the simplest
possible format that covers my use case for the time being.