Issue with bigint columns containing null in recipe's input dataset
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 64/100
Direzione di ricerca
Inizia in recipe.py, quindi segui process_dataframe() e la chiamata input_parameters_dataset.get_dataframe(infer_with_pandas=False). Riproduci il problema con un dataset basato su PostgreSQL contenente una colonna bigint nullable inutilizzata e un parametro id; il lavoro è completato quando la recipe legge ed elabora l’input senza fallire prima della prima richiesta HTTP.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
So some testing.
- As a dataset tested about 1 million rows against a well known API system performance is comparable.
- When I tried to use this in the Recipe form I got a different error. May not be related to the changes you just made. The following anallysis was written up by Claude AI.
Title: Recipe fails on a SQL-backed input when an unused column is a nullable integer
Plugin: API Connect 1.4.3 (failing) and 1.4.2 (working) —
recipe.pyline is identical in both, so this is not version-related
DSS: 14.7.3 local (failing), Dataiku Cloud (working)
Data Store: PostgreSQL local (failing), SPARK Parquet cloud (working.)What happens
The recipe reads its full input with DSS schema types enforced:
input_parameters_dataframe = input_parameters_dataset.get_dataframe(infer_with_pandas=False)pandas int64 cannot hold NA, so any int-typed column with empty values raises before
the first HTTP request — including columns the recipe never reads.
process_dataframe()only touchesself.column_to_parameter_dict.Why it looks intermittent
The same project, same recipe config, same data shape, on two backends:
Input backend Type of the unused timestamp column Result S3 / Parquet via Spark string (inferred) Runs PostgreSQL bigint, nullable ValueError The recipe has one parameter column,
id(string). The column that breaks the read is
a nullable Unix timestamp that is not a parameter column.Traceback
File "<string>", line 56, in <module> File ".../dataiku/core/dataset.py", line 766, in get_dataframe results = pd.read_table(dku_output, ...) ... ValueError: Integer column has NA values in column 8Steps to reproduce
- Create a PostgreSQL-backed dataset with a nullable
bigintcolumn.- Add a string column to use as the API parameter, e.g.
id.- Build an API Connect recipe on it, selecting only
idas the parameter column.- Run.
Current work around I changed the type of the input column to string. With that type change in the input. I seem to be able to process data successfully.
Originally posted by @tom-aspireleaders in #84
- Lingua principale
- Python
- Stelle
- 4
- Fork
- 4
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di dataiku/dss-plugin-api-connect
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
-
Paging start from "1"Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Infinite pagingAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Need proxy supportAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
dataiku/dss-plugin-api-connect#19 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
Tutte le issue di dataiku/dss-plugin-api-connect
Issue simili
-
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
fossasia/visdom-dev#69 ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
I maintainer di solito rispondono entro 1 giorno
-
Frontend build fails with Frappe version-16: DataImport is no longer exported by @framework/uiApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
BUG: PROD: v1.3.0-beta Onboarding Profile Picture Misaligns When Name Validation Error AppearsForse già presa @RitikaSen27 l’ha presa oggi. Apertabug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
AOSSIE-Org/PictoPy#1647 · 2 commenti ·
I maintainer di solito rispondono entro 2 giorni
-
[oblt-aw][autodoc] Update workflow docs for gh-aw v0.92.5 and detector permission scopeForse già presa @github-actions l’ha presa oggi. Aperta
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno