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

Add test for dimensions view #2419

Merged
merged 1 commit into from Sep 21, 2020
Merged

Add test for dimensions view #2419

merged 1 commit into from Sep 21, 2020

Conversation

gayyappan
Copy link
Contributor

Create more than 2 dimensions and verify
that dimensions view displays information correctly.

@@ -39,15 +39,22 @@ SELECT setseed(1);

(1 row)

CREATE TABLE dist_table(time timestamptz, device int, temp float);
CREATE TABLE dist_table(time timestamptz, device int, temp float, timdim date);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you make time and timdim NOT NULL, this will get rid of the NOTICEs and remove some noise

@gayyappan gayyappan marked this pull request as ready for review September 18, 2020 19:08
@gayyappan gayyappan requested a review from a team as a code owner September 18, 2020 19:08
@gayyappan gayyappan requested review from pmwkaa, mkindahl, WireBaron and svenklemm and removed request for a team September 18, 2020 19:08
@@ -39,15 +39,20 @@ SELECT setseed(1);

(1 row)

CREATE TABLE dist_table(time timestamptz, device int, temp float);
CREATE TABLE dist_table(time timestamptz NOT NULL, device int, temp float, timdim date NOT NULL);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to call that column timedim instead of timdim just sounds a bit weird

@codecov
Copy link

codecov bot commented Sep 18, 2020

Codecov Report

Merging #2419 into master will increase coverage by 0.18%.
The diff coverage is 95.40%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2419      +/-   ##
==========================================
+ Coverage   89.95%   90.13%   +0.18%     
==========================================
  Files         213      213              
  Lines       34354    34328      -26     
==========================================
+ Hits        30904    30943      +39     
+ Misses       3450     3385      -65     
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/time_utils.c 98.12% <88.88%> (+0.04%) ⬆️
tsl/src/bgw_policy/continuous_aggregate_api.c 92.19% <96.42%> (+0.28%) ⬆️
src/bgw/job.c 95.07% <96.96%> (+0.28%) ⬆️
src/chunk_index.c 94.72% <100.00%> (-0.03%) ⬇️
tsl/src/chunk_api.c 94.54% <100.00%> (+0.01%) ⬆️
... and 8 more

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 c321fe0...5cbad22. Read the comment docs.

Create more than 2 dimensions and verify
that dimensions view displays information correctly.
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

4 participants