-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix parition table isn't shown in show command #1354
fix parition table isn't shown in show command #1354
Conversation
9a83850
to
135533c
Compare
can you add a test? |
@birdstorm Yes, I was figuring out how to add a test. :( |
You may refer to https://github.com/pingcap/tispark/blob/0f5135c/core/src/test/scala/org/apache/spark/sql/catalyst/catalog/CatalogTestSuite.scala#L61-L108 |
need cherry-pick? |
Yes, this PR need cherry pick. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@zhexuany please add tags to specify branches to cherry-pick to. |
/run-all-tests |
cherry pick to release-2.2 in PR #1373 |
cherry pick to release-2.1 in PR #1374 |
What problem does this PR solve?
This PR closes #1330
What is changed and how it works?
When we process
ShowCommand
, we first check the emptiness ofpartitionSpec
. We append partition info if such spec is not empty.Check List
Tests
tests will be added later.