hddong opened a new pull request #1110: [HUDI-416]improve hint information for 
cli
URL: https://github.com/apache/incubator-hudi/pull/1110
 
 
   ## What is the purpose of the pull request
   
   Right now, cli always give error information: `Command 'desc' was found but 
is not currently available (type 'help' then ENTER to learn about this 
command)`, but it is confused to user. We can give a hint clearly like: 
`Command failed java.lang.NullPointerException: There is no hudi dataset. 
Please use connect command to set dataset first`
   
   ## Brief change log
   
   *(for example:)*
     - *use `exception` instead of `CliAvailabilityIndicator`*
   
   ## Verify this pull request
   
   This pull request is a trivial rework / code cleanup without any test 
coverage.
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under 
an umbrella JIRA.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to