This is an automated email from the ASF dual-hosted git repository.
jackie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 8bc4febba0 UI: fix sql query options seperator (#10770)
8bc4febba0 is described below
commit 8bc4febba05aefdb6dd088e886131e0b74164ced
Author: Jayesh Choudhary <[email protected]>
AuthorDate: Mon Aug 7 23:05:31 2023 +0530
UI: fix sql query options seperator (#10770)
---
pinot-controller/src/main/resources/app/pages/Query.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pinot-controller/src/main/resources/app/pages/Query.tsx
b/pinot-controller/src/main/resources/app/pages/Query.tsx
index addc2279ee..29c9843db7 100644
--- a/pinot-controller/src/main/resources/app/pages/Query.tsx
+++ b/pinot-controller/src/main/resources/app/pages/Query.tsx
@@ -271,18 +271,18 @@ const QueryPage = () => {
setQueryLoader(true);
queryExecuted.current = true;
let params;
- let queryOptions = '';
+ let queryOptions = [];
if(queryTimeout){
- queryOptions += `timeoutMs=${queryTimeout}`;
+ queryOptions.push(`timeoutMs=${queryTimeout}`);
}
if(checked.useMSE){
- queryOptions += `useMultistageEngine=true`;
+ queryOptions.push(`useMultistageEngine=true`);
}
const finalQuery = `${query || inputQuery.trim()}`;
params = JSON.stringify({
sql: `${finalQuery}`,
trace: checked.tracing,
- queryOptions: `${queryOptions}`,
+ queryOptions: `${queryOptions.join(";")}`,
});
if(finalQuery !== ''){
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]