Skip to content

Conversation

@avdata99
Copy link
Contributor

@avdata99 avdata99 commented Oct 28, 2025

Error:

        Error: {
            "message": "Could not copy stats data to database: invalid input syntax for type double precision: 
                       \"2025-03-01\"\n
                       CONTEXT: COPY 34f58005-11c1-4263-a43f-876a2a365e6d-druf-stats, line 7, 
                       column mean: \"2025-03-01\"\n
                       "
        }

The CSV data for this error is a column with Date values like 2025-03-01
QSV define it as Date field (correct) but then the stats table define the mean as FLOAT

CREATE TABLE {} (
                field TEXT,
                type TEXT,
               ...
               mean FLOAT,
               ...
            )

The mean value is also a string like 2025-03-01

So we can't save this stats table.

CSV failing example

errored-date.csv

@avdata99 avdata99 marked this pull request as draft October 28, 2025 19:28
@avdata99 avdata99 marked this pull request as ready for review October 29, 2025 14:27
@tino097 tino097 self-assigned this Nov 5, 2025
@tino097 tino097 changed the base branch from main to dev-v2.0 January 6, 2026 21:29
@tino097 tino097 added the 2.x label Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants