delta-io / delta

An open-source storage framework that enables building a Lakehouse architecture with compute engines including Spark, PrestoDB, Flink, Trino, and Hive and APIs
https://delta.io
Apache License 2.0
6.96k stars 1.58k forks source link

[Spark] Fix GeneratedColumnSuite tests with type changes #3037

Closed johanl-db closed 1 week ago

johanl-db commented 2 weeks ago

Description

Spark started using ANSI mode enabled by default, breaking a couple of tests in GeneratedColumnSuite that contained slient overflows. These tests are updated to remove the overflows.

How was this patch tested?

Running tests with ANSI mode enabled

xupefei commented 2 weeks ago

Looks good to me!