delta-io/delta

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

Open

#2.149 geöffnet am 6. Okt. 2023

Auf GitHub ansehen
 (5 Kommentare) (0 Reaktionen) (1 zugewiesene Person)Scala (2.100 Forks)batch import
enhancementgood first issuekernel

Repository-Metriken

Stars
 (8.807 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 1h) (142 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide