Skip to content

Commit 0fc1561

Browse files
committed
format
1 parent 98acb50 commit 0fc1561

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

compress/gzip.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !no_gzip
12
// +build !no_gzip
23

34
package compress

compress/lz4.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !no_lz4
12
// +build !no_lz4
23

34
package compress

compress/snappy.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !no_snappy
12
// +build !no_snappy
23

34
package compress

compress/zstd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//go:build !no_zstd
12
// +build !no_zstd
23

34
package compress

marshal/unmarshal.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func Unmarshal(tableMap *map[string]*layout.Table, bgn int, end int, dstInterfac
115115
for i := bgn; i < end; i++ {
116116
rl, dl, val := table.RepetitionLevels[i], table.DefinitionLevels[i], table.Values[i]
117117
po, index := root, prefixIndex
118-
OuterLoop:
118+
OuterLoop:
119119
for index < len(path) {
120120
schemaIndex := schemaIndexs[index]
121121
_, cT := schemaHandler.SchemaElements[schemaIndex].Type, schemaHandler.SchemaElements[schemaIndex].ConvertedType
@@ -173,7 +173,7 @@ OuterLoop:
173173
po.Set(reflect.MakeMap(poType))
174174
}
175175

176-
mapRec, ok := mapRecords[po];
176+
mapRec, ok := mapRecords[po]
177177
if !ok {
178178
mapRec = &MapRecord{
179179
KeyValues: []KeyValue{},
@@ -229,7 +229,7 @@ OuterLoop:
229229
if prevType != poType || name != prevFieldName {
230230
prevType = poType
231231
prevFieldName = name
232-
f, _ := prevType.FieldByName(name)
232+
f, _ := prevType.FieldByName(name)
233233
prevFieldIndex = f.Index
234234
}
235235
po = po.FieldByIndex(prevFieldIndex)

tool/parquet-tools/parquet-tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func main() {
113113
if cnt > 1000 {
114114
cnt = 1000
115115
}
116-
116+
117117
err = pr.SkipRows(*skipCount)
118118
if err != nil {
119119
fmt.Fprintf(os.Stderr, "Can't skip[: %s\n", err)

0 commit comments

Comments
 (0)