Port DH-11168: Indexing enhancements to Community. #7884
Annotations
2 errors and 2 warnings
|
Execution failed for task ':engine-table:spotlessJavaCheck'.
> The following files had format violations:
src/main/java/io/deephaven/engine/table/impl/dataindex/LocationDataIndex.java
@@ -15,14 +15,14 @@
····final·String·rowSetColumnName;
····public·static·LocationDataIndex·from(@NotNull·final·Table·table,
-·········································@NotNull·final·String[]·keyColumnNames,
-·········································@NotNull·final·String·rowSetColumnName)·{
+············@NotNull·final·String[]·keyColumnNames,
+············@NotNull·final·String·rowSetColumnName)·{
········return·new·LocationDataIndex(table,·keyColumnNames,·rowSetColumnName);
····}
····private·LocationDataIndex(@NotNull·final·Table·table,
-······························@NotNull·final·String[]·keyColumnNames,
-······························@NotNull·final·String·rowSetColumnName)·{
+············@NotNull·final·String[]·keyColumnNames,
+············@NotNull·final·String·rowSetColumnName)·{
········this.table·=·table;
········this.keyColumnNames·=·keyColumnNames;
········this.rowSetColumnName·=·rowSetColumnName;
src/main/java/io/deephaven/engine/table/impl/sources/regioned/RegionedColumnSourceManager.java
@@ -134,10 +134,12 @@
····················RowSetFactory.empty().toTracking(),
····················columnSourceMap,
····················null,·//·No·need·to·pre-allocate·a·MCS
-····················LOCATION_TABLE_ATTRIBUTES)·{{
-················setFlat();
-················setRefreshing(isRefreshing);
-············}};
+····················LOCATION_TABLE_ATTRIBUTES)·{
+················{
+····················setFlat();
+····················setRefreshing(isRefreshing);
+················}
+············};
············if·(isRefreshing)·{
················rowSetModifiedColumnSet·=·includedLocationsTable.newModifiedColumnSet(ROWSET_COLUMN_NAME);
················manage(includedLocationsTable);
@@ -198,7 +200,7 @@
········Assert.assertion(includedLocationsTable.isEmpty(),·"includedLocationsTable.isEmpty()");
········//·Do·our·first·pass·over·the·locations·to·include·as·many·as·possible·and·build·the·initial·row·set
-········//noinspection·resource
+········//·noinspection·resource
········final·TrackingWritableRowSet·initialRowSet·=·update(true).toTracking();
········//·Add·single-column·data·indexes·for·all·partitioning·columns,·whether·refreshing·or·not
Run './gradlew :engine-table:spotlessApply' to fix these violations.
|
|
|
The logs for this run have expired and are no longer available.
Loading