Repository navigation
Add LTTB downsampling as a built-in Table Model table function #18725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
DaZuiZui
wants to merge
37
commits into
apache:master
Choose a base branch
from
DaZuiZui:feat/lttb-table-function
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+5,963
−46
Open
Changes from 13 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
1284723
feat(table): add LTTB table function
DaZuiZui 472494e
fix(table): bound LTTB overlapping window buffer memory
DaZuiZui b2f9b77
fix(table): correct LTTB memory bounds and sparse sampling
DaZuiZui 4074d36
fix(table): preserve LTTB integer precision and guard window bounds
DaZuiZui edbb76a
fix(table): handle LTTB sampling and count-window overflow
DaZuiZui 98730f3
fix(lttb): reject duplicate timestamps with 701 and keep non-finite v…
DaZuiZui 1e3e8a9
Merge remote-tracking branch 'origin/feat/lttb-table-function' into f…
DaZuiZui cb52833
test(lttb): source duplicate timestamps from a real table in the 701 IT
DaZuiZui 5cdb336
fix(lttb): address review findings on the LTTB table function
DaZuiZui 213393e
docs(lttb): state the settled SIZE-mode semantics and cover the bound…
DaZuiZui b7c5a83
fix(lttb): move the memory budget out of the UDF API and run LTTB ove…
DaZuiZui 578a2bf
Merge remote-tracking branch 'upstream/master' into feat/lttb-table-f…
DaZuiZui 9a10836
test(lttb): reject duplicates that span distributed fragments
DaZuiZui 979cd06
fix(lttb): use one lookahead rule and cover the review gaps
DaZuiZui 87b58e8
test(lttb): cover the non-finite lookahead case for N => 4
DaZuiZui 3660c70
fix(lttb): stream windows when a column has a single eligible point
DaZuiZui 640d402
fix(lttb): release closed windows that can never emit a row
DaZuiZui 160bc71
fix(lttb): keep the anchor when a window bucket has no finite candidate
DaZuiZui 5f96d40
refactor(lttb): merge hasExactValue into isFiniteValue
DaZuiZui 0e173d9
fix(lttb): validate ORIGIN in analyze() and pin the budget accounting
DaZuiZui 5ed7032
fix(lttb): tell an explicit ORIGIN from the default by presence, not …
DaZuiZui 41b7abf
Merge remote-tracking branch 'origin/master' into feat/lttb-table-fun…
DaZuiZui db7fa8c
fix(lttb): count the buffer once so 1C1D fragments fit
DaZuiZui ed14769
fix(lttb): keep both memory sides and shrink the default budget
DaZuiZui 1f10277
style(lttb): wrap the memory budget javadoc for spotless
DaZuiZui 3fd90df
fix(lttb): shrink the IT buffers so consecutive queries fit
DaZuiZui e8a776b
Merge master and adapt LTTB to shared ascending-order validation
DaZuiZui 6e4f00f
Bound LTTB output batches and fix window retention, timestamps and in…
DaZuiZui 195e851
Fix LTTB floating-point selection and bound output batches
DaZuiZui c99260f
Fix LTTB singleton window retention and target count type validation
DaZuiZui f7318ea
Validate LTTB window argument types and emit single finite candidates
DaZuiZui 5421cac
Avoid retaining unnecessary LTTB windows for sparse input
DaZuiZui ba1e2b1
Fix LTTB sparse count windows and origin validation
DaZuiZui 9d02a19
Fix LTTB overlapping window retention and account for column state
DaZuiZui 5dcf4fd
Fix LTTB sparse window buffering and SQL argument resolution
DaZuiZui 160f7fa
Cover LTTB sparse tails and qualified table argument keys
DaZuiZui bcbd337
Defer overlapping LTTB windows for first eligible points
DaZuiZui File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
513 changes: 513 additions & 0 deletions
513
...ion-test/src/test/java/org/apache/iotdb/relational/it/db/it/IoTDBLTTBTableFunctionIT.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.