(cluster_sizes=ALL_NODES_ONLY,
disable_codegen_options=ALL_DISABLE_CODEGEN_OPTIONS,
batch_sizes=ALL_BATCH_SIZES,
sync_ddl=None, exec_single_node_option=[0],
# We already run with codegen on and off explicitly -
# don't need automatic toggling.
disable_codegen_rows_threshold_options=[0],
debug_action_options=None)
| 256 | |
| 257 | # TODO IMPALA-12394: switch to ALL_CLUSTER_SIZES |
| 258 | def create_exec_option_dimension(cluster_sizes=ALL_NODES_ONLY, |
| 259 | disable_codegen_options=ALL_DISABLE_CODEGEN_OPTIONS, |
| 260 | batch_sizes=ALL_BATCH_SIZES, |
| 261 | sync_ddl=None, exec_single_node_option=[0], |
| 262 | # We already run with codegen on and off explicitly - |
| 263 | # don't need automatic toggling. |
| 264 | disable_codegen_rows_threshold_options=[0], |
| 265 | debug_action_options=None): |
| 266 | exec_option_dimensions = { |
| 267 | 'abort_on_error': [1], |
| 268 | 'exec_single_node_rows_threshold': exec_single_node_option, |
| 269 | 'batch_size': batch_sizes, |
| 270 | 'disable_codegen': disable_codegen_options, |
| 271 | 'disable_codegen_rows_threshold': disable_codegen_rows_threshold_options, |
| 272 | 'num_nodes': cluster_sizes, |
| 273 | 'test_replan': [1]} |
| 274 | |
| 275 | if sync_ddl is not None: |
| 276 | exec_option_dimensions['sync_ddl'] = sync_ddl |
| 277 | if debug_action_options is not None: |
| 278 | exec_option_dimensions['debug_action'] = debug_action_options |
| 279 | return create_exec_option_dimension_from_dict(exec_option_dimensions) |
| 280 | |
| 281 | |
| 282 | def create_exec_option_dimension_from_dict(exec_option_dimensions): |
no test coverage detected