Skip to content

db_ts_read Error: Syntax Error at or Near Date on One Device #266

Description

@GigiHadid97

Hello everyone,

I'm encountering an issue with the db_ts_read function, but it's only happening on one of my two devices. The error I'm receiving is:

>   data_ts <- db_ts_read(con, ts_keys = names(keys), valid_on = Sys.Date()) 
Fehler: Failed to prepare query : ERROR:  syntax error at or near "'2024-08-19'" 
LINE 1: select * from "timeseries"ts_read_raw('2024-08-19'::date, FA... 
                                              ^

On my other device, this same code runs without any problems. Both devices are using the same package version: 1.0.0.1.1.2. Despite this, I can't figure out what's causing the issue on the affected device.

Has anyone encountered a similar problem or have any ideas on what might be going wrong? I've tried various troubleshooting steps but haven't had any luck so far. Any help or suggestions would be greatly appreciated!

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions