druid4net icon indicating copy to clipboard operation
druid4net copied to clipboard

SegmentMetadata request without Interval includes empty Interval by default

Open TomBonnerAtDerivitec opened this issue 2 years ago • 1 comments

Hihi

When making a SegmentMetadata request without a Interval call (which is optional to Druid) it includes "intervals":[] in the resulting call to Druid which invalidates the result.

It's an easy work-around to pass DateTime.Min and DateTime.Max, but thought I'd highlight this here. I'll try put a PR together to fix it.

TomBonnerAtDerivitec avatar Mar 08 '22 12:03 TomBonnerAtDerivitec

Thanks for pointing this out, a PR would be much appreciated.

QuantumNightmare avatar Mar 11 '22 01:03 QuantumNightmare