Commit cdd2313 1 parent 9dce33d commit cdd2313 Copy full SHA for cdd2313
File tree 1 file changed +3
-4
lines changed
extensions/parquet/table/src/main/java/io/deephaven/parquet/table/location
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -221,18 +221,17 @@ private RowSet computeIndex(@NotNull final RowGroup[] rowGroups) {
221
221
@ NotNull
222
222
public List <String []> getDataIndexColumns () {
223
223
initialize ();
224
- final Map <String , GroupingColumnInfo > localGroupingColumns = groupingColumns ;
225
- if (tableInfo .dataIndexes ().isEmpty () && localGroupingColumns .isEmpty ()) {
224
+ if (tableInfo .dataIndexes ().isEmpty () && groupingColumns .isEmpty ()) {
226
225
return List .of ();
227
226
}
228
227
final List <String []> dataIndexColumns =
229
- new ArrayList <>(tableInfo .dataIndexes ().size () + localGroupingColumns .size ());
228
+ new ArrayList <>(tableInfo .dataIndexes ().size () + groupingColumns .size ());
230
229
// Add the data indexes to the list
231
230
tableInfo .dataIndexes ().stream ()
232
231
.map (di -> di .columns ().toArray (String []::new ))
233
232
.forEach (dataIndexColumns ::add );
234
233
// Add grouping columns to the list
235
- localGroupingColumns .keySet ().stream ().map (colName -> new String [] {colName }).forEach (dataIndexColumns ::add );
234
+ groupingColumns .keySet ().stream ().map (colName -> new String [] {colName }).forEach (dataIndexColumns ::add );
236
235
return dataIndexColumns ;
237
236
}
238
237
You can’t perform that action at this time.
0 commit comments