Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo committed May 17, 2024
1 parent 518bbdd commit cef49e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 5 additions & 0 deletions velox/dwio/parquet/reader/PageReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ namespace facebook::velox::parquet {
using thrift::Encoding;
using thrift::PageHeader;

struct __attribute__((__packed__)) Int96Timestamp {
int32_t days;
uint64_t nanos;
};

void PageReader::seekToPage(int64_t row) {
defineDecoder_.reset();
repeatDecoder_.reset();
Expand Down
1 change: 1 addition & 0 deletions velox/dwio/parquet/tests/reader/ParquetTableScanTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ class ParquetTableScanTest : public HiveConnectorTestBase {
subfieldFilters,
remainingFilter,
nullptr,
{},
isFilterPushdownEnabled)
.planNode();

Expand Down
5 changes: 0 additions & 5 deletions velox/type/Type.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@ namespace facebook::velox {

using int128_t = __int128_t;

struct __attribute__((__packed__)) Int96Timestamp {
int32_t days;
uint64_t nanos;
};

/// Velox type system supports a small set of SQL-compatible composeable types:
/// BOOLEAN, TINYINT, SMALLINT, INTEGER, BIGINT, HUGEINT, REAL, DOUBLE, VARCHAR,
/// VARBINARY, TIMESTAMP, ARRAY, MAP, ROW
Expand Down

0 comments on commit cef49e2

Please sign in to comment.