@Override
  public boolean hasDataMatchingFilterExpr(org.apache.hadoop.hive.ql.metadata.Table hmsTable, ExprNodeDesc filter) {
    SearchArgument sarg = ConvertAstToSearchArg.create(conf, (ExprNodeGenericFuncDesc) filter);
    Expression exp = HiveIcebergFilterFactory.generateFilterExpression(sarg);
    Table table = IcebergTableUtil.getTable(conf, hmsTable.getTTable());
    TableScan scan = table.newScan().filter(exp)
        .caseSensitive(false).includeColumnStats().ignoreResiduals();
    boolean result = false;

    try (CloseableIterable<FileScanTask> tasks = scan.planFiles()) {
      result = tasks.iterator().hasNext();
    } catch (IOException ioe) {
      LOG.warn("Failed to close task iterable", ioe);
    }
    return result;
  }
A function to fetch the column information of the underlying column defined by the table format.
@param hmsTable A Hive table instance
@param colName Column name
@return An instance of ColumnInfo.
@throws SemanticException An exception is thrown when the column is not present, or if we unable to fetch
column type due to SerDeException, or if the associated field object inspector is not present.
iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java