Skip to content
This repository has been archived by the owner on Apr 4, 2021. It is now read-only.

FALCON-2038 When all Optional input instances are missing, partition should not be suffixed. #191

Closed
wants to merge 1 commit into from

Conversation

pallavi-rao
Copy link

Updated code and UT.

@@ -168,6 +168,8 @@ public void testDataInOptional(String expuris, String partition, String doneFlag
"*/US", "_DONE", },
// With availability flag. All instances missing
{"hdfs://localhost:8020/projects/falcon/staging/EMPTY_DIR_DONT_DELETE", "null", "_FINISH"},
// With availability flag and partitions. All instances missing
{"hdfs://localhost:8020/projects/falcon/staging/EMPTY_DIR_DONT_DELETE", "*", "_FINISH"},
Copy link
Contributor

Choose a reason for hiding this comment

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

what in case of multi level partitions?

Copy link
Author

Choose a reason for hiding this comment

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

Code path is the same, whether there is one partition or multi-level. Whether I use * or //* in UT, the result will be same.

@PraveenAdlakha
Copy link
Contributor

+1

1 similar comment
@sandeepSamudrala
Copy link
Contributor

👍

@peeyushb
Copy link
Contributor

Looks good. +1 .

@asfgit asfgit closed this in 3abefcc Jun 21, 2016
asfgit pushed a commit that referenced this pull request Jun 21, 2016
…should not be suffixed.

Updated code and UT.

Author: Pallavi Rao <pallavi.rao@inmobi.com>

Reviewers: @PraveenAdlakha, @sandeepSamudrala, @peeyushb

Closes #191 from pallavi-rao/2038

(cherry picked from commit 3abefcc)
Signed-off-by: Pallavi Rao <pallavi.rao@inmobi.com>
pallavi-rao pushed a commit to pallavi-rao/falcon that referenced this pull request Feb 16, 2018
…should not be suffixed.

Updated code and UT.

Author: Pallavi Rao <pallavi.rao@inmobi.com>

Reviewers: @PraveenAdlakha, @sandeepSamudrala, @peeyushb

Closes apache#191 from pallavi-rao/2038
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
4 participants