[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-22 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17114471#comment-17114471
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

shaofengshi closed pull request #1223:
URL: https://github.com/apache/kylin/pull/1223


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-22 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17114470#comment-17114470
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

shaofengshi commented on pull request #1223:
URL: https://github.com/apache/kylin/pull/1223#issuecomment-632961965


   As it is similar with https://github.com/apache/kylin/pull/1024, I have 
merged #1024, and close this.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-22 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17114187#comment-17114187
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

guangxuCheng commented on pull request #1223:
URL: https://github.com/apache/kylin/pull/1223#issuecomment-632762551


   @shaofengshi yes,It is a duplicate of #1024,I'm sorry I didn't notice this 
PR before.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-22 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17114140#comment-17114140
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

shaofengshi commented on pull request #1223:
URL: https://github.com/apache/kylin/pull/1223#issuecomment-632746333


   Hi Guangxu,
   
   It seems this is very similar with https://github.com/apache/kylin/pull/1024
   
   Could you please check that? Thanks!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-20 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17112154#comment-17112154
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

coveralls commented on pull request #1223:
URL: https://github.com/apache/kylin/pull/1223#issuecomment-631453108


   ## Pull Request Test Coverage Report for [Build 
5922](https://coveralls.io/builds/30917011)
   
   * **0** of **13**   **(0.0%)**  changed or added relevant lines in **1** 
file are covered.
   * **6** unchanged lines in **3** files lost coverage.
   * Overall coverage decreased (**-0.004%**) to **27.29%**
   
   ---
   
   |  Changes Missing Coverage | Covered Lines | Changed/Added Lines | % |
   | :-|--||---: |
   | 
[source-hive/src/main/java/org/apache/kylin/source/hive/BeelineHiveClient.java](https://coveralls.io/builds/30917011/source?filename=source-hive%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fsource%2Fhive%2FBeelineHiveClient.java#L138)
 | 0 | 13 | 0.0%
   
   
   |  Files with Coverage Reduction | New Missed Lines | % |
   | :-|--|--: |
   | 
[core-dictionary/src/main/java/org/apache/kylin/dict/lookup/cache/RocksDBLookupTable.java](https://coveralls.io/builds/30917011/source?filename=core-dictionary%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fdict%2Flookup%2Fcache%2FRocksDBLookupTable.java#L62)
 | 1 | 81.08% |
   | 
[core-cube/src/main/java/org/apache/kylin/cube/cuboid/TreeCuboidScheduler.java](https://coveralls.io/builds/30917011/source?filename=core-cube%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fcube%2Fcuboid%2FTreeCuboidScheduler.java#L124)
 | 2 | 68.46% |
   | 
[core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java](https://coveralls.io/builds/30917011/source?filename=core-cube%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fkylin%2Fcube%2Finmemcubing%2FMemDiskStore.java#L449)
 | 3 | 78.42% |
   
   
   |  Totals | [![Coverage 
Status](https://coveralls.io/builds/30917011/badge)](https://coveralls.io/builds/30917011)
 |
   | :-- | --: |
   | Change from base [Build 5911](https://coveralls.io/builds/30861301): |  
-0.004% |
   | Covered Lines: | 24352 |
   | Relevant Lines: | 89234 |
   
   ---
   #   - [Coveralls](https://coveralls.io)
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-20 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17112146#comment-17112146
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

codecov-commenter commented on pull request #1223:
URL: https://github.com/apache/kylin/pull/1223#issuecomment-631449950


   # [Codecov](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=h1) Report
   > Merging 
[#1223](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=desc) into 
[master](https://codecov.io/gh/apache/kylin/commit/7886a2498178ded085497d6204b4b367f56ce0c8=desc)
 will **decrease** coverage by `0.00%`.
   > The diff coverage is `0.00%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/kylin/pull/1223/graphs/tree.svg?width=650=150=pr=JawVgbgsVo)](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=tree)
   
   ```diff
   @@ Coverage Diff  @@
   ## master#1223  +/-   ##
   
   - Coverage 24.85%   24.84%   -0.01% 
   + Complexity 6266 6264   -2 
   
 Files  1453 1453  
 Lines 8922589234   +9 
 Branches  1245612459   +3 
   
   - Hits  2217522171   -4 
   - Misses6487464885  +11 
   - Partials   2176 2178   +2 
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=tree) | Coverage 
Δ | Complexity Δ | |
   |---|---|---|---|
   | 
[...rg/apache/kylin/source/hive/BeelineHiveClient.java](https://codecov.io/gh/apache/kylin/pull/1223/diff?src=pr=tree#diff-c291cmNlLWhpdmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL3NvdXJjZS9oaXZlL0JlZWxpbmVIaXZlQ2xpZW50LmphdmE=)
 | `3.63% <0.00%> (-0.21%)` | `5.00 <0.00> (ø)` | |
   | 
[...he/kylin/dict/lookup/cache/RocksDBLookupTable.java](https://codecov.io/gh/apache/kylin/pull/1223/diff?src=pr=tree#diff-Y29yZS1kaWN0aW9uYXJ5L3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9kaWN0L2xvb2t1cC9jYWNoZS9Sb2Nrc0RCTG9va3VwVGFibGUuamF2YQ==)
 | `72.97% <0.00%> (-5.41%)` | `6.00% <0.00%> (-1.00%)` | |
   | 
[...org/apache/kylin/rest/util/QueryRequestLimits.java](https://codecov.io/gh/apache/kylin/pull/1223/diff?src=pr=tree#diff-c2VydmVyLWJhc2Uvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL3Jlc3QvdXRpbC9RdWVyeVJlcXVlc3RMaW1pdHMuamF2YQ==)
 | `35.71% <0.00%> (-4.77%)` | `5.00% <0.00%> (-1.00%)` | |
   | 
[.../apache/kylin/cube/cuboid/TreeCuboidScheduler.java](https://codecov.io/gh/apache/kylin/pull/1223/diff?src=pr=tree#diff-Y29yZS1jdWJlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9jdWJlL2N1Ym9pZC9UcmVlQ3Vib2lkU2NoZWR1bGVyLmphdmE=)
 | `63.84% <0.00%> (-2.31%)` | `0.00% <0.00%> (ø%)` | |
   | 
[...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java](https://codecov.io/gh/apache/kylin/pull/1223/diff?src=pr=tree#diff-Y29yZS1jdWJlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9jdWJlL2lubWVtY3ViaW5nL01lbURpc2tTdG9yZS5qYXZh)
 | `70.21% <0.00%> (+0.91%)` | `7.00% <0.00%> (ø%)` | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=footer). Last 
update 
[7886a24...a462843](https://codecov.io/gh/apache/kylin/pull/1223?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4509) get hive table rows from metadata when using beeline

2020-05-20 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17112114#comment-17112114
 ] 

ASF GitHub Bot commented on KYLIN-4509:
---

guangxuCheng opened a new pull request #1223:
URL: https://github.com/apache/kylin/pull/1223


   ## 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](https://issues.apache.org/jira/browse/KYLIN), and have described the 
bug/feature there in detail
   - [ ] Commit messages in my PR start with the related jira ID, like 
"KYLIN- 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
   
   ## Further comments
   
   If this is a relatively large or complex change, kick off the discussion at 
user@kylin or dev@kylin by explaining why you chose the solution you did and 
what alternatives you considered, etc...
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> get hive table rows from metadata when using beeline
> 
>
> Key: KYLIN-4509
> URL: https://issues.apache.org/jira/browse/KYLIN-4509
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v2.6.5, v3.0.1
>Reporter: Guangxu Cheng
>Assignee: Guangxu Cheng
>Priority: Major
>
> Now by running SQL "select count(*) from table" to get the number of the hive 
> table records, the performance is relatively poor and will consume a lot of 
> resources. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)