You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
justinmclean
changed the title
[Improvement] Gavititine CLI should exit with -1 if an error is encounted
[Improvement] Gravitino CLI should exit with -1 if an error is encounted
Dec 18, 2024
…pache#5903)
### What changes were proposed in this pull request?
Changed to exit with -1 if an error occurs. Not that testing code that
calls System.exit can be difficult, so during testing it thows an
exception and doesn't exit the VM.
Testing also uncovered one bug in updating column default values and
this was fixed.
### Why are the changes needed?
So scripts can test if the gcli command works.
Fix: apache#5896
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Tested locally.
---------
Co-authored-by: Shaofeng Shi <shaofengshi@gmail.com>
What would you like to be improved?
A good practice is to exit with -1 when an error occurs.
How should we improve?
See above.
The text was updated successfully, but these errors were encountered: