Seddryck / NBi

NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile your test suite. Just create an Xml file and let the framework interpret it and play your tests. The framework is designed as an add-on of NUnit but with the possibility to port it easily to other testing frameworks.
http://www.nbi.io
Apache License 2.0
107 stars 37 forks source link

Extend "Summarize" to support creation of bucket based on non-strict equality for dateTime formats #656

Open Seddryck opened 3 years ago

Seddryck commented 3 years ago

At the moment, it's possible to create buckets with the help of group-by. When dealing with time-series and willing to aggregate all elements by buckets of one day or one hour or one month, it's requiring to apply first transformations to the column representing the dateTime and then perform the group-by. It would be helpful to be able to have a shortcut to do this.

<summarize>
   <average column="price" type="numeric"/>
   <sample-by>
      <duration alignment="calendar">01:00:00</duration>
      <column identifier="timestamp"/>
   </sample-by>
</summarize>

The duration could be set on