Skip to content

Commit

Permalink
[nimble] Rename a missed enum and a bit more (#22577)
Browse files Browse the repository at this point in the history
Summary:
X-link: facebookincubator/nimble#30


X-link: facebookincubator/velox#9549

Found some enums that were left behind during the rename.

Reviewed By: sdruzkin

Differential Revision: D56370309
  • Loading branch information
helfman authored and facebook-github-bot committed Apr 22, 2024
1 parent 17a6feb commit a5fbef0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ dwio::common::FileFormat toVeloxFileFormat(
return dwio::common::FileFormat::JSON;
}
} else if (format.inputFormat == "com.facebook.alpha.AlphaInputFormat") {
return dwio::common::FileFormat::ALPHA;
return dwio::common::FileFormat::NIMBLE;
}
VELOX_UNSUPPORTED(
"Unsupported file format: {} {}", format.inputFormat, format.serDe);
Expand Down Expand Up @@ -880,7 +880,7 @@ dwio::common::FileFormat toFileFormat(
case protocol::HiveStorageFormat::PARQUET:
return dwio::common::FileFormat::PARQUET;
case protocol::HiveStorageFormat::ALPHA:
return dwio::common::FileFormat::ALPHA;
return dwio::common::FileFormat::NIMBLE;
default:
VELOX_UNSUPPORTED(
"Unsupported file format in {}: {}.",
Expand Down Expand Up @@ -1468,4 +1468,4 @@ std::unique_ptr<protocol::ConnectorProtocol>
TpchPrestoToVeloxConnector::createConnectorProtocol() const {
return std::make_unique<protocol::TpchConnectorProtocol>();
}
} // namespace facebook::presto
} // namespace facebook::presto

0 comments on commit a5fbef0

Please sign in to comment.