Skip to content

DB upload fails when names of columns are improper #204

@saudiwin

Description

@saudiwin

Bug description

Another issue (sorry!), but this one is an easy fix.

If there is a dirty column name added to the SQL table, such as a column name with dots (...), the DBI::sqlInterpolate in the sqlInterpolateList function will fail with an error that it cannot interpolate the values when doing an update. So it would be good to have some sanitization when creating the columns (or checking first before using sqlInterpolate). That is, the Postgres table will allow a dirty name like var1....low, but it can cause other failures downstream.

Steps to reproduce

No response

Expected behavior

No response

Actual behavior

No response

Your environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions