cleanup: Remove last vestiges of spark proto config from DataStreamCore
This commit is contained in:
1 parent
8f3fa18bca
commit
c4a6b4591d
8 files changed
+5
-39
No files matched your search
@@ -157,7 +157,7 @@ namespace BCG
|
||||
private ViewStream myParentStream;
|
||||
private string myFilterString;
|
||||
private BCG.StreamWorld.Addition.FilterStream myFilterStream;
|
||||
private bool myUseNewFilter = Configuration.get<DataStreamConfig>().UseNewFilter;
|
||||
private bool myUseNewFilter = false;
|
||||
|
||||
#region constructors
|
||||
public delegate bool OnFilter(IBlueRow r);
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace BCG {
|
||||
public class MapStream : MethodDrivenStream {
|
||||
protected IStreamMapper? myMapper;
|
||||
protected IChangeableStreamMapper? myChangeableMapper;
|
||||
private bool myUseNewMap = Configuration.get<DataStreamConfig>().UseNewMap;
|
||||
private bool myUseNewMap = false;
|
||||
|
||||
public class FuncWrapper : IStreamMapper {
|
||||
private Func<IBlueTableSchema, IBlueTableSchema> _schema_map_func;
|
||||
|
||||
@@ -75,16 +75,7 @@ namespace BCG
|
||||
{
|
||||
IDictionary<string, string> origToAlias = new Dictionary<string, string>();
|
||||
|
||||
ColumnMapExpression e;
|
||||
if (Configuration.get<DataStreamConfig>().UseStaticParser)
|
||||
{
|
||||
e = ColumnMapExpression.Parse(exp);
|
||||
}
|
||||
else
|
||||
{
|
||||
// TODO (maybe): Actually use non-static parser (unclear what advantages it will have)
|
||||
e = ColumnMapExpression.Parse(exp);
|
||||
}
|
||||
var e = ColumnMapExpression.Parse(exp);
|
||||
if (e.IsInclusive) {
|
||||
origToAlias = e.Columns.ToDictionary();
|
||||
origToAlias["id"] = "id";
|
||||
|
||||
Reference in new issue
Block a user