Use only actual data, set DataColumn.hasNulls to true if and only if there are null values in the column. On an empty dataset, use false.
true
false