Commit 83db398
[SPARK-51881][SQL] Make AvroOptions comparable
### What changes were proposed in this pull request?
Make AvroOptions comparable. Hadoop `Configuration` doesn't have equals, but it's enough to compare `parameters`.
### Why are the changes needed?
To properly compare single-pass/fixed-point Analyzer logical plans.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Existing tests.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #50683 from vladimirg-db/vladimir-golubev_data/make-avro-options-comparable.
Authored-by: Vladimir Golubev <vladimir.golubev@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>1 parent bab6988 commit 83db398
File tree
1 file changed
+32
-0
lines changed- sql/core/src/main/scala/org/apache/spark/sql/avro
1 file changed
+32
-0
lines changedLines changed: 32 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
146 | 147 | | |
147 | 148 | | |
148 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
149 | 181 | | |
150 | 182 | | |
151 | 183 | | |
| |||
0 commit comments