| 894 | #endif |
| 895 | |
| 896 | bool deeplake_table_am_routine::scan_sample_next_block(TableScanDesc scan, struct SampleScanState* scanstate) |
| 897 | { |
| 898 | DeeplakeScanData* scan_data = get_scan_data(scan); |
| 899 | if (!scan_data || scan_data->sample_scan_active) { // behaves as a single-block |
| 900 | return false; |
| 901 | } |
| 902 | |
| 903 | scan_data->current_sample_scanstate = scanstate; |
| 904 | scan_data->sample_scan_active = true; |
| 905 | |
| 906 | return true; |
| 907 | } |
| 908 | |
| 909 | bool deeplake_table_am_routine::scan_sample_next_tuple(TableScanDesc scan, |
| 910 | struct SampleScanState* scanstate, |
nothing calls this directly
no test coverage detected