Commit 562a43b
committed
Support Spark 4.2 CatalogTable constructor in HiveTableCatalog
Spark 4.2.0 added a 22nd parameter multipartIdentifier: Option[Seq[String]]
to CatalogTable (SPARK-52729), so the reflective newCatalogTable could not
find a matching constructor and every createTable/insert path failed with
NoSuchMethodException. Add a leading reflective branch for the 22-argument
constructor, falling back to the 4.0 (21-arg) and 3.5 (20-arg) signatures.1 parent 871db15 commit 562a43b
1 file changed
Lines changed: 52 additions & 1 deletion
File tree
- extensions/spark/kyuubi-spark-connector-hive/src/main/scala/org/apache/kyuubi/spark/connector/hive
Lines changed: 52 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
207 | 258 | | |
208 | 259 | | |
209 | 260 | | |
| |||
0 commit comments