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-10-14 17:21:46 +00:00
1 parent 0382d5de3b
commit 490e425fc3
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)
: