Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADLA] - Catalog - Add stream path to USqlTableFragment #5336

Merged
merged 2 commits into from
Mar 14, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ internal static class DataLakeAnalyticsCustomizationHelper
/// This constant is used as the default package version to place in the user agent.
/// It should mirror the package version in the project.json file.
/// </summary>
internal const string PackageVersion = "3.5.0-preview";
internal const string PackageVersion = "3.5.3-preview";

internal const string DefaultAdlaDnsSuffix = "azuredatalakeanalytics.net";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ public Diagnostics()
/// <param name="severity">The severity of the error. Possible values
/// include: 'Warning', 'Error', 'Info', 'SevereWarning', 'Deprecated',
/// 'UserWarning'</param>
/// <param name="lineNumber">The line number the error occured
/// <param name="lineNumber">The line number the error occurred
/// on.</param>
/// <param name="columnNumber">The column where the error
/// occured.</param>
/// occurred.</param>
/// <param name="start">The starting index of the error.</param>
/// <param name="end">The ending index of the error.</param>
public Diagnostics(string message = default(string), SeverityTypes? severity = default(SeverityTypes?), int? lineNumber = default(int?), int? columnNumber = default(int?), int? start = default(int?), int? end = default(int?))
Expand Down Expand Up @@ -69,13 +69,13 @@ public Diagnostics()
public SeverityTypes? Severity { get; private set; }

/// <summary>
/// Gets the line number the error occured on.
/// Gets the line number the error occurred on.
/// </summary>
[JsonProperty(PropertyName = "lineNumber")]
public int? LineNumber { get; private set; }

/// <summary>
/// Gets the column where the error occured.
/// Gets the column where the error occurred.
/// </summary>
[JsonProperty(PropertyName = "columnNumber")]
public int? ColumnNumber { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public JobErrorDetails()
/// <param name="description">The error message description.</param>
/// <param name="details">The details of the error message.</param>
/// <param name="lineNumber">The specific line number in the job where
/// the error occured.</param>
/// the error occurred.</param>
/// <param name="startOffset">The start offset in the job where the
/// error was found</param>
/// <param name="endOffset">The end offset in the job where the error
Expand Down Expand Up @@ -123,7 +123,7 @@ public JobErrorDetails()
public string Details { get; private set; }

/// <summary>
/// Gets the specific line number in the job where the error occured.
/// Gets the specific line number in the job where the error occurred.
/// </summary>
[JsonProperty(PropertyName = "lineNumber")]
public int? LineNumber { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public JobStatisticsVertexStage()
/// bytes.</param>
/// <param name="duplicateDiscardCount">The number of duplicates that
/// were discarded.</param>
/// <param name="failedCount">The number of failures that occured in
/// <param name="failedCount">The number of failures that occurred in
/// this stage.</param>
/// <param name="maxVertexDataRead">The maximum amount of data read in
/// a single vertex, in bytes.</param>
Expand Down Expand Up @@ -171,7 +171,7 @@ public JobStatisticsVertexStage()
public int? DuplicateDiscardCount { get; private set; }

/// <summary>
/// Gets the number of failures that occured in this stage.
/// Gets the number of failures that occurred in this stage.
/// </summary>
[JsonProperty(PropertyName = "failedCount")]
public int? FailedCount { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public USqlIndex()
/// index</param>
/// <param name="partitionFunction">partition function ID for the
/// index.</param>
/// <param name="partitionKeyList">the list of partion keys in the
/// <param name="partitionKeyList">the list of partition keys in the
/// index</param>
/// <param name="streamNames">the list of full paths to the streams
/// that contain this index in the DataLake account.</param>
Expand Down Expand Up @@ -100,7 +100,7 @@ public USqlIndex()
public System.Guid? PartitionFunction { get; set; }

/// <summary>
/// Gets or sets the list of partion keys in the index
/// Gets or sets the list of partition keys in the index
/// </summary>
[JsonProperty(PropertyName = "partitionKeyList")]
public IList<string> PartitionKeyList { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,17 @@ public USqlTableFragment()
/// fragment.</param>
/// <param name="createDate">the creation time of the table
/// fragment.</param>
public USqlTableFragment(System.Guid? parentId = default(System.Guid?), System.Guid? fragmentId = default(System.Guid?), int? indexId = default(int?), long? size = default(long?), long? rowCount = default(long?), System.DateTimeOffset? createDate = default(System.DateTimeOffset?))
/// <param name="streamPath">the relative path for the table fragment
/// location.</param>
public USqlTableFragment(System.Guid? parentId = default(System.Guid?), System.Guid? fragmentId = default(System.Guid?), int? indexId = default(int?), long? size = default(long?), long? rowCount = default(long?), System.DateTimeOffset? createDate = default(System.DateTimeOffset?), string streamPath = default(string))
{
ParentId = parentId;
FragmentId = fragmentId;
IndexId = indexId;
Size = size;
RowCount = rowCount;
CreateDate = createDate;
StreamPath = streamPath;
CustomInit();
}

Expand Down Expand Up @@ -94,5 +97,11 @@ public USqlTableFragment()
[JsonProperty(PropertyName = "createDate")]
public System.DateTimeOffset? CreateDate { get; set; }

/// <summary>
/// Gets or sets the relative path for the table fragment location.
/// </summary>
[JsonProperty(PropertyName = "streamPath")]
public string StreamPath { get; set; }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_DataLakeAnalyti
// BEGIN: Code Generation Metadata Section
public static readonly String AutoRestVersion = "latest";
public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datalake-analytics/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=A:\\azure-sdk-for-net\\src\\SDKs";
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datalake-analytics/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\\code\\AzureSDK\\azure-sdk-for-net\\src\\SDKs";
public static readonly String GithubForkName = "Azure";
public static readonly String GithubBranchName = "master";
public static readonly String GithubCommidId = "bad3cbbc7f3bd4f2ff018ff936be010a8fd2c4bb";
public static readonly String GithubCommidId = "6a18208aed692f02215a2ea50736c0a8d5ac7329";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PropertyGroup>
<PackageId>Microsoft.Azure.Management.DataLake.Analytics</PackageId>
<Description>Provides Data Lake Analytics account, job and catalog management capabilities for Microsoft Azure.</Description>
<Version>3.5.2-preview</Version>
<Version>3.5.3-preview</Version>
<AssemblyName>Microsoft.Azure.Management.DataLake.Analytics</AssemblyName>
<PackageTags>Microsoft Azure Data Lake Analytics management;DataLakeAnalytics;Data Lake Analytics;</PackageTags>
<PackageReleaseNotes>See https://aka.ms/adladotnetsdkchangelog for release notes.</PackageReleaseNotes>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[assembly: AssemblyDescription("Provides Microsoft Azure Data Lake Analytics management operations including account, catalog and job management.")]

[assembly: AssemblyVersion("3.0.0.0")]
[assembly: AssemblyFileVersion("3.5.2.0")]
[assembly: AssemblyFileVersion("3.5.3.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Azure .NET SDK")]
Expand Down
6 changes: 6 additions & 0 deletions src/SDKs/DataLake.Analytics/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Microsoft.Azure.Management.DataLake.Analytics release notes

### Changes in 3.5.3-preview

**Notes**

- Added a property, StreamPath of type string to USqlTableFragment class

### Changes in 3.5.2-preview

**Notes**
Expand Down
6 changes: 3 additions & 3 deletions src/SDKs/_metadata/datalake-analytics_data-plane.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datalake-analytics/data-plane/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=A:\azure-sdk-for-net\src\SDKs
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is anything being generated for dataplane in this PR?
If not, please revert this file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is a dataplane related PR. The swagger spec file can be found here.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, Shouldn't be a blocker.

2018-10-16 00:38:57 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datalake-analytics/data-plane/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\code\AzureSDK\azure-sdk-for-net\src\SDKs
2019-03-08 02:43:58 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: bad3cbbc7f3bd4f2ff018ff936be010a8fd2c4bb
Commit: 6a18208aed692f02215a2ea50736c0a8d5ac7329
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283
6 changes: 3 additions & 3 deletions src/SDKs/_metadata/datalake-analytics_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ AutoRest installed successfully.
Commencing code generation
Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datalake-analytics/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=A:\azure-sdk-for-net\src\SDKs
2018-10-16 00:37:45 UTC
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datalake-analytics/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --csharp-sdks-folder=D:\code\AzureSDK\azure-sdk-for-net\src\SDKs
2019-03-08 02:42:16 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: master
Commit: bad3cbbc7f3bd4f2ff018ff936be010a8fd2c4bb
Commit: 6a18208aed692f02215a2ea50736c0a8d5ac7329
AutoRest information
Requested version: latest
Bootstrapper version: autorest@2.0.4283