none
ADLA/U-sql compile failures on job submit: The type or namespace name 'IRowComparer' could not be found

    Question

  • Hi,

    I started seeing this yesterday morning, it went away yesterday afternoon and came back last night and still persists (all of which didn't involve any user code changes).  It looks like something is going wrong on the internal code gen which happens when I submit my script.  None of the failing lines are in my code and seem entirely like they are part of the internal codegen/compile operation.  I've also seen compile times skyrocketing for this (last instance was > 6 mins).

    Thanks!

    Severity Code Description Project File Line Suppression State
    Error E_RUNTIME_USER_EXTERNALCSHARPCODEFAILEDTOCOMPILE Error compiling C# code: "The type or namespace name 'IRowComparer' could not be found (are you missing a using directive or an assembly reference?)"
    ------
    (383)
    (384)
    (385)
    (386)
    (387)
    (388)  public class ScopeRowComparer_5 : IRowComparer
    >>> CS0246: The type or namespace name 'IRowComparer' could not be found (are you missing a using directive or an assembly reference?)
    (389)  {
    (390)   bool _isInitializedAlready = false;
    (391)   DateTime ___fileDate;
    (392)   #region IRowComparer Members
    (393)
    (394)   public bool IsSameAsPrevious(Row inputRow)
    >>> CS0246: The type or namespace name 'Row' could not be found (are you missing a using directive or an assembly reference?)
    (395)   {
    (396)    if (!_isInitializedAlready)
    (397)    {
    (398)     _isInitializedAlready = true;
    (399)     return false;
     
    [...]
     
    (405)    }
    (406)
    (407)    return true;
    (408)   }
    (409)
    (410)   public bool SetKey(Row inputRow)
    >>> CS0246: The type or namespace name 'Row' could not be found (are you missing a using directive or an assembly reference?)
    (411)   {
    (412)    if (inputRow == null)
    (413)    {
    (414)     return false;
    (415)    }
     
    [...]
     
    (425)    }
    (426)   }
    (427)
    (428)   #endregion
    (429)  }
    (430)  public class ScopeRowComparer_6 : IRowComparer
    >>> CS0246: The type or namespace name 'IRowComparer' could not be found (are you missing a using directive or an assembly reference?)
    (431)  {
    (432)   bool _isInitializedAlready = false;
    (433)   DateTime _ForecastDate;
    (434)   #region IRowComparer Members
    (435)
    (436)   public bool IsSameAsPrevious(Row inputRow)
    >>> CS0246: The type or namespace name 'Row' could not be found (are you missing a using directive or an assembly reference?)
    (437)   {
    (438)    if (!_isInitializedAlready)
    (439)    {
    (440)     _isInitializedAlready = true;
    (441)     return false;
     
    [...]
     
    (447)    }
    (448)
    (449)    return true;
    (450)   }
    (451)
    (452)   public bool SetKey(Row inputRow)
    >>> CS0246: The type or namespace name 'Row' could not be found (are you missing a using directive or an assembly reference?)
    (453)   {
    (454)    if (inputRow == null)
    (455)    {
    (456)     return false;
    (457)    }
     
    [...]
     
    (467)    }
    (468)   }
    (469)
    (470)   #endregion
    (471)  }
    (472)  public class ScopeCombinerComparer_8:ICombinerComparer<Row___fileDate_DateTime_Lat_Double_Lon_Double,Row_674D6A00A207AEE3>
    >>> CS0246: The type or namespace name 'Row___fileDate_DateTime_Lat_Double_Lon_Double' could not be found (are you missing a using directive or an assembly reference?)
    (473)  {
    (474)   public int Compare(Row___fileDate_DateTime_Lat_Double_Lon_Double left, Row_674D6A00A207AEE3 right)
    >>> CS0246: The type or namespace name 'Row___fileDate_DateTime_Lat_Double_Lon_Double' could not be found (are you missing a using directive or an assembly reference?)
    (475)   {
    (476)    int result = 0;
    (477)    if ((result = ColumnDataComparer.Compare((left.__fileDate.DateTime),(right.ForecastDate.DateTime))) != 0)
    (478)    {
    (479)     return result;
    (480)    }
    (481)    return result;
    (482)   }
    (483)  }
    (484)   [ScopeAnnotation(@"OriginalClassName",@"OpenAvalancheProject.Pipeline.Usql.Udos.CombinerNearestStation")]
    >>> CS0246: The type or namespace name 'ScopeAnnotation' could not be found (are you missing a using directive or an assembly reference?)
    (485)   [ScopeAnnotation(@"OriginalAssemblyName",@"OpenAvalancheProject.Pipeline.Usql.Udos.dll")]
    >>> CS0246: The type or namespace name 'ScopeAnnotation' could not be found (are you missing a using directive or an assembly reference?)
    (486)   public class ScopeCombineWrapper_7 : ScopeCombiner< Row___fileDate_DateTime_Lat_Double_Lon_Double, Row_674D6A00A207AEE3, ScopeRowComparer_5, ScopeRowComparer_6, ScopeCombinerComparer_8, OpenAvalancheProject.Pipeline.Usql.Udos.CombinerNearestStation, KeyEnumerator < Row___fileDate_DateTime_Lat_Double_Lon_Double>, KeyEnumerator < Row_674D6A00A207AEE3> >
    >>> CS0246: The type or namespace name 'Row___fileDate_DateTime_Lat_Double_Lon_Double' could not be found (are you missing a using directive or an assembly reference?)
    (487)   {
    (488)   protected override OpenAvalancheProject.Pipeline.Usql.Udos.CombinerNearestStation CreateCombiner() { return new OpenAvalancheProject.Pipeline.Usql.Udos.CombinerNearestStation(); }
    (489)   protected override bool SkipEmptyLeft { get { return true; } }
    (490)   }
    (491)
     OpenAvalancheProject.Pipeline.Usql D:\src\GitHub\OpenAvalancheProject\WebApp\OpenAvalancheProject.Pipeline.USql\AdHocScripts\LoadDailyTrainingData.usql -7 

    Tuesday, September 25, 2018 3:25 PM

All replies