[ 
https://issues.apache.org/jira/browse/BEAM-5141?focusedWorklogId=134659&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-134659
 ]

ASF GitHub Bot logged work on BEAM-5141:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Aug/18 19:17
            Start Date: 14/Aug/18 19:17
    Worklog Time Spent: 10m 
      Work Description: amaliujia edited a comment on issue #6216: [BEAM-5141] 
Improve error message when SET unregistered options
URL: https://github.com/apache/beam/pull/6216#issuecomment-412984937
 
 
   I updated this PR. Adopted the approach that creates a separate exception.
   
   Here is some tests I did in Shell:
   
   ```
   0: BeamSQL> set test='test';
   No rows affected (0.007 seconds)
   0: BeamSQL> select * from just_testing;
   Error: Error while executing SQL "select * from just_testing": Pipeline 
option 'test' is not supported in this context. It can be cleared by 'RESET 
test'. (state=,code=0)
   0: BeamSQL> reset test;
   No rows affected (0.005 seconds)
   0: BeamSQL> set templocation='test';
   No rows affected (0.005 seconds)
   0: BeamSQL> select * from just_testing;
   Error: Error while executing SQL "select * from just_testing": Pipeline 
option 'templocation' is not supported in this context. It can be cleared by 
'RESET templocation'. Did you mean 'SET tempLocation'? (state=,code=0)
   0: BeamSQL> !quit
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 134659)
    Time Spent: 2h  (was: 1h 50m)

> Improve error message when SET unregistered options 
> ----------------------------------------------------
>
>                 Key: BEAM-5141
>                 URL: https://issues.apache.org/jira/browse/BEAM-5141
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql
>            Reporter: Rui Wang
>            Assignee: Rui Wang
>            Priority: Major
>          Time Spent: 2h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to