Skip to content

read_sql() fails for DDL queries ALTER ... PARTITION #22

@MandarinDuck

Description

@MandarinDuck

read_sql() fails for DDL queries, eg. alter table db.table add partition (column = value)

Error varies by returned dataframe type, eg. default:

Error in attr(x, "names") <- as.character(value) : 
  'names' attribute [1] must be the same length as the vector [0]

dataframe:

Error in read.table(file = file, header = header, sep = sep, quote = quote,  : 
  no lines available in input

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions