Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33825

Is Spark SQL able to auto update partition stats like hive by setting hive.stats.autogather=true

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 3.0.1
    • None
    • Spark Core

    Description

      `spark.sql.statistics.size.autoUpdate.enabled` is only work for table stats update.But for partition stats,I can only update it with `ANALYZE TABLE tablename PARTITION(part) COMPUTE STATISTICS`.So is Spark SQL able to auto update partition stats like hive by setting hive.stats.autogather=true?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kongtrio yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: