Skip to content

bug: incorrect error message when adding tests for incremental table type #2117

Description

@ashish10alex

According to the following line we should get a compilation message when trying to add a unit test for action type incremental. However we get a generic compilation error message instead. Same experience was reported here.

Expected error message

new Error("Running tests on incremental datasets is not yet supported."),

Error message we get due to this check in prior lines

if (!(dataset && (dataset instanceof Table || dataset instanceof View))) {
this.session.compileError(
new Error(`Dataset ${stringifyResolvable(this.datasetToTest)} could not be found.`),
this.proto.fileName
);

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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