You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Yury Gerzhedovich (Jira)" <ji...@apache.org> on 2023/12/13 15:28:00 UTC

[jira] [Updated] (IGNITE-17703) Extaract hardcoded constants to configuration in sql-engine module

     [ https://issues.apache.org/jira/browse/IGNITE-17703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yury Gerzhedovich updated IGNITE-17703:
---------------------------------------
    Description: 
We have many hardcoded constants in sql-engine module. So it can't be configure by user. 
Let's move the following to configuration:
||Constant||Configuration path||
|PrepareServiceImpl#DEFAULT_PLANNER_TIMEOUT|sql.planner.maxPlanningTime|
|PrepareServiceImpl#THREAD_COUNT|sql.planner.threadCount|
|SqlQueryProcessor#PLAN_CACHE_SIZE|sql.planner.estimatedNumberOfQueries|
|QueryTaskExecutorImpl.stripedThreadPoolExecutor|sql.execution.concurrencyLevel|
| | |
| | |
| | |
| | |

  was:
We have many hardcoded constants in sql-engine module. So it can't be configure by user.
Let's find and identify all of them and move it to configuration.


> Extaract hardcoded constants to configuration in sql-engine module
> ------------------------------------------------------------------
>
>                 Key: IGNITE-17703
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17703
>             Project: Ignite
>          Issue Type: Improvement
>          Components: sql
>            Reporter: Yury Gerzhedovich
>            Priority: Major
>              Labels: ignite-3, tech-debt
>
> We have many hardcoded constants in sql-engine module. So it can't be configure by user. 
> Let's move the following to configuration:
> ||Constant||Configuration path||
> |PrepareServiceImpl#DEFAULT_PLANNER_TIMEOUT|sql.planner.maxPlanningTime|
> |PrepareServiceImpl#THREAD_COUNT|sql.planner.threadCount|
> |SqlQueryProcessor#PLAN_CACHE_SIZE|sql.planner.estimatedNumberOfQueries|
> |QueryTaskExecutorImpl.stripedThreadPoolExecutor|sql.execution.concurrencyLevel|
> | | |
> | | |
> | | |
> | | |



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