[Feature] Valid data masks

  • Add endpoints to provide merge() and get_results() with information on which parts of the dataset have already been processed (#1473). The information is then propagated to the result buffers, and UDFs can override the validity mask for results using the new with_mask() method (#1449 #1593).