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
7.62k stars 1.71k forks source link

[Spark] Fix `addFeatureSupport` test for Delta Connect #3866

Closed xupefei closed 2 days ago

xupefei commented 1 week ago

Which Delta project/connector is this regarding?

Description

This PR follows https://github.com/delta-io/delta/pull/3786 to fix an error running the test in Delta Connect mode, in which the "DELTA_UNSUPPORTED_FEATURES_IN_CONFIG" exception is wrapped by SparkConnectGrpcException rather than being a Py4JJavaError.

How was this patch tested?

Locally.

Does this PR introduce any user-facing changes?

No.

xupefei commented 1 week ago

@longvu-db Hey Long, you reviewed the previous PR. Mind looking at this one?