You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "mushroom528 (via GitHub)" <gi...@apache.org> on 2024/08/07 23:36:54 UTC

[PR] [#4409] Improvement(JDBCBackend.java): replace switch with if statement [gravitino]

mushroom528 opened a new pull request, #4427:
URL: https://github.com/apache/gravitino/pull/4427

   ### What changes were proposed in this pull request?
   The switch in JDBCBackend.java (line 371) can be replaced by an if statement.
   
   ### Why are the changes needed?
   Improvement: https://github.com/apache/gravitino/issues/4409
   
   ### Does this PR introduce any user-facing change?
   NO
   
   ### How was this patch tested?
   Exist testers


-- 
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: [PR] [#4409] Improvement(JDBCBackend.java): replace switch with if statement [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed pull request #4427: [#4409] Improvement(JDBCBackend.java): replace switch with if statement
URL: https://github.com/apache/gravitino/pull/4427


-- 
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: [PR] [#4409] Improvement(JDBCBackend.java): replace switch with if statement [gravitino]

Posted by "mushroom528 (via GitHub)" <gi...@apache.org>.
mushroom528 commented on PR #4427:
URL: https://github.com/apache/gravitino/pull/4427#issuecomment-2274811769

   all right😊


-- 
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: [PR] [#4409] Improvement(JDBCBackend.java): replace switch with if statement [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #4427:
URL: https://github.com/apache/gravitino/pull/4427#issuecomment-2274803286

   Hi @mushroom528 thank a lot for your contribution. I think we deliberately chose switch..case instead of if..else here, because we will add more relation types here later on. So I think it isn't worth change. Still, thanks a lot for your contribution.


-- 
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: [PR] [#4409] Improvement(JDBCBackend.java): replace switch with if statement [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #4427:
URL: https://github.com/apache/gravitino/pull/4427#issuecomment-2274882863

   Thanks @mushroom528 for your understanding, I'm going to close this PR, you can work on other issues you're interested.


-- 
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