Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jadami10 committed Nov 6, 2022
1 parent 4d5883f commit 72f7eb6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ public TableSizeReader.TableSizeDetails getTableSize(
if (tableSizeDetails == null) {
throw new ControllerApplicationException(LOGGER, "Table " + tableName + " not found", Response.Status.NOT_FOUND);
}

return tableSizeDetails;
}
}
4 changes: 0 additions & 4 deletions pinot-controller/src/main/resources/app/components/Table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -338,10 +338,6 @@ export default function CustomizedTables({
};
}, [search, timeoutId, filterSearchResults]);

// React.useCallback(()=>{
// setFinalData(Utils.tableFormat(data));
// }, [data]);

const styleCell = (str: string) => {
if (str === 'Good' || str.toLowerCase() === 'online' || str.toLowerCase() === 'alive' || str.toLowerCase() === 'true') {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ const TableTooltipData = [
const TablesListingPage = () => {
const classes = useStyles();

// const [fetchingTableData, setFetchingTableData] = useState(true);
// const [fetchingSchemaData, setFetchingSchemaData] = useState(true);
const [schemaDetails, setSchemaDetails] = useState<TableData>({
columns: PinotMethodUtils.allSchemaDetailsColumnHeader,
records: [],
Expand Down

0 comments on commit 72f7eb6

Please sign in to comment.