Remove reference to spark protobuf Config in ViewStream

We can't read spark protobuf Config until it has been initialized,
and since ViewStream doesn't have the configServer param handy it
isn't able to initialize config if necessary. In that case, it would simply
block until config was initialized by someone else. Such a risk doesn't
seem justified for this particular configuration dependency
(DataStreamConfig.UseUncopiedNewRowsInFire). For now, its hardcoded to false.
This commit is contained in:
John Colvin committed 2024-09-18 14:02:37 +00:00
1 parent 01b9d49df2
commit 6b2a86f4f1
1 file changed
+3 -2
@@ -14,8 +14,9 @@ namespace BCG
public abstract class ViewStream : DataStream
{
private IBlueRowCollection myLastValueForTestMode;
protected bool myUseUncopiedNewRowsInFireEvent =
Configuration.get<DataStreamConfig>().UseUncopiedNewRowsInFire;
// protected bool myUseUncopiedNewRowsInFireEvent =
// Configuration.get<DataStreamConfig>().UseUncopiedNewRowsInFire;
protected bool myUseUncopiedNewRowsInFireEvent = false;
public ViewStream (ViewStream sourceStream)
: