Re: Running UNION ALL queries in parallel

2019-04-20 Thread Julian Hyde
Yes it does. Only ORDER BY causes order. Julian > On Apr 20, 2019, at 12:17, Gian Merlino wrote: > > Hey Julian, > > I think it'd be fine to issue the queries in parallel with a few > adjustments. We'd want to avoid buffering, meaning we'd want to allow query > results to be mixed together (r

Re: Running UNION ALL queries in parallel

2019-04-20 Thread Gian Merlino
Hey Julian, I think it'd be fine to issue the queries in parallel with a few adjustments. We'd want to avoid buffering, meaning we'd want to allow query results to be mixed together (return rows in the order they become available, rather than in query order sequence). I believe the SQL standard al

Re: segment metadata query and concise/roaring bitmap

2019-04-20 Thread Gian Merlino
It sounds like a useful thing to me. Rather than the string 'concise' it probably makes sense to put the BitmapSerdeFactory object there, since that's what's responsible for reading the bitmaps and it should encapsulate all available information about them. (See DictionaryEncodedColumnPartSerde) O

Re: decompression time metric, ie `query/decompress/time`

2019-04-20 Thread Gian Merlino
I think it's nice for Druid's builtin metrics system to be somewhat comprehensive (or at least be able to, if you turn the right stuff on) since it makes measurement more generally accessible. On Fri, Apr 19, 2019 at 5:22 PM Charles Allen wrote: > We use the gcp profiler to get this kind of info