Skip to content

Commit

Permalink
Merge pull request #1015 from sania-16/mappings
Browse files Browse the repository at this point in the history
Working Changes PR
  • Loading branch information
sania-16 authored Jan 22, 2025
2 parents b8c2a9f + c456e9d commit 4400d09
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,11 @@ default ZFrame<D,R,C> preprocess(ZFrame<D,R,C> df) throws ZinggClientException {
for(IPreprocType o: getPreprocOrder().getOrder()){
//creating new instance of the class
IPreprocessor<S,D,R,C,T> ip = getPreprocMap().get(o).getDeclaredConstructor().newInstance();
LOG.info("trying preproc " + ip);
//setting context and field defn
ip.setContext(getContext());
ip.init();
ip.setFieldDefinition(def);
dfp = ip.preprocess(dfp);
LOG.info("after preproc ");
dfp.show();
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import zingg.common.client.IArguments;
import zingg.common.client.ZFrame;
import zingg.common.client.ZinggClientException;
import zingg.common.client.ZinggClientException;
import zingg.common.client.util.ColName;
import zingg.common.core.context.IContext;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public TestPreprocessors(DFObjectUtil<S, D, R, C> dfObjectUtil, Context<S, D, R,
public void TestPreprocessorsFlow() throws ZinggClientException, Exception{
IArguments args = new Arguments();
List<FieldDefinition> fieldDefs = new ArrayList<FieldDefinition>();
String stopWordsFileName1 = Objects.requireNonNull(TestPreprocessors.class.getResource("../../../../preprocess/stopwords/stopWords.csv")).getFile();
String stopWordsFileName1 = Objects.requireNonNull(TestPreprocessors.class.getResource("../../../../preProcess/stopwords/stopWords.csv")).getFile();
FieldDefinition fieldDefinition1 = new FieldDefinition();
fieldDefinition1.setStopWords(stopWordsFileName1);
fieldDefinition1.setFieldName("field1");
Expand Down
2 changes: 1 addition & 1 deletion perf_test/perf_test_report/loadTestReport
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
******************************** perf test report, 2025-01-19, 01:56:18 ********************************
******************************** perf test report, 2025-01-22, 01:21:14 ********************************

------------ Test bed details ------------
Load samples: 65_samples 120k_samples 5m_samples
Expand Down

0 comments on commit 4400d09

Please sign in to comment.