[SPARK-29030][SQL] Simplify lookupV2Relation#25735
[SPARK-29030][SQL] Simplify lookupV2Relation#25735jzhuge wants to merge 1 commit intoapache:masterfrom
Conversation
|
Test build #110364 has finished for PR 25735 at commit
|
|
Hi, @jzhuge . Could you file a JIRA issue for this? |
|
@dongjoon-hyun @HyukjinKwon Sure thing. Thanks for acting so quickly :) |
855a8cf to
a96e390
Compare
|
Hi @brkyvz, do the changes look ok to you? |
|
Test build #110382 has finished for PR 25735 at commit
|
| changes)) | ||
| case (Some(table), None) => | ||
| Some(AlterTable( | ||
| sessionCatalog.asTableCatalog, // table being resolved means this exists |
There was a problem hiding this comment.
maybe use catalogManager.v2SessionCatalog to be consistent with lookupV2Relation?
There was a problem hiding this comment.
Good suggestion. This may inspire an even further simplification. Let me explore and report back.
|
retest this please |
|
Test build #110488 has finished for PR 25735 at commit
|
|
Test build #110544 has finished for PR 25735 at commit
|
|
rebasing |
f92a258 to
58037d2
Compare
|
Test build #110546 has finished for PR 25735 at commit
|
|
Looking at the test failures |
|
Test build #110564 has finished for PR 25735 at commit
|
|
retest please |
|
@jzhuge Can you please rebase this? |
|
Sure
…On Tue, Sep 17, 2019 at 11:19 AM Burak Yavuz ***@***.***> wrote:
@jzhuge <https://github.com/jzhuge> Can you please rebase this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#25735?email_source=notifications&email_token=AAOL5JBWSRMSV5YU7DHXJELQKENT7A5CNFSM4IU6O3M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD65N22I#issuecomment-532340073>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOL5JGFMP2BVB55ZIFM2NDQKENT7ANCNFSM4IU6O3MQ>
.
--
John Zhuge
|
a276e06 to
eb14b7f
Compare
|
Test build #110846 has finished for PR 25735 at commit
|
|
This LGTM. Merging to master. Thanks @jzhuge ! |
|
Thanks @brkyvz ! |
What changes were proposed in this pull request?
Simplify the return type for
lookupV2Relationwhich makes the 3 callers more straightforward.How was this patch tested?
Existing unit tests.