You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "justinmclean (via GitHub)" <gi...@apache.org> on 2025/08/15 02:56:59 UTC
[I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
justinmclean opened a new issue, #8110:
URL: https://github.com/apache/gravitino/issues/8110
### What would you like to be improved?
The issue is here:
```
&& (scheme == null ? that.authority == null : scheme.equals(that.scheme))
&& (authority == null ? that.authority == null : authority.equals(that.authority))
```
Here's a unit test for it:
```
@Test
public void testEqualsWhenSchemeIsNull() {
Map<String, String> conf = Collections.singletonMap("key", "val");
FilesetCatalogOperations.FileSystemCacheKey key1 =
new FilesetCatalogOperations.FileSystemCacheKey(null, "auth", conf);
FilesetCatalogOperations.FileSystemCacheKey key2 =
new FilesetCatalogOperations.FileSystemCacheKey(null, "auth", conf);
assertEquals(key1, key2);
assertEquals(key1.hashCode(), key2.hashCode());
}
```
### How should we improve?
Use that.scheme not that.authority in the first line.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "yuqi1129 (via GitHub)" <gi...@apache.org>.
yuqi1129 closed issue #8110: [Improvement] Error in equals in FilesetCatalogOperations.java
URL: https://github.com/apache/gravitino/issues/8110
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3194700332
@Raj-G07 While I appreciate your enthusiasm, to avoid conflicts and duplicated effort, please don’t work on issues that are already assigned to others.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3190642138
It's yours, as usual if you need any help, just ask.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3194701366
However, if an issue has been open for a couple of weeks without any progress, please feel free to ask whether you can work on it, but please make sure to ask first before working on it.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "Raj-G07 (via GitHub)" <gi...@apache.org>.
Raj-G07 commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3194149425
@JeonDaehong Since it had a couple of days, I wasn’t sure if work had started yet, so I went ahead and solved this issue.
Could you please take a look at #8132 instead?
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "Raj-G07 (via GitHub)" <gi...@apache.org>.
Raj-G07 commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3193627542
Attempt : #8110
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "JeonDaehong (via GitHub)" <gi...@apache.org>.
JeonDaehong commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3190605193
Please assign it to me. Thank you.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "JeonDaehong (via GitHub)" <gi...@apache.org>.
JeonDaehong commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3194892134
@justinmclean
Thank you for letting me know.
I plan to resolve this issue within this week.
Thank you.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Improvement] Error in equals in FilesetCatalogOperations.java [gravitino]
Posted by "JeonDaehong (via GitHub)" <gi...@apache.org>.
JeonDaehong commented on issue #8110:
URL: https://github.com/apache/gravitino/issues/8110#issuecomment-3194144141
@Raj-G07
I am assigned to this issue and currently working on it.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org