-
- {showEditingUI && (
- <>
-
- {sourceFeatures.has(QueryFeature.dateRangePicker) && (
-
- {
- if (query.kind === NodeKind.HogQLQuery) {
- setQuerySource(query)
- }
- }}
- />
-
- )}
- >
- )}
- {showResultControls && (
- <>
-
-
- >
- )}
- {component}
+
+
+ {showEditingUI && (
+ <>
+
+ {sourceFeatures.has(QueryFeature.dateRangePicker) && (
+
+ {
+ if (query.kind === NodeKind.HogQLQuery) {
+ setQuerySource(query)
+ }
+ }}
+ />
+
+ )}
+ >
+ )}
+ {showResultControls && (
+ <>
+
+
-
-
-
-
+ >
+ )}
+ {component}
+
+
)
}
diff --git a/frontend/src/queries/query.ts b/frontend/src/queries/query.ts
index 348a57059a2c3b..b8a147b570e8d1 100644
--- a/frontend/src/queries/query.ts
+++ b/frontend/src/queries/query.ts
@@ -107,7 +107,7 @@ async function executeQuery
(
queryId?: string
): Promise> {
const queryAsyncEnabled = Boolean(featureFlagLogic.findMounted()?.values.featureFlags?.[FEATURE_FLAGS.QUERY_ASYNC])
- const excludedKinds = ['HogQLMetadata', 'EventsQuery', 'DataVisualizationNode']
+ const excludedKinds = ['HogQLMetadata', 'EventsQuery']
const queryAsync = queryAsyncEnabled && !excludedKinds.includes(queryNode.kind)
const response = await api.query(queryNode, methodOptions, queryId, refresh, queryAsync)