Skip to content
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

Determine data type of vector agg at plan stage #6285

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

jnidzwetzki
Copy link
Contributor

@jnidzwetzki jnidzwetzki commented Nov 6, 2023

This patch adds the support for the dynamic detection of the data type for a vectorized aggregate. In addition, it removes the hard-coded integer data type and initializes the decompression_map properly. This also fixes an invalid memory access.


Failed Sanitizer run: https://github.com/timescale/timescaledb/actions/runs/6751417152/job/18355481965
Fixed Sanitizer run: https://github.com/timescale/timescaledb/actions/runs/6771930209/job/18403409265?pr=6285
Disable-check: force-changelog-file

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #6285 (6e5072e) into main (61f2606) will increase coverage by 0.05%.
Report is 21 commits behind head on main.
The diff coverage is 88.00%.

@@            Coverage Diff             @@
##             main    #6285      +/-   ##
==========================================
+ Coverage   65.29%   65.35%   +0.05%     
==========================================
  Files         247      247              
  Lines       57526    57637     +111     
  Branches    12784    12809      +25     
==========================================
+ Hits        37564    37670     +106     
- Misses      18070    18142      +72     
+ Partials     1892     1825      -67     
Files Coverage Δ
tsl/src/nodes/decompress_chunk/exec.c 91.68% <93.33%> (-1.25%) ⬇️
tsl/src/nodes/decompress_chunk/planner.c 87.83% <80.00%> (-0.43%) ⬇️

... and 97 files with indirect coverage changes

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@jnidzwetzki jnidzwetzki marked this pull request as ready for review November 6, 2023 15:46
@jnidzwetzki jnidzwetzki added this to the TimescaleDB 2.13 milestone Nov 6, 2023
@github-actions github-actions bot requested review from gayyappan and mahipv November 6, 2023 15:47
Copy link

github-actions bot commented Nov 6, 2023

@mahipv, @gayyappan: please review this pull request.

Powered by pull-review

@jnidzwetzki jnidzwetzki force-pushed the vectorized_add_datatype branch from d1c8124 to 27d773e Compare November 7, 2023 07:23
This patch adds the support for the dynamic detection of the data type
for a vectorized aggregate. In addition, it removes the hard-coded
integer data type and initializes the decompression_map properly. This
also fixes an invalid memory access.
@jnidzwetzki jnidzwetzki force-pushed the vectorized_add_datatype branch from 27d773e to 6e5072e Compare November 9, 2023 07:00
@jnidzwetzki jnidzwetzki enabled auto-merge (rebase) November 9, 2023 07:01
@jnidzwetzki jnidzwetzki merged commit ff88de9 into timescale:main Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants