(
{
field.onChange(mode);
if (mode !== 'query' && timeout === null) {
setValue('timeout', '');
} else if (mode === 'query') {
setValue('timeout', null);
}
}}
settingOptions={QUERY_SETTINGS_FIELD_SETTINGS.queryMode.options}
/>
)}
/>
{enableTracingLevel && (
(
)}
/>
)}
(
)}
/>
(
)}
/>
(
{i18n('form.limit.rows')}
}
/>
)}
/>
{isQueryStreamingEnabled && (
(
{i18n('form.output.chunk.max.size.bytes')}
}
/>
)}
/>
)}
(
id="resourcePool"
setting={field.value ?? RESOURCE_POOL_NO_OVERRIDE_VALUE}
disabled={isResourcePoolsLoading || !resourcePools.length}
onUpdateSetting={(value) => field.onChange(value)}
settingOptions={resourcePoolOptions}
/>
)}
/>
(
)}
/>
(
field.onChange(enabled ? '' : null)}
validationState={errors.timeout ? 'invalid' : undefined}
errorMessage={errors.timeout?.message}
isDisabled={!isStreamingSupportedForMode(queryMode)}
/>
)}
/>