drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hanifi Gunes <hgu...@maprtech.com>
Subject Re: DRILL-1205, splitAndTransfer issues in repeated types.
Date Tue, 11 Nov 2014 21:44:48 GMT
Right. It makes sense to splitAndTransfer underlying vector starting from
startPos and not startIndex. This seems like a bug. Beyond that it looks
good to me.


On Mon, Nov 10, 2014 at 10:01 PM, Jacques Nadeau <jacques@apache.org> wrote:

> Hey Hanifi, or anyone.
> I'm reviewing an issue with RepeatedMapVector where we need to implement
> splitAndTransfer.  While doing so, I ran across what appears to be a bug in
> splitAndTransfer for repeated scalar values.  Basically, if you look at
> line 108 of RepeatedValueVectors, we transfer starting from the startIndex
> position.  It seems this should be based on using startPos instead of
> startIndex.  I understand where you corrected (rewrote/normalized the
> offset values) but I don't see why you would have transferred starting at
> an offset vector index rather than a value index.
> thanks,
> jacques

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message