Skip to content

Commit

Permalink
Add support for uint64 columns
Browse files Browse the repository at this point in the history
  • Loading branch information
metalmatze committed Dec 8, 2023
1 parent c373f32 commit f831230
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 113 deletions.
2 changes: 2 additions & 0 deletions dynparquet/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,8 @@ func storageLayoutToParquetNode(l StorageLayout) (parquet.Node, error) {
node = parquet.Leaf(parquet.DoubleType)
case int32(schemapb.StorageLayout_TYPE_BOOL):
node = parquet.Leaf(parquet.BooleanType)
case int32(schemapb.StorageLayout_TYPE_UINT64):
node = parquet.Uint(64)
default:
return nil, fmt.Errorf("unknown storage layout type: %v", l.GetTypeInt32())
}
Expand Down
117 changes: 61 additions & 56 deletions gen/proto/go/frostdb/schema/v1alpha1/schema.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f831230

Please sign in to comment.