awslabs / awslabs/python-deequ

Can't execute the assertion: An exception was raised by the Python Proxy. Return Message: Object ID unknown

Abierto
#94 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
Jupyter Notebook
Estrellas
826
Forks
158
Merge medio
9 d 22 h
PR fusionados (30 d)
3

Descripción

**Describe the bug**

When using "check.hasSize" showing a Failure constraint message "Can't execute the assertion: An exception was raised by the Python Proxy. Return Message: Object ID unknown!". Should be a success.

deequ jar version: deequ-1.2.0-spark-2.4.jar
Spark Version: 2.4
Python Version: 3

```
checkResult = VerificationSuite(spark) \
.onData(df) \
.addCheck(
check.hasSize(lambda x: x >= 3000000) \
.hasMin("star_rating", lambda x: x == 1.0) \
.hasMax("star_rating", lambda x: x == 5.0) \
.isComplete("review_id") \
.isUnique("review_id") \
.isComplete("marketplace") \
.isContainedIn("marketplace", ["US", "UK", "DE", "JP", "FR"]) \
.isNonNegative("year")) \
.run()
```

**To Reproduce**
Define and Run Tests for Data section of this below notebook,
https://github.com/awslabs/python-deequ/blob/master/tutorials/test_data_quality_at_scale.ipynb

**Expected behavior**
Constraint check should be a success as the dataset contains > 3000000 records.

**Screenshots**
![PyDeequ_Exception](https://user-images.githubusercontent.com/103263613/162756727-168c321e-d066-428d-8b81-00f103928f28.png)
Attached.

**Additional context**
Tried multiple versions of the deequ jar starting from deequ-1.0.3.jar TO deequ-1.2.0-spark-2.4.jar.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Comienza ejecutando la sección Define and Run Tests for Data de tutorials/test_data_quality_at_scale.ipynb con las versiones indicadas de Python, Spark 2.4 y Deequ 1.2.0-spark-2.4. Compara check.hasSize con las demás constraints y rastrea dónde el Python Proxy informa “Object ID unknown”; la tarea está terminada cuando la restricción de tamaño tiene éxito para el conjunto de datos de ejemplo.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
jupyter-notebook, python, spark
Área
data, testing
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.