Skip to content

Commit

Permalink
revert temp debug change to error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Mar 14, 2019
1 parent 6457c36 commit e8aa784
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions rust/parquet/src/reader/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ impl ParquetTypeConverter {
PhysicalType::DOUBLE => Ok(DataType::Float64),
PhysicalType::BYTE_ARRAY => self.to_byte_array(),
other => Err(ArrowError(format!(
"Unable to convert parquet type d {}",
"Unable to convert parquet type {}",
other
))),
}
Expand All @@ -198,7 +198,7 @@ impl ParquetTypeConverter {
LogicalType::INT_16 => Ok(DataType::Int16),
LogicalType::INT_32 => Ok(DataType::Int32),
other => Err(ArrowError(format!(
"Unable to convert parquet logical type a {}",
"Unable to convert parquet logical type {}",
other
))),
}
Expand All @@ -210,7 +210,7 @@ impl ParquetTypeConverter {
LogicalType::INT_64 => Ok(DataType::Int64),
LogicalType::UINT_64 => Ok(DataType::UInt64),
other => Err(ArrowError(format!(
"Unable to convert parquet logical type b {}",
"Unable to convert parquet logical type {}",
other
))),
}
Expand All @@ -221,7 +221,7 @@ impl ParquetTypeConverter {
LogicalType::NONE => Ok(DataType::Utf8),
LogicalType::UTF8 => Ok(DataType::Utf8),
other => Err(ArrowError(format!(
"Unable to convert parquet logical type c {}",
"Unable to convert parquet logical type {}",
other
))),
}
Expand Down

0 comments on commit e8aa784

Please sign in to comment.