Skip to content

Splitfile build error - error: NotImplementedError: Printer for node 'TableLikeClause' is not implemented yet #525

@mingfang

Description

@mingfang

I'm running the splitfile below after sgr csv import <source file>.

FROM ${REPOSITORY}

SQL {
    CREATE TABLE IF NOT EXISTS ${TABLE}
    (LIKE "${SOURCE}".${TABLE}
    INCLUDING ALL)
}

But it's printing the error below.

error: NotImplementedError: Printer for node 'TableLikeClause' is not implemented yet

I'm using this CTA syntax to automatically copy the source primary index, which I'm hoping was created by

sgr csv import --primary-key my_key

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions