Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11964

RelOptHiveTable.hiveColStatsMap might contain mismatched column stats

    XMLWordPrintableJSON

Details

    Description

      RelOptHiveTable.hiveColStatsMap might contain mismatched stats since it was built by assuming the stats returned from
      ==
      hiveColStats =StatsUtils.getTableColumnStats(hiveTblMetadata, hiveNonPartitionCols, nonPartColNamesThatRqrStats);
      or
      HiveMetaStoreClient.getTableColumnStatistics(dbName, tableName, colNames)
      ==
      have the same order of the requested columns. But actually the order is non-deterministic. therefore the returned stats should be re-ordered before it is put in hiveColStatsMap.

      Attachments

        1. HIVE-11964.patch
          2 kB
          Chaoyu Tang

        Activity

          People

            ctang Chaoyu Tang
            ctang Chaoyu Tang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: