Commit Graph

2112 Commits

Author SHA1 Message Date
Justin Borromeo fb858efbb7 Added test for n-way merge 2019-03-26 13:14:48 -07:00
Justin Borromeo 376e8bf906 Refactor n-way merge 2019-03-26 11:42:54 -07:00
Justin Borromeo 8a6bb1127c Fix docs and flipped boolean in ScanQueryLimitRowIterator 2019-03-25 17:17:41 -07:00
Justin Borromeo 35692680fc Fix bug messing up count of rows 2019-03-25 16:15:49 -07:00
Justin Borromeo 219af478c8 Fix bug in numRowsScanned 2019-03-25 15:57:55 -07:00
Justin Borromeo da4fc66403 Check type of segment spec before using for time ordering 2019-03-25 15:19:45 -07:00
Justin Borromeo b822fc73df Revert "Merge branch '6088-Time-Ordering-On-Scans-N-Way-Merge' of github.com:justinborromeo/incubator-druid into 6088-Time-Ordering-On-Scans-N-Way-Merge"
This reverts commit 57033f36df, reversing
changes made to 8f01d8dd16.
2019-03-25 13:19:02 -07:00
Justin Borromeo 86d9730fc9 Fixed failing tests -> allow usage of all types of segment spec 2019-03-25 11:01:35 -07:00
Justin Borromeo 8b3b6b51ed Nit comment 2019-03-22 16:01:56 -07:00
Justin Borromeo a87d02127c Fix checkstyle and test 2019-03-22 15:54:42 -07:00
Justin Borromeo 62dcedacde More comments 2019-03-22 15:30:41 -07:00
Justin Borromeo 1b46b58aec Added a bit of docs 2019-03-22 15:19:52 -07:00
Justin Borromeo 49472162b7 Rename segment limit -> segment partitions limit 2019-03-22 10:27:41 -07:00
Justin Borromeo 43d490cc3a Optimized n-way merge strategy 2019-03-21 13:16:58 -07:00
Justin Borromeo 42f5246b8d Smarter limiting for pQueue method 2019-03-20 18:25:31 -07:00
Justin Borromeo 4823dab895 Finish rename 2019-03-20 16:05:53 -07:00
Justin Borromeo 2528a56142 Renaming 2019-03-18 14:00:50 -07:00
Justin Borromeo 7bfa77d3c1 Merge branch 'Update-Query-Interrupted-Exception' into 6088-Time-Ordering-On-Scans-N-Way-Merge 2019-03-12 16:57:45 -07:00
Justin Borromeo 7e49d47391 Added error message for UOE 2019-03-12 16:51:25 -07:00
Justin Borromeo a032c46ee0 Updated error message 2019-03-12 16:47:17 -07:00
Justin Borromeo 57b5682654 Fixed tests 2019-03-12 12:44:02 -07:00
Justin Borromeo 45e95bb1f4 Optimization 2019-03-12 11:09:08 -07:00
Gian Merlino 4290e5ae7a Cache selectors in QueryableIndexColumnSelectorFactory. (#7216)
For selectors with internal caches (like SingleScanTimeDimensionSelector,
SingleLongInputCachingExpressionColumnValueSelector, etc) we can get a perf
boost and memory usage decrease by sharing selectors.
2019-03-11 11:33:01 -07:00
Jihoon Son 9bebf113ba
Fix race in historical when loading segments in parallel (#7203)
* Fix race in historical when loading segments in parallel

* revert unnecessary change

* remove synchronized

* add reference counting locking

* fix build

* fix comment
2019-03-08 17:54:05 -08:00
Justin Borromeo cce917ab84 Checkstyle fix 2019-03-08 14:11:07 -08:00
Justin Borromeo 73f4038068 Applied Jon's recommended changes 2019-03-07 18:40:00 -08:00
Justin Borromeo fb966def83 Sorry, checkstyle 2019-03-07 11:03:01 -08:00
Justin Borromeo 6dc53b311c Improved test and appeased TeamCity 2019-03-06 10:34:13 -08:00
Jonathan Wei 5486c2abf8
Update LICENSE and NOTICE files (#7026)
* Update LICENSE and NOTICE files

* Update react-table version
2019-03-04 18:45:22 -08:00
Justin Borromeo 35c96d3557 Checkstyle fix 2019-03-04 16:00:44 -08:00
Justin Borromeo 83ec3fe1f1 Nit-change on javadoc 2019-03-01 13:40:22 -08:00
Justin Borromeo 47c970b5f4 Wrote tests and added Javadoc 2019-03-01 13:38:29 -08:00
Justin Borromeo 5ff59f5ca6 Reset config 2019-02-28 15:58:20 -08:00
Justin Borromeo 806166f977 Fixed failing tests 2019-02-28 15:49:07 -08:00
Justin Borromeo 5bd0e1a32c Merge branch 'master' into 6088-Time-Ordering-On-Scans-N-Way-Merge 2019-02-26 16:39:16 -08:00
Justin Borromeo 18cce9a646 Change so batching only occurs on broker for time-ordered scans
Restricted batching to broker for time-ordered queries and adjusted
tests

Formatting

Cleanup
2019-02-26 16:27:15 -08:00
Clint Wylie 9fa649b3bd segment metadata fallback analysis if no bitmaps (#7116)
* segment metadata fallback analysis if no bitmaps

* remove accidental line

* remove nonsense size estimation

* less ternary

* fix it

* do the thing
2019-02-26 11:27:41 -08:00
Justin Borromeo 451e2b4365 WIP 2019-02-26 11:14:27 -08:00
Himanshu Pandey 8b803cbc22 Added checkstyle for "Methods starting with Capital Letters" (#7118)
* Added checkstyle for "Methods starting with Capital Letters" and changed the method names violating this.

* Un-abbreviate the method names in the calcite tests

* Fixed checkstyle errors

* Changed asserts position in the code
2019-02-23 20:10:31 -08:00
Justin Borromeo 763c43df7e Multi-historical setup works 2019-02-22 18:07:06 -08:00
Justin Borromeo 06a5218917 Wrote docs 2019-02-22 16:59:57 -08:00
Justin Borromeo 3b923dac9c Fixed bug introduced by replacing deque with list 2019-02-22 14:03:22 -08:00
Justin Borromeo 023538d831 Sequence stuff is so dirty :( 2019-02-22 13:30:08 -08:00
Justin Borromeo e1fc2955d3 WIP 2019-02-22 10:39:59 -08:00
Justin Borromeo f57ff253fa Ordering is correct on n-way merge -> still need to batch events into
ScanResultValues
2019-02-21 18:22:06 -08:00
Justin Borromeo 1813a5472c Cleanup 2019-02-21 17:06:18 -08:00
Justin Borromeo f83e99655d Refactor and pQueue works 2019-02-21 16:56:36 -08:00
Justin Borromeo b13ff624a9 Set up time ordering strategy decision tree 2019-02-21 15:13:33 -08:00
Justin Borromeo fba6b022f0 Added config and get # of segments 2019-02-21 15:08:27 -08:00
Justin Borromeo c9142e721c Merge branch 'master' into 6088-Time-Ordering-On-Scans-V2 2019-02-20 10:12:50 -08:00