Skip to content

Commit

Permalink
remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
elharo committed Mar 11, 2024
1 parent c1f0066 commit d9d300f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2855,7 +2855,7 @@ private void testPathHiddenColumn(Session session, HiveStorageFormat storageForm
String parentDirectory = new Path(pathName).getParent().toString();

assertTrue(pathName.length() > 0);
assertEquals((int) (col0 % 3), col1);
assertEquals(col0 % 3, col1);
if (partitionPathMap.containsKey(col1)) {
// the rows in the same partition should be in the same partition directory
assertEquals(partitionPathMap.get(col1), parentDirectory);
Expand Down

0 comments on commit d9d300f

Please sign in to comment.