Skip to content

Commit

Permalink
Merge pull request #3052 from gchq/3051-refactor-partition-splitting
Browse files Browse the repository at this point in the history
Issue 3051 - Refactor partition splitting
  • Loading branch information
patchwork01 authored Aug 12, 2024
2 parents f105e2c + 01a68ec commit dd4445a
Show file tree
Hide file tree
Showing 23 changed files with 380 additions and 295 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
import sleeper.core.partition.Partition;
import sleeper.core.schema.Field;
import sleeper.core.statestore.StateStore;
import sleeper.splitter.SplitPartition;
import sleeper.splitter.split.SplitPartition;
import sleeper.statestore.StateStoreFactory;

import java.util.ArrayList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
import sleeper.configuration.properties.table.TableProperties;
import sleeper.core.partition.Partition;
import sleeper.core.statestore.StateStore;
import sleeper.splitter.SplitPartition;
import sleeper.splitter.split.SplitPartition;
import sleeper.statestore.StateStoreFactory;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import sleeper.configuration.properties.instance.InstanceProperties;
import sleeper.configuration.properties.table.TablePropertiesProvider;
import sleeper.query.model.QuerySerDe;
import sleeper.splitter.SplitPartitionJobDefinitionSerDe;
import sleeper.splitter.find.SplitPartitionJobDefinitionSerDe;
import sleeper.task.common.QueueMessageCount;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
import sleeper.core.schema.Field;
import sleeper.core.schema.Schema;
import sleeper.core.statestore.FileReference;
import sleeper.splitter.FindPartitionsToSplit;
import sleeper.splitter.PartitionSplitCheck;
import sleeper.splitter.find.FindPartitionsToSplit;
import sleeper.splitter.find.PartitionSplitCheck;

import java.util.List;
import java.util.Set;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package sleeper.splitter;
package sleeper.splitter.find;

import sleeper.core.partition.Partition;
import sleeper.core.statestore.FileReference;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package sleeper.splitter;
package sleeper.splitter.find;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package sleeper.splitter;
package sleeper.splitter.find;

import sleeper.configuration.properties.table.TableProperties;
import sleeper.core.statestore.FileReference;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package sleeper.splitter;
package sleeper.splitter.find;

import sleeper.core.partition.Partition;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package sleeper.splitter;
package sleeper.splitter.find;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
Expand Down
Loading

0 comments on commit dd4445a

Please sign in to comment.