You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/11/01 21:10:24 UTC

[GitHub] [arrow-datafusion] waitingkuo opened a new issue, #4067: Support `SET` command

waitingkuo opened a new issue, #4067:
URL: https://github.com/apache/arrow-datafusion/issues/4067

   **Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
   A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for this feature, in addition to  the *what*)
   
   a `SET` command to change the value in `config_options`
   
   **Describe the solution you'd like**
   A clear and concise description of what you want to happen.
   
   following what postgresql has except `[LOCAL]`
   https://www.postgresql.org/docs/current/sql-set.html
   
   assignment operator should support both `TO` and `=`
   value should support `single quoted string` / `number` / `bool` / `non space separate string`
   
   
   ```bash
   SET [VARIABLE] [TO | =] [VALUE | 'VALUE']
   ```
   
   e.g. 
   ```bash
   ❯ set datafusion.execution.batch_size = 1;
   
   ```
   ```bash
   ❯ set datafusion.execution.coalesce_batches to 'false';
   ```
   
   support alias `TIME ZONE` and `TIMEZONE` (same as postgrseql https://www.postgresql.org/docs/current/sql-set.html)
   ```bash
   ❯ set time zone = 1;
   ```
   
   note that this should return error for now as discussed in https://github.com/apache/arrow-datafusion/issues/3148#issuecomment-1226105182
   cc @avantgardnerio @alamb 
   
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


-- 
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: github-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb commented on issue #4067: Support `SET` command

Posted by GitBox <gi...@apache.org>.
alamb commented on issue #4067:
URL: https://github.com/apache/arrow-datafusion/issues/4067#issuecomment-1300794907

   YES!  This will be awesome
   
   Note there is still some nonsense related to Config settings (e.g. see https://github.com/apache/arrow-datafusion/pull/3885#pullrequestreview-1152448744) but I think supporting the `SET` command will provide us that much more reason to unify the configuration story


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] alamb closed issue #4067: Support `SET` command

Posted by GitBox <gi...@apache.org>.
alamb closed issue #4067: Support `SET` command
URL: https://github.com/apache/arrow-datafusion/issues/4067


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org