Github user tejasapatil commented on a diff in the pull request:

    https://github.com/apache/spark/pull/18309#discussion_r122102041
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/command/AnalyzeTableCommand.scala
 ---
    @@ -109,16 +124,16 @@ object AnalyzeTableCommand extends Logging {
           size
         }
     
    -    catalogTable.storage.locationUri.map { p =>
    +    locationUri.map { p =>
           val path = new Path(p)
           try {
             val fs = path.getFileSystem(sessionState.newHadoopConf())
             calculateTableSize(fs, path)
    --- End diff --
    
    given that after this change this would be either a table / partition, we 
should rename the method


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to