public boolean isPartitioned() {
    return hasNonNativePartitionSupport() ? getStorageHandler().isPartitioned(this) : 
        CollectionUtils.isNotEmpty(getPartCols());
  }
Returns a list of all the columns of the table (data columns + partition
columns in that order.

@return List&lt;FieldSchema&gt;
ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java