-
Notifications
You must be signed in to change notification settings - Fork 988
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] show table extended #4603
Conversation
Thanks @YannByron , Can you also modify documentation? |
Nice Job,seems SparkSQL had not supported with the v2 syntax yet. |
+1, left some minor comments. |
Spark supports it for v2 table in 4.x. So I just need do this for spark 3.x. |
added. |
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
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
|
||
implicit class PaimonNamespaceHelper(namespace: Array[String]) extends NamespaceHelper(namespace) | ||
|
||
// implicit class PaimonTableHelper(table: Table) extends TableHelper(table) |
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.
This line can be deleted.
private def getTableDetails(catalogName: String, identifier: Identifier, table: Table): String = { | ||
val results = new mutable.LinkedHashMap[String, String]() | ||
|
||
results.put("Catalog", catalogName) |
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.
"Catalog", "Namespace","Table" change to constant ?
Purpose
to support
SHOW TABLE EXTENDED ((FROM | IN) ns=identifierReference)? LIKE pattern=stringLit partitionSpec?
syntax.Linked issue: close #xxx
Tests
API and Format
Documentation