-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
abb5c4a
commit 6565142
Showing
3 changed files
with
60 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,15 +25,13 @@ jobs: | |
runs-on: windows-latest | ||
steps: | ||
- name: Check out Git repository | ||
uses: actions/checkout@v3 | ||
- name: Set up .NET | ||
uses: actions/setup-dotnet@v1 | ||
uses: actions/checkout@v4 | ||
with: | ||
dotnet-version: '8.0.x' | ||
dotnet-quality: 'ga' | ||
# super-linter needs the full git history to get the | ||
# list of files that changed across commits | ||
fetch-depth: 0 | ||
- name: Run linters | ||
uses: wearerequired/lint-action@v2 | ||
uses: super-linter/[email protected] # x-release-please-version | ||
with: | ||
dotnet_format: true | ||
continue_on_error: true | ||
check_name: ${linter} run | ||
VALIDATE_ALL_CODEBASE: false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright (c) 2012-2023 Snowflake Computing Inc. All rights reserved. | ||
*/ | ||
|
||
using System.Text; | ||
using System.Collections.Generic; | ||
using Google.Cloud.Storage.V1; | ||
using System; | ||
|
||
namespace Snowflake.Data.Core | ||
{ | ||
public class LinterTestFile | ||
{ | ||
internal ResultFormat ResultFormat { get; } | ||
|
||
public int RowCount { get; protected set; } | ||
|
||
public int ColumnCount { get; protected set; } | ||
|
||
public int ChunkIndex { get; protected set; } | ||
|
||
internal int CompressedSize; | ||
|
||
internal int UncompressedSize; | ||
|
||
internal string Url { get; set; } | ||
|
||
internal string[,] RowSet { get; set; } | ||
|
||
public int GetRowCount() => RowCount; | ||
|
||
public int GetChunkIndex() => ChunkIndex; | ||
|
||
internal virtual void ResdDset(ExecResponseChunk chunkInfo, int chunkIndex) | ||
{ | ||
RowCount = chunkInfo.rowCount; | ||
Url = chunkInfo.url; | ||
ChunkIndex = chunkIndex; | ||
CompressedSize = chunkInfo.compressedSize; | ||
UncompressedSize = chunkInfo.uncompressedSize; | ||
} | ||
|
||
internal virtual void ResetForRetry() | ||
{ | ||
} | ||
|
||
public void something() | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters