delta-io/delta

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

Open

#2.149 aberto em 6 de out. de 2023

Ver no GitHub
 (5 comments) (0 reactions) (1 assignee)Scala (2.100 forks)batch import
enhancementgood first issuekernel

Métricas do repositório

Stars
 (8.807 stars)
Métricas de merge de PR
 (Mesclagem média 7d 1h) (142 fundiu PRs em 30d)

Description

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.

Guia do colaborador