Skip to content

Conversation

@panbingkun
Copy link
Contributor

@panbingkun panbingkun commented Oct 14, 2022

What changes were proposed in this pull request?

This PR aims to replace 'intercept' with 'Check error classes' in CreateNamespaceParserSuite.

Why are the changes needed?

The changes improve the error framework.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By running the modified test suite:

$ build/sbt "test:testOnly *CreateNamespaceParserSuite"

@panbingkun
Copy link
Contributor Author

cc @MaxGekk

@github-actions github-actions bot added the SQL label Oct 14, 2022
Copy link
Member

@MaxGekk MaxGekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting for CI.

@MaxGekk
Copy link
Member

MaxGekk commented Oct 14, 2022

+1, LGTM. Merging to master.
I ran the modified tests locally:

$ build/sbt "test:testOnly *CreateNamespaceParserSuite"
[info] CreateNamespaceParserSuite:
[info] - create namespace - backward compatibility with DATABASE/DBPROPERTIES (1 second, 165 milliseconds)
[info] - create namespace - check duplicates (425 milliseconds)
[info] - create namespace - property values must be set (4 milliseconds)
[info] - create namespace - either PROPERTIES or DBPROPERTIES is allowed (4 milliseconds)
[info] - create namespace - support for other types in PROPERTIES (5 milliseconds)
...
[info] All tests passed.

Thank you, @panbingkun.

@MaxGekk MaxGekk closed this in 9d28909 Oct 14, 2022
@panbingkun panbingkun deleted the SPARK-40788 branch November 7, 2022 01:55
SandishKumarHN pushed a commit to SandishKumarHN/spark that referenced this pull request Dec 12, 2022
…rSuite

### What changes were proposed in this pull request?
This PR aims to replace 'intercept' with 'Check error classes' in CreateNamespaceParserSuite.

### Why are the changes needed?
The changes improve the error framework.

### Does this PR introduce _any_ user-facing change?
No.

### How was this patch tested?
By running the modified test suite:
```
$ build/sbt "test:testOnly *CreateNamespaceParserSuite"
```

Closes apache#38246 from panbingkun/SPARK-40788.

Authored-by: panbingkun <[email protected]>
Signed-off-by: Max Gekk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants