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

Remove duplicate find_em_expr_for_rel function #2425

Merged
merged 3 commits into from Sep 21, 2020

Conversation

svenklemm
Copy link
Member

The functions find_em_expr_for_rel and ts_find_em_expr_for_rel are
identical. This patch removes find_em_expr_for_rel and changes all
call-sites to use ts_find_em_expr_for_rel.

@svenklemm svenklemm requested a review from a team as a code owner September 20, 2020 19:08
@svenklemm svenklemm requested review from mkindahl, WireBaron and gayyappan and removed request for a team September 20, 2020 19:08
@codecov
Copy link

codecov bot commented Sep 20, 2020

Codecov Report

Merging #2425 into master will increase coverage by 0.12%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2425      +/-   ##
==========================================
+ Coverage   89.97%   90.10%   +0.12%     
==========================================
  Files         213      213              
  Lines       34373    34316      -57     
==========================================
- Hits        30928    30921       -7     
+ Misses       3445     3395      -50     
Impacted Files Coverage Δ
src/catalog.h 100.00% <ø> (ø)
src/chunk_index.h 100.00% <ø> (ø)
src/dimension.c 95.41% <ø> (ø)
src/utils.c 80.05% <ø> (ø)
src/utils.h 44.44% <ø> (ø)
src/chunk_index.c 94.72% <100.00%> (-0.03%) ⬇️
tsl/src/fdw/deparse.c 63.34% <100.00%> (-0.12%) ⬇️
tsl/src/fdw/scan_plan.c 92.89% <100.00%> (+0.03%) ⬆️
src/loader/bgw_message_queue.c 87.09% <0.00%> (-0.65%) ⬇️
src/import/planner.c 70.30% <0.00%> (+11.12%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6d7d99a...4dcc791. Read the comment docs.

The functions find_em_expr_for_rel and ts_find_em_expr_for_rel are
identical. This patch removes find_em_expr_for_rel and changes all
call-sites to use ts_find_em_expr_for_rel.
Remove ts_dimension_info_create_open_interval_usec function because
it was no longer used. This patch also moves the add_dimension record
attribute numbers into the c file because it does not need to be
exported.
During refactoring continuous aggregates some function defintions
for functions that got removed were not removed from the header
file. Additionally a few other header files had function definitions
that no longer had an implementation or macros that were not used.
@svenklemm svenklemm merged commit e1a00eb into timescale:master Sep 21, 2020
@svenklemm svenklemm deleted the find_em_expr_for_rel branch April 18, 2021 14:23
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.

None yet

3 participants