Skip to content

Commit

Permalink
Ftd optimization (#994)
Browse files Browse the repository at this point in the history
* blocking tree changes

* moved the set logic to block

* reverted back tests

* reverted back test data

* removed unused code

* added back commented code

* ftd changes

* refactor

* simplified if-else

* removed unused imports

* ftd changes

* changed absolute path

* refactored class naming

* config changes

* changed tot this()

* changes directory structure
  • Loading branch information
Nitish1814 authored Jan 3, 2025
1 parent c69adbe commit 77fdb33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void testSameBlockingTree(ZFrame<D, R, C> zFrameTest, ZFrame<D, R, C> zFr
setTestDataBaseLocation();
HashUtil<S, D, R, C, T> hashUtil = getHashUtil();
String configFile = Objects.requireNonNull(getClass().getClassLoader().getResource(TEST_DATA_BASE_LOCATION + "/" + CONFIG_FILE)).getFile();
IArguments args = new ArgumentsUtil(Arguments.class).createArgumentsFromJSON(
IArguments args = new ArgumentsUtil<Arguments>(Arguments.class).createArgumentsFromJSON(
configFile,
"");
args.setBlockSize(8);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import org.apache.spark.sql.SparkSession;
import org.apache.spark.sql.types.DataType;
import org.junit.jupiter.api.extension.ExtendWith;
import zingg.TestSparkBase;
import zingg.common.client.ZFrame;
import zingg.common.client.util.DFObjectUtil;
import zingg.common.client.util.IWithSession;
Expand All @@ -17,6 +16,7 @@
import zingg.common.core.util.HashUtil;
import zingg.spark.client.util.SparkDFObjectUtil;
import zingg.spark.client.util.SparkPipeUtil;
import zingg.spark.core.TestSparkBase;
import zingg.spark.core.block.SparkBlock;
import zingg.spark.core.util.SparkBlockingTreeUtil;
import zingg.spark.core.util.SparkHashUtil;
Expand Down

0 comments on commit 77fdb33

Please sign in to comment.