Skip to content

[HUDI-1000] Fix incremental query for COW non-partitioned table with no data#1708

Merged
leesf merged 4 commits intoapache:masterfrom
hj2016:master
Jun 8, 2020
Merged

[HUDI-1000] Fix incremental query for COW non-partitioned table with no data#1708
leesf merged 4 commits intoapache:masterfrom
hj2016:master

Conversation

@hj2016
Copy link
Contributor

@hj2016 hj2016 commented Jun 6, 2020

fix incremental query for COW non-partitioned table no data

jira url: https://issues.apache.org/jira/projects/HUDI/issues/HUDI-1000?filter=allopenissues

}
String incrementalInputPaths = partitionsToList.stream()
.map(s -> tableMetaClient.getBasePath() + Path.SEPARATOR + s)
.map(s -> "".equals(s) ? tableMetaClient.getBasePath() : tableMetaClient.getBasePath() + Path.SEPARATOR + s)
Copy link
Contributor

Choose a reason for hiding this comment

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

"".equals(s) would be changed to StringUtils.isNullOrEmpty

Copy link
Contributor

@leesf leesf left a comment

Choose a reason for hiding this comment

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

@hj2016 Thanks for your contributing, LTGM, will merge once the travis gives green light.

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2020

Codecov Report

Merging #1708 into master will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1708   +/-   ##
=========================================
  Coverage     18.19%   18.19%           
  Complexity      857      857           
=========================================
  Files           348      348           
  Lines         15358    15358           
  Branches       1525     1525           
=========================================
  Hits           2794     2794           
  Misses        12206    12206           
  Partials        358      358           
Impacted Files Coverage Δ Complexity Δ
...g/apache/hudi/hadoop/HoodieParquetInputFormat.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)

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 fb28393...081101d. Read the comment docs.

@leesf leesf changed the title [hudi-1000] fix incremental query for COW non-partitioned table no data [HUDI-1000] Fix incremental query for COW non-partitioned table with no data Jun 6, 2020
@leesf leesf self-assigned this Jun 8, 2020
@leesf leesf merged commit e0a5e0d into apache:master Jun 8, 2020
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.

3 participants