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

[ARCTIC-1603] The water mark is not displayed properly for tables without primary keys #1677

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

nicochen
Copy link
Contributor

Why are the changes needed?

fix #1603

Brief change log

For a table without a primary key, set the corresponding water mark according to whether there is a change mertic or not

How was this patch tested?

  • Add some test cases that check the changes thoroughly including negative and positive cases if possible

  • Add screenshots for manual tests if appropriate

  • Run test locally before making a pull request

Documentation

  • Does this pull request introduces a new feature? (no)

@github-actions github-actions bot added the module:ams-dashboard Ams dashboard module label Jul 10, 2023
@codecov
Copy link

codecov bot commented Jul 10, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.02 ⚠️

Comparison is base (5e1c7f5) 50.91% compared to head (e2ce9ce) 50.89%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1677      +/-   ##
============================================
- Coverage     50.91%   50.89%   -0.02%     
+ Complexity     3761     3760       -1     
============================================
  Files           467      467              
  Lines         25319    25321       +2     
  Branches       2585     2586       +1     
============================================
- Hits          12890    12886       -4     
- Misses        11259    11264       +5     
- Partials       1170     1171       +1     
Flag Coverage Δ
core 51.35% <0.00%> (-0.03%) ⬇️
trino 48.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...c/server/dashboard/controller/TableController.java 2.94% <0.00%> (-0.02%) ⬇️

... and 2 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@wangtaohz wangtaohz left a comment

Choose a reason for hiding this comment

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

LGTM

@zhoujinsong zhoujinsong merged commit 55a6011 into apache:master Aug 28, 2023
ShawHee pushed a commit to ShawHee/arctic that referenced this pull request Dec 29, 2023
…hout primary keys (apache#1677)

fix-master-1603

Co-authored-by: shendanfeng01 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:ams-dashboard Ams dashboard module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: The water mark is not displayed properly for tables without primary keys
3 participants