Skip to content

dsc allows sql keywords #229

@pcarbo

Description

@pcarbo
dsc <- dscquery("dsc_result",
                c("fit.update", "evaluate"))
# Calling: dsc-query dsc_result -o /tmp/Rtmpb7j76A/file1ea9366fe952.csv 
#  --target "fit.update evaluate" --force
# INFO: Loading database ...
# INFO: Running queries ...
ERROR: (sqlite3.OperationalError) near "update": syntax error
# [SQL: SELECT "simulate".DSC_REPLICATE AS simulate_DSC_FIELD_DSC_REPLICATE,
#  "fit".update AS fit_DSC_FIELD_update, "evaluate_train".__output__ AS
# evaluate_train_DSC_OUTPUT_ FROM "evaluate_train" INNER JOIN "fit" ON
# "evaluate_train".__parent__ = "fit".__id__ INNER JOIN "simulate" ON "fit".__parent__ 
# = "simulate".__id__]
# (Background on this error at: https://sqlalche.me/e/14/e3q8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions