Skip to content

Commit

Permalink
Store PValue in FoR metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Jan 1, 2025
1 parent 4e1fb1d commit 6f5a88b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vortex-scalar/src/serde/serde.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ impl<'de> Deserialize<'de> for PValue {
D: Deserializer<'de>,
{
ScalarValue::deserialize(deserializer)
.and_then(|scalar| scalar.0.as_pvalue().map_err(|e| Error::custom(e)))
.and_then(|scalar| scalar.0.as_pvalue().map_err(Error::custom))
.and_then(|pvalue| {
pvalue.ok_or_else(|| Error::custom("Expected a non-null primitive scalar value"))
})
Expand Down

0 comments on commit 6f5a88b

Please sign in to comment.