Merge pull request #56 from qintao1976/current
Change Dstream's category to "experimental", and also make category m…
This commit is contained in:
Коммит
19372331b6
|
@ -46,7 +46,7 @@ namespace Microsoft.Spark.CSharp
|
|||
});
|
||||
}
|
||||
|
||||
[Sample("DStream")]
|
||||
[Sample("experimental")]
|
||||
internal static void DStreamTextFileSamples()
|
||||
{
|
||||
SparkContext sc = SparkCLRSamples.SparkContext;
|
||||
|
|
|
@ -210,7 +210,8 @@ namespace Microsoft.Spark.CSharp.Samples
|
|||
/// </summary>
|
||||
public bool Match(string targetCategory)
|
||||
{
|
||||
return (CATEGORY_ALL.Equals(targetCategory) || (this.category.Equals(targetCategory)));
|
||||
return (CATEGORY_ALL.Equals(targetCategory, StringComparison.OrdinalIgnoreCase)
|
||||
|| (this.category.Equals(targetCategory, StringComparison.OrdinalIgnoreCase)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче