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

KYLIN-4929 skip update metrics for queries that hit no realization #1605

Merged
merged 2 commits into from
Mar 11, 2021

Conversation

xiacongling
Copy link

@xiacongling xiacongling commented Mar 10, 2021

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request. If it fixes a bug or resolves a feature request, be sure to link to that issue.

Types of changes

What types of changes does your code introduce to Kylin?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have create an issue on Kylin's jira, and have described the bug/feature there in detail
  • Commit messages in my PR start with the related jira ID, like "KYLIN-0000 Make Kylin project open-source"
  • Compiling and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • If this change need a document change, I will prepare another pr against the document branch
  • Any dependent changes have been merged

@codecov-io
Copy link

Codecov Report

Merging #1605 (6fdcaac) into master (0250081) will decrease coverage by 0.01%.
The diff coverage is 7.14%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #1605      +/-   ##
============================================
- Coverage     25.42%   25.40%   -0.02%     
+ Complexity     6765     6764       -1     
============================================
  Files          1508     1508              
  Lines         93918    93925       +7     
  Branches      13158    13161       +3     
============================================
- Hits          23877    23865      -12     
- Misses        67662    67678      +16     
- Partials       2379     2382       +3     
Impacted Files Coverage Δ Complexity Δ
.../java/org/apache/kylin/common/KylinConfigBase.java 12.46% <0.00%> (ø) 51.00 <0.00> (ø)
...che/kylin/storage/gtrecord/CubeTupleConverter.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...e/kylin/rest/controller/StreamingV2Controller.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../apache/kylin/rest/metrics/QueryMetricsFacade.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...apache/kylin/storage/hbase/HBaseResourceStore.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...lin/stream/core/query/StreamingTupleConverter.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
...lin/stream/source/kafka/TimedJsonStreamParser.java 67.39% <0.00%> (ø) 12.00 <0.00> (ø)
...stream/core/query/MultiThreadsResultCollector.java 63.91% <66.66%> (+0.37%) 4.00 <0.00> (ø)
...g/apache/kylin/metrics/lib/impl/MetricsSystem.java 60.00% <0.00%> (-8.34%) 17.00% <0.00%> (ø%)
...he/kylin/dict/lookup/cache/RocksDBLookupTable.java 72.97% <0.00%> (-5.41%) 6.00% <0.00%> (-1.00%)
... and 5 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 3f3f114...6fdcaac. Read the comment docs.

@coveralls
Copy link

coveralls commented Mar 10, 2021

Pull Request Test Coverage Report for Build 6957

  • 0 of 3 (0.0%) changed or added relevant lines in 2 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.002%) to 27.957%

Changes Missing Coverage Covered Lines Changed/Added Lines %
server-base/src/main/java/org/apache/kylin/rest/metrics/QueryMetrics2Facade.java 0 1 0.0%
server-base/src/main/java/org/apache/kylin/rest/metrics/QueryMetricsFacade.java 0 2 0.0%
Files with Coverage Reduction New Missed Lines %
stream-core/src/main/java/org/apache/kylin/stream/core/storage/columnar/ColumnarStoreCache.java 1 56.82%
Totals Coverage Status
Change from base Build 6948: 0.002%
Covered Lines: 26259
Relevant Lines: 93925

💛 - Coveralls

@xiacongling xiacongling changed the title skip update metrics for queries that hit no realization KYLIN-4929 skip update metrics for queries that hit no realization Mar 10, 2021
Copy link
Member

@hit-lacus hit-lacus left a comment

Choose a reason for hiding this comment

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

Approved

@hit-lacus hit-lacus merged commit 448d38a into apache:master Mar 11, 2021
hit-lacus pushed a commit to hit-lacus/kylin that referenced this pull request Apr 19, 2021
…pache#1605)

* skip update metrics for queries that hit no realization

* use string empty check
zhangayqian pushed a commit to zhangayqian/kylin that referenced this pull request Jun 11, 2021
…pache#1605)

* skip update metrics for queries that hit no realization

* use string empty check

(cherry picked from commit 448d38a)
zhangayqian pushed a commit to zhangayqian/kylin that referenced this pull request Jun 11, 2021
…pache#1605)

* skip update metrics for queries that hit no realization

* use string empty check

(cherry picked from commit 448d38a)
hit-lacus pushed a commit that referenced this pull request Jun 27, 2021
…1605)

* skip update metrics for queries that hit no realization

* use string empty check

(cherry picked from commit 448d38a)
zhangayqian pushed a commit that referenced this pull request Nov 5, 2021
…1605)

* skip update metrics for queries that hit no realization

* use string empty check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
5 participants