nickwallen commented on a change in pull request #1458: METRON-2177 Upgrade
Profiler for HBase 2.0.2
URL: https://github.com/apache/metron/pull/1458#discussion_r306327795
##########
File path:
metron-stellar/stellar-common/src/main/java/org/apache/metron/stellar/dsl/functions/resolver/BaseFunctionResolver.java
##########
@@ -242,4 +242,18 @@ public static StellarFunction createFunction(Class<?
extends StellarFunction> cl
return null;
}
}
+
+ @Override
+ public BaseFunctionResolver withInstance(StellarFunction function) {
+ // perform function resolution on the instance that was passed in
Review comment:
Allows us to inject a `StellarFunction` instance into the set of resolved
functions.
This is what solves the problem of how do we ensure that Stellar functions
and code running in a Storm topology "see" the same underlying HBase data,
without being able to run HBase and no longer having the mock HBase logic that
existed previously.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services