Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jczhong84 committed Jun 12, 2024
1 parent 246ffda commit f99ff57
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ class DataDocQueryCellComponent extends React.PureComponent<IProps, IState> {
}

public get sampleRate() {
// -1 or tables don't support sampling, 0 for sample rate is none
// -1 for tables don't support sampling, 0 for default sample rate (which means disable sampling)
return this.hasSamplingTables ? this.state.meta.sample_rate ?? 0 : -1;
}

Expand Down

0 comments on commit f99ff57

Please sign in to comment.