delta-io/delta

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

Open

#2149 aperta il 6 ott 2023

Vedi su GitHub
 (5 commenti) (0 reazioni) (1 assegnatario)Scala (2100 fork)batch import
enhancementgood first issuekernel

Metriche repository

Star
 (8807 star)
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