walterddr commented on code in PR #11793:
URL: https://github.com/apache/pinot/pull/11793#discussion_r1356981755


##########
pinot-controller/src/main/resources/app/utils/PinotMethodUtils.ts:
##########
@@ -898,6 +898,29 @@ const reloadStatusOp = (tableName, tableType) => {
   return reloadStatus(tableName, tableType).then((response)=>{
     return response.data;
   });
+  // const result = response.data;
+  // if (result.error) {
+  //   return {
+  //     error: result.error,
+  //   };
+  // } else {
+  //   console.error(result)
+  //   const indexStats = result["columnToIndexesCount"];
+  //   console.error(indexStats)
+  //   return {
+  //     columns: ['Field Name', 'Bloom Filter', 'Dictionary', 'Forward 
Index', 'Sorted', 'Inverted Index', 'JSON Index', 'Null Value Vector Reader', 
'Range Index'],
+  //     records: Object.keys(indexStats).map(fieldName => [
+  //       fieldName,
+  //       indexStats[fieldName]["bloom-filter"] !== 0,
+  //       indexStats[fieldName]["dictionary"] !== 0,
+  //       indexStats[fieldName]["forward-index"] !== 0,
+  //       indexStats[fieldName]["inverted-index"] !== 0,
+  //       indexStats[fieldName]["json-index"] !== 0,
+  //       indexStats[fieldName]["null-value-vector-reader"] !== 0,
+  //       indexStats[fieldName]["range-index"] !== 0,
+  //     ])
+  //   };
+  // }

Review Comment:
   ```suggestion
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to