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
[SPARK-34207][SQL] Rename isTemporaryTable
to isTempView
in SessionCatalog
#31295
[SPARK-34207][SQL] Rename isTemporaryTable
to isTempView
in SessionCatalog
#31295
Conversation
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.
+1 (non-binding)
Kubernetes integration test starting |
@dongjoon-hyun @cloud-fan Could you review this PR, please. |
Kubernetes integration test status success |
Test build #134376 has finished for PR 31295 at commit
|
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.
@MaxGekk . Given the size of patch, we need JIRA ID for this for trace-ability. Could you file one?
isTemporaryTable
to isTempView
in SessionCatalog
isTemporaryTable
to isTempView
in SessionCatalog
@dongjoon-hyun I added an JIRA id to the PR title. |
Merged to master. |
…ionCatalog` ### What changes were proposed in this pull request? Rename `SessionCatalog.isTemporaryTable()` to `SessionCatalog.isTempView()`. ### Why are the changes needed? To improve code maintenance. Currently, there are two methods that do the same but have different names: ```scala def isTempView(nameParts: Seq[String]): Boolean ``` and ```scala def isTemporaryTable(name: TableIdentifier): Boolean ``` ### Does this PR introduce _any_ user-facing change? Should not since `SessionCatalog` is not public API. ### How was this patch tested? By running the existing tests: ``` $ build/sbt -Phive-2.3 -Phive-thriftserver "test:testOnly *SessionCatalogSuite" ``` Closes apache#31295 from MaxGekk/replace-isTemporaryTable-by-isTempView. Authored-by: Max Gekk <max.gekk@gmail.com> Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
What changes were proposed in this pull request?
Rename
SessionCatalog.isTemporaryTable()
toSessionCatalog.isTempView()
.Why are the changes needed?
To improve code maintenance. Currently, there are two methods that do the same but have different names:
and
Does this PR introduce any user-facing change?
Should not since
SessionCatalog
is not public API.How was this patch tested?
By running the existing tests: