Skip to content

Commit

Permalink
Merge pull request #320 from slaskhas/feature_ctx
Browse files Browse the repository at this point in the history
Passing along context to read and write calls, to support updates to …
  • Loading branch information
xitongsys committed Oct 9, 2020
2 parents 4c59bed + 072740f commit cfbbf14
Show file tree
Hide file tree
Showing 2 changed files with 1,456 additions and 1,456 deletions.
2 changes: 1 addition & 1 deletion layout/page.go
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ func (self *Page) GetValueFromRawData(schemaHandler *schema.SchemaHandler) error
func ReadPageHeader(thriftReader *thrift.TBufferedTransport) (*parquet.PageHeader, error) {
protocol := thrift.NewTCompactProtocol(thriftReader)
pageHeader := parquet.NewPageHeader()
err := pageHeader.Read(protocol)
err := pageHeader.Read(context.TODO(),protocol)
return pageHeader, err
}

Expand Down
Loading

0 comments on commit cfbbf14

Please sign in to comment.