diff --git a/velox/connectors/hive/HiveConnectorSplit.h b/velox/connectors/hive/HiveConnectorSplit.h index e13c7e43f531..1e5481c15593 100644 --- a/velox/connectors/hive/HiveConnectorSplit.h +++ b/velox/connectors/hive/HiveConnectorSplit.h @@ -28,7 +28,6 @@ struct HiveConnectorSplit : public connector::ConnectorSplit { dwio::common::FileFormat fileFormat; const uint64_t start; const uint64_t length; - std::optional properties; /// Mapping from partition keys to values. Values are specified as strings /// formatted the same way as CAST(x as VARCHAR). Null values are specified as @@ -45,6 +44,10 @@ struct HiveConnectorSplit : public connector::ConnectorSplit { /// associated with the HiveSplit. std::unordered_map infoColumns; + /// These represent file properties like file size that are used while opening + /// the file handle + std::optional properties; + HiveConnectorSplit( const std::string& connectorId, const std::string& _filePath,