Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangvi7 committed Jul 2, 2024
1 parent 137efec commit 208f6d0
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions querybook/webapp/components/QueryRunButton/QueryRunButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,15 @@ export const QueryRunButton = React.forwardRef<
/>
);

const tableSamplingDOM = (
// !disabled && TABLE_SAMPLING_CONFIG.enabled && hasSamplingTables ? (
<TableSamplingSelector
sampleRate={sampleRate}
setSampleRate={onSampleRateChange}
tooltipPos={runButtonTooltipPos}
onTableSamplingInfoClick={onTableSamplingInfoClick}
/>
);
// ) : null;
const tableSamplingDOM =
!disabled && TABLE_SAMPLING_CONFIG.enabled && hasSamplingTables ? (
<TableSamplingSelector
sampleRate={sampleRate}
setSampleRate={onSampleRateChange}
tooltipPos={runButtonTooltipPos}
onTableSamplingInfoClick={onTableSamplingInfoClick}
/>
) : null;

const isRowLimitEnabled =
queryEngineById[engineId]?.feature_params.row_limit;
Expand Down

0 comments on commit 208f6d0

Please sign in to comment.