diff --git a/velox/dwio/common/Options.cpp b/velox/dwio/common/Options.cpp index 32672da0d88d9..494d93cd21701 100644 --- a/velox/dwio/common/Options.cpp +++ b/velox/dwio/common/Options.cpp @@ -36,8 +36,8 @@ FileFormat toFileFormat(std::string s) { return FileFormat::JSON; } else if (s == "parquet") { return FileFormat::PARQUET; - } else if (s == "alpha") { - return FileFormat::ALPHA; + } else if (s == "nimble") { + return FileFormat::NIMBLE; } else if (s == "orc") { return FileFormat::ORC; } @@ -60,8 +60,8 @@ std::string toString(FileFormat fmt) { return "json"; case FileFormat::PARQUET: return "parquet"; - case FileFormat::ALPHA: - return "alpha"; + case FileFormat::NIMBLE: + return "nimble"; case FileFormat::ORC: return "orc"; default: diff --git a/velox/dwio/common/Options.h b/velox/dwio/common/Options.h index 1b54eadf940c9..64566f3a1af95 100644 --- a/velox/dwio/common/Options.h +++ b/velox/dwio/common/Options.h @@ -45,7 +45,11 @@ enum class FileFormat { TEXT = 5, JSON = 6, PARQUET = 7, +#ifdef VELOX_ENABLE_BACKWARD_COMPATIBILITY ALPHA = 8, +#else + NIMBLE = 8, +#endif ORC = 9, };