cloud-fan commented on a change in pull request #26617: [SPARK-29979][SQL]Add 
basic/reserved property key constants in Table and SupportsNamespaces
URL: https://github.com/apache/spark/pull/26617#discussion_r350043380
 
 

 ##########
 File path: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DescribeNamespaceExec.scala
 ##########
 @@ -45,10 +42,12 @@ case class DescribeNamespaceExec(
     val metadata = catalog.loadNamespaceMetadata(ns)
 
     rows += toCatalystRow("Namespace Name", ns.last)
-    rows += toCatalystRow("Description", metadata.get(COMMENT_TABLE_PROP))
-    rows += toCatalystRow("Location", metadata.get(LOCATION_TABLE_PROP))
+    rows += toCatalystRow("Description", 
metadata.get(SupportsNamespaces.PROP_COMMENT))
+    rows += toCatalystRow("Location", 
metadata.get(SupportsNamespaces.PROP_LOCATION))
 
 Review comment:
   I mean display location and comment nicely, instead of displaying them with 
`Properties (...)`. We can do it in a followup.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to