[ 
https://issues.apache.org/jira/browse/CALCITE-7381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18052460#comment-18052460
 ] 

Julian Hyde commented on CALCITE-7381:
--------------------------------------

I was going to say the same thing. {{!set}} was designed to be simple. Caveat 
emptor.

There are {{!push}} and {{!pop}} commands if you want to use them. See 
https://github.com/hydromatic/quidem.

> Parameters modified by !set must be restored to their default values in 
> Quidem test 
> ------------------------------------------------------------------------------------
>
>                 Key: CALCITE-7381
>                 URL: https://issues.apache.org/jira/browse/CALCITE-7381
>             Project: Calcite
>          Issue Type: Test
>          Components: core
>            Reporter: Zhen Chen
>            Priority: Major
>
> For example in sub-query.iq 
> {code:java}
> !set insubquerythreshold 0 
> !set trimfields false{code}
> However, insubquerythreshold was not restored to 20 and trimfields was not 
> restored to true.
> Other .iq files also exhibit similar issues. This can affect the correctness 
> of subsequent tests to some extent.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to