linhongliu-db opened a new pull request #32441:
URL: https://github.com/apache/spark/pull/32441


   ### What changes were proposed in this pull request?
   Hide internal view properties for describe table command, because those
   properties are generated by spark and should be transparent to the end-user.
   
   
   ### Why are the changes needed?
   Avoid internal properties confusing the users.
   
   
   ### Does this PR introduce _any_ user-facing change?
   Yes
   Before this change, the user will see below output for `describe formatted 
test_view`
   ```
   ....
   Table Properties       [view.catalogAndNamespace.numParts=2, 
view.catalogAndNamespace.part.0=spark_catalog, 
view.catalogAndNamespace.part.1=default, view.query.out.col.0=c, 
view.query.out.col.1=v, view.query.out.numCols=2, 
view.referredTempFunctionsNames=[], view.referredTempViewNames=[]]
   ...
   ```
   After this change, the internal properties will be hidden for `describe 
formatted test_view`
   ```
   ...
   Table Properties        []
   ...
   ```
   
   ### How was this patch tested?
   existing UT


-- 
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]



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

Reply via email to