[ 
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||Type||
|PrepareServiceImpl#DEFAULT_PLANNER_TIMEOUT|sql.planner.maxPlanningTime|Distributed|
|PrepareServiceImpl#THREAD_COUNT|sql.planner.threadCount|Local|
|SqlQueryProcessor#PLAN_CACHE_SIZE|sql.planner.estimatedNumberOfQueries|Distributed|
|QueryTaskExecutorImpl.stripedThreadPoolExecutor|sql.execution.threadCount|Local|
| | | |

 

  was:
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||Type||
|PrepareServiceImpl#DEFAULT_PLANNER_TIMEOUT|sql.planner.maxPlanningTime|Distributed|
|PrepareServiceImpl#THREAD_COUNT|sql.planner.threadCount|Local|
|SqlQueryProcessor#PLAN_CACHE_SIZE|sql.planner.estimatedNumberOfQueries|Distributed|
|QueryTaskExecutorImpl.stripedThreadPoolExecutor|sql.execution.concurrencyLevel|Local|
| | | |

 


> 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
>            Assignee: Yury Gerzhedovich
>            Priority: Major
>              Labels: ignite-3, tech-debt
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> 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||Type||
> |PrepareServiceImpl#DEFAULT_PLANNER_TIMEOUT|sql.planner.maxPlanningTime|Distributed|
> |PrepareServiceImpl#THREAD_COUNT|sql.planner.threadCount|Local|
> |SqlQueryProcessor#PLAN_CACHE_SIZE|sql.planner.estimatedNumberOfQueries|Distributed|
> |QueryTaskExecutorImpl.stripedThreadPoolExecutor|sql.execution.threadCount|Local|
> | | | |
>  



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

Reply via email to