delta-io/delta

[Kernel] Validate readSchema is a subset of the table schema in ScanBuilder

Chiusa

#2149 aperta il 6 ott 2023

 (6 commenti) (0 reazioni) (1 assegnatario)Scala (2158 fork)batch import
enhancementgood first issuekernelstale

Metriche repository

Star
 (8947 stelle)
Metriche merge PR
 (Merge medio 7g 1h) (142 PR mergiate in 30 g)

Descrizione

Feature request

Which Delta project/connector is this regarding?

  • Spark
  • Standalone
  • Flink
  • Kernel
  • Other (fill in here)

Overview

Validate that the read schema provided in ScanBuilder is a subset of the snapshot schema. https://github.com/delta-io/delta/blob/master/kernel/kernel-api/src/main/java/io/delta/kernel/internal/ScanBuilderImpl.java#L80

Motivation

Better validation / error messages.

Guida contributor