Playground does not display float/decimal results correctly
Los mantenedores suelen responder en 3 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
The issue reports incorrect decimal display in the public Playground while generated SQL is correct; no source files or tests are named. Start by locating the Playground’s result-rendering code and related tests, then reproduce the supplied PRQL input. Done means the displayed values retain their decimal points and the regression is covered by a test.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened?
Using the public Playground (version 0.12.2), the Playground displays incorrect results for the round function. It seems to be missing the decimal points in the output.
The generated SQL is correct, and pasting that SQL into SQLite shows the expected results.
PRQL input
from [ { a=1 } ]
select {
math.round 1 1.23,
math.round 1 4.56
}
SQL output
WITH table_0 AS (
SELECT
1 AS a
)
SELECT
ROUND(1.23, 1),
ROUND(4.56, 1)
FROM
table_0
-- Generated by PRQL compiler version:0.12.2 (https://prql-lang.org)
Expected SQL output
==== EXPECTED ====
ROUND(1.23, 1) ROUND(4.56, 1)
1.2 4.6
==== ACTUAL ====
round(1.23, 1) round(4.56, 1)
12 46 <-- Note the lack of decimal points
MVCE confirmation
- Minimal example
- New issue
Anything else?
No response
- Lenguaje dominante
- Rust
- Estrellas
- 10.9k
- Forks
- 261
- Merge medio
- 3 d 21 h
- PR fusionados (30 d)
- 84
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PRQL/prql
-
Underscore does not work as expectedPosiblemente ocupada @prql-bot la tomó hace 2 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
PRQL/prql#6518 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
prqlc Debug Report HTML Does Not Escape Source File Name, Enabling Stored XSS via PRQLC_DEBUG_LOGAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
PRQL/prql#6502 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
Add `.prql` to linguistAbiertofriendliness integrations
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
PRQL/prql#1636 · 2 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 3 días
-
Dificultad 4/5 1-2 días Aptitud para principiantes 12/100
PRQL/prql#6517 · 1 comentario ·
Los mantenedores suelen responder en 3 días
-
review-runs-tracking: 2026-11Abiertoreview-runs-tracking
Dificultad 3/5 Medio día Aptitud para principiantes 5/100
PRQL/prql#6513 · 1 comentario ·
Los mantenedores suelen responder en 3 días
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
longbridge/gpui-kit#3795 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
saltnpepper97/halley#271 ·
Los mantenedores suelen responder en 1 día
-
Remove the unused gh-aw agentic workflow setupPosiblemente ocupada @AviAvni la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
bug stdlib
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 83/100
Sh1n1230/PunctuationToggle#308 ·
Los mantenedores suelen responder en 1 día