Skip to content

KYLIN-4055 cube quey and ad-hoc query return different meta info#715

Closed
javalife0312 wants to merge 1 commit intoapache:masterfrom
javalife0312:master
Closed

KYLIN-4055 cube quey and ad-hoc query return different meta info#715
javalife0312 wants to merge 1 commit intoapache:masterfrom
javalife0312:master

Conversation

@javalife0312
Copy link
Copy Markdown

when cube quey then jdbc meta is upper
when ad-hoc quey of presto then jdbc meta is lower

ResultSetMetaData::getColumnLabel
ResultSetMetaData::getColumnName

@asfgit
Copy link
Copy Markdown

asfgit commented Jun 25, 2019

Can one of the admins verify this patch?

@codecov-io
Copy link
Copy Markdown

Codecov Report

Merging #715 into master will increase coverage by <.01%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #715      +/-   ##
===========================================
+ Coverage      25.7%   25.7%   +<.01%     
  Complexity     6012    6012              
===========================================
  Files          1386    1386              
  Lines         82513   82515       +2     
  Branches      11568   11568              
===========================================
+ Hits          21206   21209       +3     
  Misses        59262   59262              
+ Partials       2045    2044       -1
Impacted Files Coverage Δ Complexity Δ
...ache/kylin/query/adhoc/PushDownRunnerJdbcImpl.java 0% <0%> (ø) 0 <0> (ø) ⬇️
...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java 70.21% <0%> (+0.91%) 7% <0%> (ø) ⬇️

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 9a72b9e...57446cb. Read the comment docs.

@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 4663

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

Changes Missing Coverage Covered Lines Changed/Added Lines %
query/src/main/java/org/apache/kylin/query/adhoc/PushDownRunnerJdbcImpl.java 0 3 0.0%
Files with Coverage Reduction New Missed Lines %
query/src/main/java/org/apache/kylin/query/adhoc/PushDownRunnerJdbcImpl.java 1 0.0%
core-cube/src/main/java/org/apache/kylin/cube/inmemcubing/MemDiskStore.java 3 78.42%
Totals Coverage Status
Change from base Build 4660: 0.002%
Covered Lines: 23256
Relevant Lines: 82515

💛 - Coveralls

// Fall back to default value
}

columnLabel = columnLabel.toUpperCase(Locale.ROOT);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Why do upper case convert here?
It seems that there is possibility "columnLabel" or "columnName" be null if SQLException caught.

@nichunen
Copy link
Copy Markdown

nichunen commented Sep 9, 2019

Will be done by #823

@nichunen nichunen closed this Sep 9, 2019
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.

5 participants