Commit c34b061
authored
fix: deltalake fetch table attributes (#6455)
# Description
- There seems to be some breaking changes as `DESCRIBE QUERY TABLE` for
Databricks started returning 4 columns instead of 3 columns: col_name,
data_type, comment and metadata. [Docs
link.](https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-aux-describe-table)
<img width="633" height="104" alt="Screenshot 2025-10-23 at 8 30 45 AM"
src="https://github.com/user-attachments/assets/60d76c9a-a50f-48fe-abee-1f6abb2e5399"
/>
- Dynamically checking for col_name and data_type and populating table
schema.
## Linear Ticket
- Resolves WAR-1216
## Security
- [x] The code changed/added as part of this pull request won't create
any security issues with how the software is being used.1 parent 709cdf5 commit c34b061
1 file changed
+42
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
404 | 405 | | |
405 | 406 | | |
406 | 407 | | |
407 | | - | |
408 | | - | |
409 | 408 | | |
410 | 409 | | |
411 | 410 | | |
412 | 411 | | |
413 | | - | |
| 412 | + | |
414 | 413 | | |
415 | 414 | | |
416 | 415 | | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
417 | 442 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
422 | 451 | | |
423 | | - | |
424 | | - | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
425 | 455 | | |
426 | 456 | | |
427 | 457 | | |
428 | 458 | | |
| 459 | + | |
429 | 460 | | |
430 | | - | |
| 461 | + | |
431 | 462 | | |
| 463 | + | |
432 | 464 | | |
433 | 465 | | |
434 | 466 | | |
| |||
0 commit comments