Excel Extension fails to load all data even though stop_at_empty = false
- Lingua principale
- Python
- Stelle
- 187
- Fork
- 112
- Merge medio
- 13h 29m
- PR unite (30g)
- 17
Descrizione
### What happens?
When there is an empty column in the sheet, duckdb stops at that column.
### To Reproduce
Code:
```
import duckdb
print(
duckdb.sql(
"SELECT * FROM read_xlsx('D:/test.xlsx', all_varchar=true, header=false, stop_at_empty=false, ignore_errors = true);"
).fetchall()
)
```
Content of `D:/test.xlsx`:
| | A | B | C |
|---|---|---|---|
| 1 | X | | |
| 2 | | | |
| 3 | | | X |
Result:
`[('X',), (None,)]`
Expected:
`[('X', None, None), (None, None, None), (None, None, X)]`, or at least `[('X',), (None,), (None,)]`
### OS:
Windows x86_64
### DuckDB Package Version:
1.3.2
### Python Version:
3.13.7
### Full Name:
Luna Yao
### Affiliation:
Self
### What is the latest build you tested with? If possible, we recommend testing with the latest nightly build.
I have tested with a stable release
### Did you include all relevant data sets for reproducing the issue?
Yes
### Did you include all code required to reproduce the issue?
- [x] Yes, I have
### Did you include all relevant configuration to reproduce the issue?
- [x] Yes, I have
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia eseguendo la query Python fornita sull’input riprodotto D:/test.xlsx e ispeziona l’entry point read_xlsx utilizzato dall’estensione Excel. Confronta il risultato quando una colonna vuota separa le celle valorizzate con l’output atteso di tre colonne, quindi aggiungi una copertura che dimostri che stop_at_empty=false preserva i dati successivi ed esegui i test pertinenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- databases
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100