src/ab/plugins/db/odps_helper.py [523:533]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def sample(self, table_name: str, column_names: list, partitions: list, total_count: int):
        """
        args:
            total_count: total row count of target partitions or whole table
        returns:
            sample_data
        """
        if total_count is None:
            raise AlgorithmException(data='选择的表过大，仅支持最旧采样')

        assert total_count > self.max_count, 'system error, total_count must be greater than sampler max_count'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/ab/plugins/db/odps_helper.py [565:575]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    def sample(self, table_name: str, column_names: list, partitions: list, total_count: int):
        """
        args:
            total_count: total row count of target partitions or whole table
        returns:
            sample_data
        """
        if total_count is None:
            raise AlgorithmException(data='选择的表过大，仅支持最旧采样')

        assert total_count > self.max_count, 'system error, total_count must be greater than sampler max_count'
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



