1. 30 1月, 2021 1 次提交
    • G
      Vectorized theta sketch aggregator + rework of VectorColumnProcessorFactory. (#10767) · 6c0c6e60
      Gian Merlino 提交于
      * Vectorized theta sketch aggregator.
      
      Also a refactoring of BufferAggregator and VectorAggregator such that
      they share a common interface, BaseBufferAggregator. This allows
      implementing both in the same file with an abstract + dual subclass
      structure.
      
      * Rework implementation to use composition instead of inheritance.
      
      * Rework things to enable working properly for both complex types and
      regular types.
      
      Involved finally moving makeVectorProcessor from DimensionHandlerUtils
      into ColumnProcessors and harmonizing the two things.
      
      * Add missing method.
      
      * Style and name changes.
      
      * Fix issues from inspections.
      
      * Fix style issue.
      6c0c6e60
  2. 29 1月, 2021 5 次提交
    • A
      Granularity interval materialization (#10742) · 0e4750ba
      Agustin Gonzalez 提交于
      * Prevent interval materialization for UniformGranularitySpec inside the overlord
      
      * Change API of bucketIntervals in GranularitySpec to return an Iterable<Interval>
      
      * Javadoc update, respect inputIntervals contract
      
      * Eliminate dependency on wrappedspec (i.e. ArbitraryGranularity) in UniformGranularitySpec
      
      * Added one boundary condition test to UniformGranularityTest and fixed Travis forbidden method errors in IntervalsByGranularity
      
      * Fix Travis style & other checks
      
      * Refactor TreeSet to facilitate re-use in UniformGranularitySpec
      
      * Make sure intervals are unique when there is no segment granularity
      
      * Style/bugspot fixes...
      
      * More travis checks
      
      * Add condensedIntervals method to GranularitySpec and pass it as needed to the lock method
      
      * Style & PR feedback
      
      * Fixed failing test
      
      * Fixed bug in IntervalsByGranularity iterator that it would return repeated elements (see added unit tests that were broken before this change)
      
      * Refactor so that we can get the condensed buckets without materializing the intervals
      
      * Get rid of GranularitySpec::condensedInputIntervals ... not needed
      
      * Travis failures fixes
      
      * Travis checkstyle fix
      
      * Edited/added javadoc comments and a method name (code review feedback)
      
      * Fixed jacoco coverage by moving class and adding more coverage
      
      * Avoid materializing the condensed intervals when locking
      
      * Deal with overlapping intervals
      
      * Remove code and use library code instead
      
      * Refactor intervals by granularity using the FluentIterable, add sanity checks
      
      * Change !hasNext() to inputIntervals().isEmpty()
      
      * Remove redundant lambda
      
      * Use materialized intervals here since this is outside the overlord (for performance)
      
      * Name refactor to reflect the fact that bucket intervals are sorted.
      
      * Style fixes
      
      * Removed redundant method and have condensedIntervalIterator throw IAE when element is null for consistency with other methods in this class (as well that null interval when condensing does not make sense)
      
      * Remove forbidden api
      
      * Move helper class inside common base class to reduce public space pollution
      0e4750ba
    • S
      f773497e
    • A
      Fix cardinality estimation (#10762) · 0080e333
      Abhishek Agarwal 提交于
      * Fix cardinality estimation
      
      * Add unit test
      
      * code coverage
      
      * fix typo
      0080e333
    • V
      Web console: Remove first / last suggestions (#10794) · 2a1e47af
      Vadim Ogievetsky 提交于
      * Remove first / last suggestions
      
      * remove commened out code
      2a1e47af
    • C
      bitwise math function expressions (#10605) · 2ce7b3dc
      Clint Wylie 提交于
      * expressions: adding bitwise expressions
      
      * double handling and vectorization
      
      * move conversion to Evals
      
      * revert unintended changes
      
      * less magic, split convert functions, fix parser for funny exponent doubles
      
      * fix spelling exceptions list
      
      * more spelling
      
      * fix grammar, add more test, fix docs
      
      * fix docs
      Co-authored-by: NMax Kaplan <max@maxkaplan.me>
      2ce7b3dc
  3. 27 1月, 2021 3 次提交
  4. 25 1月, 2021 2 次提交
  5. 23 1月, 2021 4 次提交
  6. 21 1月, 2021 1 次提交
    • G
      Retain order of AND, OR filter children. (#10758) · 8b808c48
      Gian Merlino 提交于
      * Retain order of AND, OR filter children.
      
      If we retain the order, it enables short-circuiting. People can put a
      more selective filter earlier in the list and lower the chance that
      later filters will need to be evaluated.
      
      Short-circuiting was working before #9608, which switched to unordered
      sets to solve a different problem. This patch tries to solve that
      problem a different way.
      
      This patch moves filter simplification logic from "optimize" to
      "toFilter", because that allows the code to be shared with Filters.and
      and Filters.or. The simplification has become more complicated and so
      it's useful to share it.
      
      This patch also removes code from CalciteCnfHelper that is no longer
      necessary because Filters.and and Filters.or are now doing the work.
      
      * Fixes for inspections.
      
      * Fix tests.
      
      * Back to a Set.
      8b808c48
  7. 17 1月, 2021 2 次提交
  8. 16 1月, 2021 2 次提交
  9. 15 1月, 2021 4 次提交
  10. 14 1月, 2021 5 次提交
  11. 13 1月, 2021 3 次提交
  12. 12 1月, 2021 1 次提交
  13. 11 1月, 2021 1 次提交
  14. 09 1月, 2021 6 次提交